Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts...

17
Workshop 1 st Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D.

Transcript of Workshop 1 Mobile Application Development · Java Settings the Java build settings. Source Pr*cts...

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

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

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

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

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

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

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

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

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

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

การสราง 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

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

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

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

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

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

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