Enterprise J2ME Developing Mobile Java Applications [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Enterprise J2ME Developing Mobile Java Applications [Electronic resources] - نسخه متنی

Michael Juntao Yuan

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید



B.4 Run Java Applications on the PocketPC Device


With the J9 VM and runtime libraries installed, we can now copy Java applications (JAR files or JXE files) to the device. To run Java applications on the PocketPC, follow these three easy steps:


Build a windows link file: On you desktop PC, use any text editor (e.g., the NotePad) to create a text a file with the Ink extension name. The content of the file is a single command line. For example, the following command line (without line break) starts a Personal Profile application from a JAR file myApp.jar.


123#"\WSDD\j9.exe" -jcl:foun
"-Xbootclasspath:\WSDD\lib\jclFoundation\classes.zip;
\myApp.jar" "com.enterprisej2me.test" -console "Launch"

Copy the link file to the device: Use ActiveSync to the copy the link file. The link file will have a J9 icon when viewed from the device.

Execute the command in the link file: Simply tap on the link file to start the VM and execute the command. All log messages will appear in a console window in the background.


Note

PocketPC limits the maximum size of a link file to 255 bytes. A longer file is not recognized as a link even if it has the lnk file extension. The WSDD IDE could help build the link file for your projects.


/ 204