freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于java的游戲設(shè)計(jì)-資料下載頁(yè)

2025-06-27 18:15本頁(yè)面
  

【正文】 etooth and OBEX environment using the Bluetooth/OBEX tab in the toolkit preferences. This controls such parameters as how long the emulator attempts to discover other devices in the simulated Bluetooth environment and the maximum packet size. See the toolkit39。s User39。s Guide for more details. Local Files and Personal InformationThe J2ME Wireless Toolkit supports JSR 75, the PDA Optional Packages for the J2ME Platform, which also includes two independent APIs:The FileConnection API gives MIDlets access to a local file system on the device. The Personal Information Management (PIM) optional package includes APIs for manipulating contact lists, calendars, and todo lists. A real device may have a local file system which can be accessed using the FileConnection API. In the J2ME Wireless Toolkit emulator, a simulated file system is maintained as a directory on your hard disk. The files your application can access using FileConnection are stored in subdirectories of toolkit\appdb\skin\filesystem., where toolkit is the installation directory of the J2ME Wireless Toolkit and skin is the name of the emulator skin. For example, the DefaultColorPhone emulator skin es with a root directory installed called root1, which contains a file called Readme. The file39。s full path is toolkit\appdb\DefaultColorPhone\filesystem\root1\Readme. You can manage the root directories that are available by choosing MIDlet External events from the emulator window39。s menu. You39。ll see a small utility window for adding and removing roots. These actions will also generate events for a registered listener object. In a real device, personal information might be stored in a proprietary format in memory. The emulator uses a directory on your hard disk to contain this information, accessible using the PIM API. All information is stored in toolkit\appdb\pim. Lists are stored in subdirectories of the contacts, events, and todo directories. For example, a contact list called Contacts is contained in toolkit\ appdb\ pim\ contacts\ Contacts. Inside the list directory, items are stored in standard formats specified by the Internet Mail Consortium. Contacts are stored in vCard format, while calendar and todo items are both stored in vCalendar format. SummaryThe J2ME Wireless Toolkit is much more than an incremental update of an excellent tool. It includes support for four exciting new specifications that together define six new APIs. As the world of wireless Java technology rapidly evolves, the J2ME Wireless Toolkit keeps pace and contains all the tools you need for About the Author: Jonathan Knudsen [] [home page] is the author of several books, including Wireless Java (second edition), The Unofficial Guide to LEGO MINDSTORMS Robots, Learning Java (second edition), and Java 2D Graphics. Jonathan has written extensively about Java and Lego robots, including articles for JavaWorld, EXE, NZZ Folio, and the O39。Reilly Network. Jonathan holds a degree in mechanical engineering from Princeton University.附錄B J2ME Wireless Toolkit 新改進(jìn)作者:Jonathan Knudsen2004 年 6 月屢獲殊榮的 J2ME Wireless Toolkit 已經(jīng)成為 J2ME 開(kāi)發(fā)應(yīng)用程序的事實(shí)標(biāo)準(zhǔn)工具包。自從 2000 年初次亮相以來(lái),該工具包一直在發(fā)展以趕上移動(dòng) Java 技術(shù)外觀上快速改變的步伐。不要被從 版本以來(lái)的小改變所誤導(dǎo)。新的工具包在四個(gè)重要的領(lǐng)域支持 Java Community Process (JCP) 所指定的新的可選 API:3D 圖形、多媒體通信、藍(lán)牙連網(wǎng)(Bluetooth networking)和數(shù)據(jù)管理。本文將描述這些新的 API 并且向您展示如何在工具包中實(shí)現(xiàn)他們。在這之前,讓我們贊美一下更新后的 DefaultColorPhone 模擬器皮膚,自從 版本以來(lái),該皮膚已有了一個(gè)更大的屏幕(320 x 240, 或 QVGA)和更多的顏色(4096 色而不是 256 色)。移動(dòng) 3D 圖形JSR 184, 即 Mobile 3D 圖形 API for J2ME (M3G) 在一個(gè)集成軟件包中提供了三維圖形功能,適用于支持最為廣泛采用的 J2ME 軟件棧、有限連接設(shè)備配置(CLDC)和移動(dòng)信息設(shè)備描述(MIDP)的設(shè)備。API 為顯示 3D 內(nèi)容提供了兩種 API。立即模式 API 使應(yīng)用程序能夠直接創(chuàng)建和操縱 3D 元素。這一層之上是一個(gè)場(chǎng)景圖 API,也稱(chēng)為保留模式,能夠提早加載并顯示已設(shè)計(jì)的整個(gè) 3D 場(chǎng)景。應(yīng)用程序可以采用最適合的 API,或保留模式與立即模式的組合。JSR 184 規(guī)范還為場(chǎng)景圖定義了一種文件格式-.m3g。該工具包的模擬器全面支持 JSR 184,并且有幾個(gè) MIDlet 展示了 API 在 Demo3D 項(xiàng)目中的功能。Life3D 演示了立即模式的使用。PogoRoo 是一個(gè)的交互的演示,特點(diǎn)是顯示一只跳躍的袋鼠:多媒體通信J2ME Wireless Toolkit 長(zhǎng)期支持 JSR 1Wireless Messaging API(WMA);新版本支持 WMA (JSR 205),其把 WMA 的功能擴(kuò)展到包括多媒體通信。在工具包中,通信發(fā)生于模擬的環(huán)境中。如果多次運(yùn)行模擬器,模擬器上的應(yīng)用程序能夠相互通信,并且可以使用工具包方便的 WMA Console 實(shí)用程序在同一環(huán)境中與應(yīng)用程序交換消息。通信可以遵照以下三種標(biāo)準(zhǔn)協(xié)議之一:短消息服務(wù)(Short Message Service,SMS)、蜂窩廣播服務(wù)(Cell Broadcast Service,CBS)或工具包 版本中的新協(xié)議-多媒體通信服務(wù)(MMS)。您可以標(biāo)記 MMS 消息,并向消息添加任何文件集合。 而且,現(xiàn)在網(wǎng)絡(luò)監(jiān)視器能夠顯示模擬器發(fā)送或接收的 MMS 消息。藍(lán)牙和 OBEXJ2ME Wireless Toolkit 模擬器支持 JSR 82,即 Java API for Bluetooth,包括兩個(gè)獨(dú)立的 API:藍(lán)牙 API 為藍(lán)牙無(wú)線網(wǎng)絡(luò)提供了接口,包括設(shè)備恢復(fù)和數(shù)據(jù)交換。OBEX API 允許應(yīng)用程序在藍(lán)牙或其他通信信道上使用對(duì)象交換(Object Exchange,OBEX)協(xié)議。該工具包允許在即使沒(méi)有實(shí)際藍(lán)牙硬件的情況下,也可以開(kāi)發(fā)和測(cè)試采用藍(lán)牙技術(shù)的應(yīng)用程序。該工具包模擬藍(lán)牙環(huán)境,您可以在該環(huán)境中運(yùn)行可相互發(fā)現(xiàn)的多個(gè)模擬器實(shí)例和使用藍(lán)牙 API 交換數(shù)據(jù)。應(yīng)用程序?qū)嵗?BluetoothDemo 顯示了如何從一個(gè)模擬器將圖像傳輸?shù)搅硪粋€(gè)模擬器。J2ME Wireless Toolkit 通過(guò)模擬的藍(lán)牙和紅外連接上實(shí)現(xiàn) OBEX 傳輸。模擬的紅外連接遵循 Infrared Data Association 定義的 IrDA 標(biāo)準(zhǔn)。工具包在多個(gè)運(yùn)行的模擬器之間模擬紅外傳輸。您可以使用工具包參數(shù)中的 Bluetooth/OBEX 標(biāo)簽來(lái)配置藍(lán)牙和 OBEX 環(huán)境。其控制了諸如模擬器在模擬的藍(lán)牙環(huán)境中試圖用多長(zhǎng)時(shí)間去發(fā)現(xiàn)其他設(shè)備,以及最大數(shù)據(jù)包大小等參數(shù)。請(qǐng)參見(jiàn)工具包的用戶(hù)指南獲取更多的詳細(xì)信息。本地文件和個(gè)人信息J2ME Wireless Toolkit 支持 JSR 75,即 PDA Optional Packages for the J2ME Platform,它也包括兩個(gè)獨(dú)立的 API:FileConnection API 提供了 MIDlet 對(duì)設(shè)備上本地文件系統(tǒng)的訪問(wèn)。Personal Information Management (PIM) 可選軟件包包括用于操縱聯(lián)系人列表、日程安排和計(jì)劃列表的 API。一臺(tái)真實(shí)的設(shè)備可能有一個(gè)能通過(guò)使用 FileConnection API 訪問(wèn)的本地文件系統(tǒng)。在 J2ME Wireless Toolkit 模擬器中,模擬的文件系統(tǒng)作為硬盤(pán)上的一個(gè)目錄存在。應(yīng)用程序使用 FileConnection 可訪問(wèn)的文件都存放在子目錄 toolkit\appdb\skin\,此處 toolkit 是 J2ME Wireless Toolkit 的安裝目錄,skin 是模擬器皮膚的名稱(chēng)。例如,DefaultColorPhone 模擬器皮膚隨安裝根目錄 root1 而產(chǎn)生,包含一個(gè) Readme 文件。文件的完整路徑為toolkit\appdb\DefaultColorPhone\filesystem\root1\Readme。您可以從模擬器窗口的菜單種選擇 MIDlet External events 來(lái)管理可用的根目錄。您將看到一個(gè)添加和刪除根目錄的小的實(shí)用程序窗口。這些操作也將為 registered listener 對(duì)象生成事件。在真實(shí)的設(shè)備上,個(gè)人信息可能以專(zhuān)有格式存儲(chǔ)在內(nèi)存中。模擬器使用硬盤(pán)中的一個(gè)目錄來(lái)存放這些信息,可使用 PIM API 來(lái)訪問(wèn)。所有的信息存儲(chǔ)在 toolkit\appdb\pim 目錄中。列表存儲(chǔ)在聯(lián)系人、事件和計(jì)劃目錄的子目錄中。例如,聯(lián)系人列表 Contacts 位于 toolkit\appdb\pim\contacts\Contacts 目錄中。在列表目錄內(nèi),列表項(xiàng)以 Internet Mail Consortium 指定的標(biāo)準(zhǔn)格式存儲(chǔ)。聯(lián)系人以 vCard 格式存儲(chǔ),日歷和計(jì)劃項(xiàng)都以 vCalendar 格式存儲(chǔ)。結(jié)束語(yǔ)J2ME Wireless Toolkit 不僅僅是一個(gè)出色工具的增量更新。它包括了對(duì)令人激動(dòng)的四項(xiàng)新規(guī)范的支持,同時(shí)定義了六種新的 API。隨著無(wú)線 Java 技術(shù)世界的快速發(fā)展,J2ME Wireless Toolkit 緊緊跟隨發(fā)展的步伐并且包含您所需的全部工具。關(guān)于作者Jonathan Knudsen[電子郵件] [主頁(yè)],有多本著作,包括:Wireless Java (second edition)、The Unofficial G
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1