Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mobile Programming Mobile Programming - Ordibehesht 13901 26 Ordibehesht 1390.

Similar presentations


Presentation on theme: "Mobile Programming Mobile Programming - Ordibehesht 13901 26 Ordibehesht 1390."— Presentation transcript:

1 Mobile Programming Mobile Programming - Ordibehesht 13901 26 Ordibehesht 1390

2 What to learn today? User application in a mobile device Mobile platforms Java Editions J2ME and how it helps us How to code a small program Mobile Programming - Ordibehesht 13902

3 References These slides and more resources will be sent to you Mobile Programming - Ordibehesht 13903

4 User Application in a Mobile Device Any user application should be run either directly on top of an Operation System or through a Virtual Machine Device processor should have enough processing power to handle both internal regular and housekeeping tasks and user application needs Mobile Programming - Ordibehesht 13904

5 5 User Application in a Mobile Device Processor Operating System JVMApplications MIDlets

6 Mobile/Handheld Platforms Comprehensive tool chain is available for user application development in each platform Current major platforms are: Mobile Programming - Ordibehesht 13906

7 Smartphone Share Current(2010) Mobile Programming - Ordibehesht 13907

8 Java A simple, secure, portable, multi-threaded and object oriented programming language Mobile Programming - Ordibehesht 13908

9 9 Object Oriented

10 Mobile Programming - Ordibehesht 139010 Platform Independency

11 Java Editions Java has four major editions: ◦ Java Card  for smartcards. ◦ Java Platform, Micro Edition (Java ME)  targeting environments with limited resources. ◦ Java Platform, Standard Edition (Java SE)  targeting workstation environments. ◦ Java Platform, Enterprise Edition (Java EE)  targeting large distributed enterprise or Internet environments. Mobile Programming - Ordibehesht 139011

12 J2ME We use Java Micro Edition for Mobile programming Most of smart phones support Java We will make a JAR file and send it to the device Mobile Programming - Ordibehesht 139012

13 Start programming for mobile What we need for programming: ◦ Java Development Kit (JDK) ◦ Emulator Wireless Toolkit (WTK) ◦ Netbeans IDE (or EasyEclipse) ◦ Netbeans Mobility Pack Mobile Programming - Ordibehesht 139013

14 CLDC & MIDP Connected Limited Device Configuration ◦ Specification of the framework for J2ME describing the basic set of libraries Mobile Information Device Profile ◦ Specification published for the use of Java on embedded devices Mobile Programming - Ordibehesht 139014

15 CLDC & MIDP Pay attention to the device Mobile Programming - Ordibehesht 139015

16 Application Life-Cycle Mobile Programming - Ordibehesht 139016

17 Let’s Start Coding! Mobile Programming - Ordibehesht 139017 Example1: Start and Resume the Application Example2: Displayables Example3: Simple Adder


Download ppt "Mobile Programming Mobile Programming - Ordibehesht 13901 26 Ordibehesht 1390."

Similar presentations


Ads by Google