Documente Academic
Documente Profesional
Documente Cultură
Hiroyuki Akimoto
Contents
Mobile Java
We can run Java program in our mobile device (such as mobile phone, PDA).
http://www.nokia.com/phones/9210/demo/intro_and_guide.html
about J2ME
Business applications. General applications (In this lecture, using this platform).
about J2ME
Floating Point Finalize Thread Group Java Native Interface (JNI) Reflection Weak References
J2SE
J2ME Floating Point
Maker NTT DoCoMo Adopt NTT DoCoMo company in Japan Foreign adopt None company
Easy to understand
Simple User Inter Face structure Complex User Inter Face structure Simple data storage architecture Able to ring sound Storage like a simple data base Enable to ring sound (but companies overcome this problem to extend original API)
Detail of i-appli
DoCoMo 503, 504, 505,.. 900, FOMA Limited capacity 503i 10Kbyte 504i 30Kbyte 505,506 100K 900 300K Nonvolatile Memory Size 503i 10Kbyte 504i 100Kbyte 505i 300K 900 - 500-1M Applications can connect to only downloaded server
API
JavaTM 2 SDK, Standard Edition Version 1.3.0 or later CLDC J2ME Wireless SDK for the DoJa i-jade popular emulator to run i-appli
Emulator
Flow of development
Compile Preverify
%>javac filename
%>preverify classfile
Compile
%javac bootclasspath CLDCAPI classpath DoJaAPI HelloWorld.java %java jar i-jade.jar %preverify classpath CLDCAPI:DoJaAPI d . HelloWorld %jar cfM HelloWorld.jar HelloWorld.class HelloCanvas.class
Preverify
If you have DoCoMos 503i, 504i phone, or above, you can visit this url and download this application.
<html> <OBJECT declare id=iappli data=HelloWorld.jam type=application/x-jam> </OBJECT> <A ijam=#iappli href=index.htm>My First i-appli</A> </html>
References
J2ME Technologies (English) http://java.sun.com/j2me/ Java Technologies for WIRELESS (Japanese) http://jdc.sun.co.jp/wireless/ i-appli Specification (Japanese) http://www.nttdocomo.co.jp/p_s/imode/java/index.html i-jade (Japanese) http://www.zentek.com/i-JADE/ja/ Tutorial to make i-appli (Japanese) http://www.kajas.com/tutorial/index.html Amateur creaters i-appli search site (Japanese) http://www.kajas.com/