workshop 1 mobile application development · java settings the java build settings. source pr*cts...
TRANSCRIPT
![Page 1: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/1.jpg)
Workshop 1st
Mobile Application Development with
Eclipse and blackberry
by Anantakul Intarapadung Ph.D.
![Page 2: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/2.jpg)
Implementation techniques
1. JDK : java_ee_sdk-6u3-jdk-windows.exe available :
http://java.sun.com/javase/downloads/index.jsp
2. BlackBerry_JDE_PluginFull_1.0.0.67.exe available :
http://us.blackberry.com/developers/javaappdev/devtools.jsp
![Page 3: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/3.jpg)
Create your first Java program
1. Select from the menu File -> New-> Java project.
1
2
![Page 4: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/4.jpg)
Create your first Java program
2. การเชื่อมโยงกับโปรเจ็กค อื่นๆ
![Page 5: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/5.jpg)
3. Create package
Create your first Java program
1
2
![Page 6: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/6.jpg)
4. Create Java class
Create your first Java program
![Page 7: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/7.jpg)
Create your first Java program
1
2
![Page 8: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/8.jpg)
Create your first Java program
5. Maintain the following code
![Page 9: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/9.jpg)
6. Run your project in Eclipse
Create your first Java program
![Page 10: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/10.jpg)
การสราง Application on Blackberry1. เลือกเมนู File -> New Project ->BlackBerry Project
![Page 11: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/11.jpg)
2. ใหกําหนด Project Name = MoblieApp1
การสราง Application on Blackberry
![Page 12: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/12.jpg)
3. Click Next
การสราง Application on Blackberry
![Page 13: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/13.jpg)
4. Select Template
การสราง Application on Blackberry
![Page 14: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/14.jpg)
5. Create Package
การสราง Application on Blackberry
![Page 15: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/15.jpg)
7. ทําการทดสอบ เลือก Run As -> BlakBerry Simulator
การสราง Application on Blackberry
![Page 16: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/16.jpg)
7.2 เลือกที่ โลโก BlackBerry -> MoblieApp1
การสราง Application on Blackberry
![Page 17: Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts Lbraries MoblieAppl Order and Exm 0.9 @ Create source use this f you to add a to](https://reader033.vdocuments.net/reader033/viewer/2022041422/5e20234cb6ec3d6c6238597b/html5/thumbnails/17.jpg)