Michael Brockway Advanced Applications Development in Java J2ME -- Introduction l Introduction / Overview l Java 2 Micro Edition n CLDC n MIDP l Examples.

Slides:



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

A Mobile Agent Architecture for Heterogeneous Devices Presented by: Chuong Hoang CS Software Architect and Design The University of Texas at Dallas.
1 Mobile Software Development Framework: TinyOS, J2ME 10/2/2012 Y. Richard Yang.
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.
J2ME: Tic Tac Toe By Jud Porter and John Tat. Goals for Project  Design and implement multiplayer game  Network connectivity between mobile devices.
J2ME 25 July Overview  What is J2ME?  The CLDC and CDC configurations  MIDP and MIDlets  Development Tools  Demonstrations.
Writing Your First MIDlet Running JAVA on a Cell Phone Jon A. Batcheller January 27, 2004.
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
Java2 Platform Micro Edition (ME) Benedek Balázs
Quality Assurance and Testing of J2ME Programs for Mobiles Phones.
1 Developing Mobile Applications ID2216/UMT Checkers Game By: Behzad Salim Aroony Kambiz Ghoorchian.
Developing an Application with J2ME Technology Scott Palmer, Nat Panchee, Judy Sullivan, Karen Thabet, Sten Westgard.
J2ME for Palm Speaker: Chen-Nien Tsai Adviser: Kai-Wei Ke.
Introduction to Mobility Java Technology Mobile and Wireless Networks.
Developing Software for Wireless Devices
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.
Introduction of J2ME.
Making Cell Phone Games An Overview Ray Ratelis Guild Software, Inc.
Developing J2ME Applications Mobile and Wireless Networks.
The 21th century Repairman Agenda Introduction J2EE J2ME Demonstration.
Cosc 4730 Phone Programming in Java An Introduction.
Java Platform, Micro Edition (J2ME)
Java 2 Platform, Micro Edition (J2ME) By Xiaorong Wang.
J2ME Programming. 2 Recommended Books Programming Wireless Devices with the Java2 Platform, Micro Second Edition (Paperback) by Roger Riggs (Editor),
J2ME -Kushal Modi(09BIT056).
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.
An Introduction to the Java ME Project Jens A Andersson.
Platforms and tools for Web Services and Mobile Applications J2ME based Applications Bent Thomsen Aalborg University 3rd and 4th of June 2004.
1 Mobile Software Development Framework 4/14/2009 Richard Yang.
Project By:. 2 Agenda Introduction Problem Definition Proposed Solution Block Diagram Flowchart Technical Implementation Hardware & Software Requirements.
Getting Started with JXTA for J2ME Advisor : Dr. Ching-Long Yeh Report : DI.2, 洪泰昌 ( ) Course: XML 文件管理.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 11 J2ME and MIDlets Rob Pooley
Eduardo Araujo Dustin Littau. Agenda Introduction Requirements Design Testing Conclusion.
Mobile Applications and Java ME
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)
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
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.
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.
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.
Java 2 Micro Edition The Connected, Limited Device Configuration.
CLDC
Java 2 Platform, Micro Edition (J2ME)
1 Introduction to J2ME Outline MIDP Building J2ME Apps- Tool J2ME Wireless Toolkit Demo MIDlet Programming -- MIDlet Transition States -- Midlet Skeleton.
Mobile Programming Mobile Programming - Ordibehesht Ordibehesht 1390.
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.
The Java Platform Micro Edition Java ME
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
MOBILE DEVICE OPERATING SYSTEM
Wireless Instant Messaging Using J2ME
Mobile Software Development Framework: TinyOS, J2ME
Mobile Software Development Framework
By Jeff Heaton An Overview of J2ME By Jeff Heaton
Session 10 J2ME Prof. Sridhar Iyer IIT Bombay
Java for Mobile Devices
Presentation transcript:

Michael Brockway Advanced Applications Development in Java J2ME -- Introduction l Introduction / Overview l Java 2 Micro Edition n CLDC n MIDP l Examples

2 Java 2 Micro Edition -- CLDC l A version of the Java platform which supports small devices -- hand-helds, cell phones, pagers, embedded systems,... l The Connected Limited Device Configuration (CLDC) n a set of APIs for applications for devices with limited screens size, memory, power, bandwidth. Contains u the kilobyte virtual machine (KVM)  packages java.io, java.lang, java.util t small subsets of the corresponding J2SE packages See java.sun.com/j2me/docs/pdf/cldcapi.pdf for details n Package java.io contains u interfaces DataInput, DataOutput u classes InputStream, OutputStream DataInputStream, DataOutputStream ByteArrayInputStream, ByteArrayOutputStream InputStreamReader, OutputStreamReader PrintStream ReaderWriter u exception, error classes etc

3 J2ME -- CLDC l The Connected Limited Device Configuration (CLDC) n Package java.lang contains u interface Runnable u classes BooleanByteCharacterClass Integer LongMathObject RuntimeShortStringStringBuffer SystemThreadThrowable n Package java.util contains u interface Enumeration u classes CalendarDataHashtable Random Stack Timer TimerTaskTimeZoneVector n CLDC version 1.0 contained u no floating point types, no serializable objects u no thread groups no JNI n CLDC 1.1 which appeared in March 2004 contains more features, including floating point arithmetic support

4 J2ME -- MIDP l The Mobile Information Device Profile n APIs for programming mobile devices -- phones, Palm Pilots,... n Application software in MIDlets n Package javax.microedition.lcdui contains GUI classes for devices with LCD screens u interfaces Choice CommandListenerItemListener u classesAlertAlertTypeCanvasChoiceGroup CommandDataFieldDisplay Displayable FontFormGaugeGraphics ImageImageItemItemList ScreenScreenItemTextBoxTextField Ticker

5 J2ME -- MIDP l The Mobile Information Device Profile (ctd) n Package javax.microedition.io contains support for networking - u interfaces Connection ContentConnection DatagramDatagramConnection HttpConnectionInputConnection OutputConnectionStreamConnection StreamConnectionNotifier u classConnector

6 J2ME -- MIDP l The Mobile Information Device Profile n Package javax.microedition.rms contains support for local storage - u interfaces RecordComparitorRecordEnumeration RecordFilterRecordListener u classRecordStore n Package javax.microedition.midlet contains the MIDlet class n The minimum hardware for a MIDlet: u at least 96 X 54 pixels monochrome display u a two-way wireless network u an input device u 128 kb for CLDC & MIDP classes u at least 32 kb for the KVM

7 Graphics in a MIDlet > javax.microediiton.lcdui.Displayable > Screen > Canvas AlertTextBoxList Form (low-level) (high-level) l Canvas is “low leve1” n not a container, but we can override its paint method to use Graphics draw methods l Screen is “high level” n a container of laid-out components

8 Practicalities l Download the J2ME Wireless Toolkit from n Install in Windows or Linux n Documentation accompanies the software l Look at the tutorial material in n Especially MIDlet Life Cycle and Getting Started with MIDP. l Exercises n Make a MIDlet which will display a multiplication table when an integer between 1 and 12 is input. Make a MIDlet which will do simple ( +, -, X, / ) calculations on two input numbers