pokz | Date: Sunday, 2012-03-11, 4:10 PM | Message # 1 |
Private
Group: Administrators
Messages: 18
Status: Offline
| J2ME SDK Mobile
Manual
Java 2 Platform, Micro Edition Software Development Kit for Mobile - (IDE) Java. Java- - ! , J2ME SDK Mobile 1.0 J2ME . . "Hello", "Hello World" .
, J2ME (CLDC-1.1 / MIDP-2.0) JSR75 ( Siemens-JSR75). , , J2ME SDK Mobile. : http://mumey.wen.ru/sdk/J2ME_SDK_Mobile.jar.
J2ME 1. J2ME SDK Mobile New Project. * , - , Options. Hot Keys . 2. Hello (Project Name). 3. Project Location ( Browse, ). , , J2ME SDK Mobile. * j2mesdkprojects, . 4. - Create. .../j2mesdkprojects/Hello. . 5. , Hello . Open Source Package ( , ). 6. - New, File Types MIDlet Next. 7. (MIDlet Name) Hello, (Class Name) HelloWorld. Finish. HelloWorld.java. 8. , Source Editor'a HelloWorld.java.
Java , . , , "Hello, World!" . 1. ( ) . * Enter ( FIRE). 2. - Menu ( ) Edit Line. 3. Save . 4. , , :
import javax.microedition.midlet.*; import javax.microedition.lcdui.*;
public class HelloWorld extends MIDlet{
public void startApp(){ Form form = new Form(""); form.append("Hello, World!"); Display.getDisplay(this).setCurrent(form); }
public void pauseApp(){ }
public void destroyApp(boolean unconditional){ } }
5. Menu > Save All, .
1. Build. Output . . * (Autorun Error), Next SDK . ** Siemens '*' - . 2. Output . , SDK. 3. , Output . ... 4. Jar- . ( Output). , BUILD SUCCESSFUL... , . 5. BUILD FAILED...
1. , SDK .../j2mesdkprojects/Hello/dist/, Hello.jar Hello.jad . 2. J2ME . 3. , , .
© Mumey
|
|
| |
pokz | Date: Sunday, 2012-03-11, 4:19 PM | Message # 2 |
Private
Group: Administrators
Messages: 18
Status: Offline
| Java-Janino: A. Java, "ISO-8859-1" "UTF-8", . java; Two. Janino; Three. "-Sourcepath <input-dir>" ,: 0 :/ Misc / src Four. "-D <output-dir>" -,: 0 :/ Misc / classes Five. "-Encoding" (),: UTF-8 * ** UTF-8 (!) ; 6. "-Classpath <dir>" (), . July. "-Bootclasspath <dir>" () . *, "-Classpath <dir>" August. "Compile" . September. ,, .
Java: A. Janino,; Two. -, Preverifier; * ! Three. Jar-JarBuilder. Java.
|
|
| |
pokz | Date: Sunday, 2012-03-11, 4:32 PM | Message # 3 |
Private
Group: Administrators
Messages: 18
Status: Offline
| J2ME SDK Mobile 1.0
Credits sa Author
Tools: Jasmin Assembler Jasmin Disassembler Janino Compiler Preverifier Mini commander JClazzME
Kayo na po bahala pag-aralan kung panu gamitin compilers and disassembers lang naman po...
JASMIN INSTRUCTIONS (http://jasmin.sourceforge.net/instructions.html) JASMIN USER GUIDE (http://jasmin.sourceforge.net/guide.html)
|
|
| |
pokz | Date: Sunday, 2012-03-11, 6:18 PM | Message # 4 |
Private
Group: Administrators
Messages: 18
Status: Offline
| Janino The description: Janino is a Java-compiler, which Allows to compile the initial text Java-programs in class-files directly on Mobile phone without use Computer. Janino has been collected by me on the basis of one of Utilities The same program. Скачать Janino v1.0 (386.07 KB) JAD To discuss at a forum The documentation: Manual - the help information on work with Program Janino; Examples.zip (4.23 KB) - examples of the elementary програм on Java. Utilities: For what compiled class- Files Java could be executed on Mobile phone - it is necessary to execute преверификацию. For this purpose I have collected Program Preverifier which carries out преверификацию. (attention! Without преверификации programs (it is more complex ' HelloWorld ') to work on mobile NOT WILL BE!!!) Preverifier v2.0 (117.04 KB) JAD For convenience of creation of a Jar-file, I have written Utility JarBuilder which allows Automatically to collect Jar-арихв and To create a Jad-file. JarBuilder v1.0 (36.62 KB) JAD
|
|
| |