1Basics of J2ME. 2 Objectives –Understand the different java API’s and how the mobile edition API’s fit in –Understand what a mobile configuration and.

Slides:



Advertisements
Similar presentations
MIDP Mobile Information Device Profile Johnny Yau CIS 642 Prof. Insup Lee.
Advertisements

J2ME & BREW Game Design Code running on the handset (at last) Greg Costikyan
Pengantar Teknologi Mobile 12
Introduction of J2ME Mobile solutions. Overview What is J2ME. How does J2ME work? Java J2ME Carriers and Products. The Two Configuration of J2ME. Profiles.
Android architecture overview
Multimedia Network Communications Subject:T0934 / Multimedia Programming Foundation Session:13 Tahun:2009 Versi:1/0.
J2ME 25 July Overview  What is J2ME?  The CLDC and CDC configurations  MIDP and MIDlets  Development Tools  Demonstrations.
Will Wireless Gaming Be a Winner? February 1, 2007 Sumit Rohit Thaker Sung Ho Hwang.
Writing Your First MIDlet Running JAVA on a Cell Phone Jon A. Batcheller January 27, 2004.
UNDERSTANDING JAVA APIS FOR MOBILE DEVICES v0.01.
Introduction to Java 2 Micro Edition Mark Balbes, Ph.D. Senior Software Engineer Jeff Brown Senior Software Engineer.
Bluetooth and java – a perfect match? Sean O Sullivan ceo Nordic Bluetooth, October 5th, 2001.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 10 Java for MIDs Rob Pooley
Quality Assurance and Testing of J2ME Programs for Mobiles Phones.
Developing an Application with J2ME Technology Scott Palmer, Nat Panchee, Judy Sullivan, Karen Thabet, Sten Westgard.
JAVA Technology. Java Technology Java technology is a portfolio of products that are based on the power of networks and the idea that the same software.
J2ME for Palm Speaker: Chen-Nien Tsai Adviser: Kai-Wei Ke.
J2ME Prepared by: - Gaery- Ronny - Alan- Andy. Why Technology for Mobile Devices? The nature of wireless devices is changing Old devices: All the software.
Presenting a Technical Paper. Outline Wireless Development – Introduction Wireless Development – Introduction Wireless Issues & Considerations Wireless.
PDA Programming Using J2ME Presenter :涂俊凱 Date : 2003/4/8.
Beyond WAP By Zhongyin J. Daye Han-Chung Lee. Agenda Introduction –WAP Protocol Stack –Future Wireless Environment –Problem Facing WAP Application Layer.
Making Cell Phone Games An Overview Ray Ratelis Guild Software, Inc.
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
V0.01 © 2009 Research In Motion Limited Understanding Java APIs for Mobile Devices Trainer name Date.
Developing J2ME Applications Mobile and Wireless Networks.
The 21th century Repairman Agenda Introduction J2EE J2ME Demonstration.
Agent Factory Micro Edition: A Framework for Ambient Applications C. Muldoon, G.M.P. O’ Hare, R.W. Collier, M.J. O’ Grady School of.
Cosc 4730 Phone Programming in Java An Introduction.
Java Platform, Micro Edition (J2ME)
Java 2 Platform, Micro Edition (J2ME) By Xiaorong Wang.
SM3121 Software Technology Mark Green School of Creative Media.
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
Topics on KVM Presented By Xiaozhou David Zhu. Topics covered Introduction Java2 Platform Micro Edition CLDC KVM.
J2ME Java for Mobile Environments Based on J2ME In A Nutshell, by Kim Topley, O’Reilly & Associates Inc., 2002, and Tetris by Alexei Patinov.
Platforms and tools for Web Services and Mobile Applications J2ME based Applications Bent Thomsen Aalborg University 3rd and 4th of June 2004.
Getting Started with JXTA for J2ME Advisor : Dr. Ching-Long Yeh Report : DI.2, 洪泰昌 ( ) Course: XML 文件管理.
Michael Brockway Advanced Applications Development in Java J2ME -- Introduction l Introduction / Overview l Java 2 Micro Edition n CLDC n MIDP l Examples.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 11 J2ME and MIDlets Rob Pooley
Small Devices on DBGlobe System George Samaras Chara Skouteli.
Framework and application bytecode size CLDC MIDP kXML parser Utility classes Graphics Logic (MIDlet) Application Data (XML file)
Computer Science Wi-Fi App using J2ME and MVC Architecture Advisor : Dr. Chung-E Wang Department of Computer Science Sacramento State University Date:
J2ME Presented by May Sayed & Menna Hawash. Outline Introduction “Java Technology” Introduction “What is J2ME?” J2ME Architecture J2ME Core Concepts 
Java 2 Micro Edition (J2ME) and the world of java
PROG Mobile Java Application Development PROG Mobile Java Application Development BlackBerry App Lifecycle Java ME API.
8-January-2003cse ProjectOverview © 2003 University of Washington1 Project Overview CSE 403, Winter 2003 Software Engineering
Other Popular Java Technologies Internationalization in Java Graphics Programming in Java Security Programming in Java Collections and Data Structures.
A Frame Work For Developing Wireless Mobile Online Applications.
Java 2 Micro Edition The Connected, Limited Device Configuration.
CLDC
Java 2 Platform, Micro Edition (J2ME)
Mobile Programming Mobile Programming - Ordibehesht Ordibehesht 1390.
By Adam Reimel. Outline Introduction Platform Architecture Future Conclusion.
Enhanced mobile services in Java enabled phones Björn Hjelt Sonera zed ltd Supervisor: Professor Jorma Jormakka.
Advance Computer Programming Market for Java ME The Java ME Platform – Java 2 Micro Edition (J2ME) combines a resource- constrained JVM and a set of Java.
Visual Mobile Applications with Netbeans 6.0 Your Name Sun Campus Ambassador Your Address.
Visual Mobile Gaming Your Name Sun Campus Ambassador Your Address.
1 Mobile Operating Systems BY:- Aashish Uppal CSE-1/7 th Sem (63/ )
The Java Platform Micro Edition Java ME
Java N Amanquah.
Part II Software When developing software there are several particularities to be aware of: Java is widespread used because of the platform independence.
Programming of Handheld and Mobile Devices
Lab 3: More Phone-Based Techniques
MOBILE DEVICE OPERATING SYSTEM
Wireless Instant Messaging Using J2ME
By Jeff Heaton An Overview of J2ME By Jeff Heaton
By Zhongyin J. Daye Han-Chung Lee
Introduction of J2ME Mobile solutions.
Java for Mobile Devices
Presentation transcript:

1Basics of J2ME

2 Objectives –Understand the different java API’s and how the mobile edition API’s fit in –Understand what a mobile configuration and profile is.

3Basics of J2ME Basics of J2ME showing various editions Java 2 Enterprise Edition (J2EE) Java 2 Standard Edition (J2SE) Java Virtual Machine CDCCLDC MIDPProfile Level Configuration Level KVM Java 2 Micro Edition (J2ME)

4 The Java Platform Basics of J2ME

5 Configurations “Configurations comprise a virtual machine and a minimal set of class libraries. They provide the base functionality for a particular range of devices that share similar characteristics, such as network connectivity and memory footprint. Currently, there are two J2ME configurations: the Connected Limited Device Configuration (CLDC) and the Connected Device Configuration (CDC). “

6Basics of J2ME Configurations Connected Device Configuration (CDC) –512 kilobytes (minimum) memory for running Java –256 kilobytes (minimum) for runtime memory allocation –Network connectivity, possibly persistent and high bandwidth Connected, Limited Device Configuration (CLDC) –128 kilobytes memory for running Java –32 kilobytes memory for runtime memory allocation –Restricted user interface –Low power, typically battery powered –Network connectivity, typically wireless, with low bandwidth and intermittent access

7Basics of J2ME CDC Packages CDC Package NameDescription java.iostandard I/O classes & interfaces java.langVM classes java.lang.refReference classes java.lang.reflectReflection classes & interfaces java.mathMath package java.netNetworking classes & interfaces java.securitySecurity classes & interfaces java.security.certSecurity certificate classes java.textText package java.utilstandard utility classes java..util.jarJAR utility classes java.util.zipZIP utility classes javax.microedition.ioCDC generic connection framework classes and interfaces

8Basics of J2ME CLDC Packages java.iostandard I/O classes & interfaces java.langVM classes java.utilstandard utility classes javax.microedition.ioCDC generic connection framework classes and interfaces

9Basics of J2ME The Java API’s J2SE CDC CLDC

10Basics of J2ME Profiles “To provide a complete runtime environment for a specific device category a configuration must be combined with a profile, a set of higher-level APIs that further define the application life-cycle model, the user interface, and access to device-specific properties. A profile supports a narrower category of devices within the framework of a chosen configuration. A widely adopted example is to combine CLDC with the Mobile Information Device Profile (MIDP) to provide a complete Java application environment for cell phones and other devices with similar capabilities.”

11Basics of J2ME CE00213-M Mobile Applications and Systems Basics of J2ME Profiles An extension to a configuration Provides libraries for a developer to write applications for a particular device –Mobile Information Device Profile (MIDP) defines API’s for user interface components, input & event handling, persistent storage, networking & timers, allowing for screen & memory limitation of mobile devices

12Basics of J2ME Java Virtual Machines –The JVM (java virtual machine) translates the class files into machine code for platform running the JVM –The JVM is also responsible for providing security, allocating& freeing memory & managing threads –For CDC the virtual machine is the same J2SE (re-engineered) –For CLDC the virtual machine is KVM (Kilobytes virtual machine) 128 Kbytes of memory for running the JVM & CLDC libraries must preserve it’s content when device is switched off (non volatile memory) 32 Kbytes during application runtime for allocation of objects (volatile memory or the “heap”)

13Basics of J2ME Mobile Information Device Profile (MIDP) MIDP is a set of API’s that allow developers to handle mobile device specific issues MIDP contains packages : –javax.microedition.lcdui Has classes to enable developers to construct user interfaces –javax.microedition.io Allows networking between midlets and other systems –javax.microedition.rms Allows local storage –javax.microedition.midlet Defines the midlet lifecycle

14Basics of J2ME Mobile Information Device Profile (MIDP) High level API’s –Textfields, lists, forms and images for programs such as e- commerce applications & basic user interfaces Low level API’s –Incorporate graphics & shapes at precise pixel locations, provides animation for games applications

15 Configuration for Small Devices - The Connected Limited Device Configuration (CLDC) Basics of J2ME

16Basics of J2ME References Beginning J2ME from Novice to Professional 3 rd edition 2005 –Sing Li, Jonathan Knudsen –Publisher Apress –ISBN Core J2ME Technology & MIDP 2002 –Muchow J.W –Publisher Sun microsystem –ISBN