Mobile Application Development
Mobile Application Development
On
By
G Indira Priyadarshini
Associate Professor
MCA Department
Hyderabad.
MOBILE APPLICATION DEVELOPMENT
USING
J2ME
What is J2ME
J2me is a software or specification for developing small computing devices
Or
J2me is a Java platform designed for Small Computing Devices ranging from
pagers, mobile phones, Personal Digital Assistance (PDA) to the set up boxes.
Applications based on J2ME are portable across many devices, yet leverage each
device's native capabilities.
Configurations
Profiles &
Optional API’s
J2ME Configuration :
J2ME
J2ME
Configuration
Configuration
CLDC
CLDC CDC
CDC
CDC
Full Java implementation
32 bit
CLDC
Subset of Java
16 or 32 bit
8bit Card VM
J2ME Profiles :
Game Profile
Mobile Information Device Profile (MIDP)
Persistence
Networking
Event handling
Hardware characteristics
Screen size 96 x 54
MIDP Lifecycle
constructor method called
paused state
active
state
destroyApp method
called
The PDA Profile is similar to MIDP, but it is aimed at PDAs that have better screens and
more memory than cell phones.
Foundation Profile
The Foundation Profile extends the CDC to include almost all of the core Java 2 Version 1.3
core libraries. As its name suggests, it is intended to be used as the basis for most of the
other CDC profiles.
Personal Basis and Personal Profiles
The Personal Basis Profile adds basic user interface functionality to the Foundation Profile. It
is intended to be used on devices that have an unsophisticated user interface capability, and
it therefore does not allow more than one window to be active at any time. Platforms that can
support a more complex user interface will use the Personal Profile instead.
RMI Profile
The RMI Profile adds the J2SE Remote Method Invocation libraries to the Foundation
Profile. Only the client side of this API is supported.
Game Profile This will provide a platform for writing games software on CDC devices.
Book’s to be referred:
By James Keogh
2) J2ME in a Nutshell
By Kim Topley
O ‘REILLY publisher