Mobile Programming Mobile Programming - Ordibehesht Ordibehesht 1390
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
References These slides and more resources will be sent to you Mobile Programming - Ordibehesht 13903
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 User Application in a Mobile Device Processor Operating System JVMApplications MIDlets
Mobile/Handheld Platforms Comprehensive tool chain is available for user application development in each platform Current major platforms are: Mobile Programming - Ordibehesht 13906
Smartphone Share Current(2010) Mobile Programming - Ordibehesht 13907
Java A simple, secure, portable, multi-threaded and object oriented programming language Mobile Programming - Ordibehesht 13908
9 Object Oriented
Mobile Programming - Ordibehesht Platform Independency
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
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
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
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
CLDC & MIDP Pay attention to the device Mobile Programming - Ordibehesht
Application Life-Cycle Mobile Programming - Ordibehesht
Let’s Start Coding! Mobile Programming - Ordibehesht Example1: Start and Resume the Application Example2: Displayables Example3: Simple Adder