SlideShare una empresa de Scribd logo
1 de 16
J2ME
Who am I? Lim Chanmann Software Developer Email: chanmannlim@gmail.com Skype: lchanmann Twitter: lchanmann Blog: http://chanmannlim.wordpress.com
What is J2ME? Java 2 Micro Edition Is designed to operate in limited resource device (eg. PDAs, mobile, pager)
Why? Cross-platform Wide-range support device Easy to start
Java Universe
J2ME Universe Smaller Larger Pager Mobile  PDAs Car Navigation Systems Internet appliance Set-top Box
J2ME Basic Configuration: for specifies kind of device Specifies Java Virtual Machine Subset of J2SE Additional APIs Profile: more specific than configuration Based on configuration Add APIs for user interface, persistent storage ,.etc Optional APIs: additional functionality (Bluetooth, Messaging, Media, 3D ,.etc)
Specification CLDC: mobile, pager, PDA 160 – 512 kb memory Kilobyte Virtual Machine CLDC 1.0/CLDC 1.1 MIDP 2.0: mobile & pager Min 128 kb RAM (Heap) 8kb for persistent storage Input capacity, network connection
J2ME APIs in CLDC 1.1 + MIDP 2.0 MIDP 2.0 javax.microedition.lcdui javax.microedition.lcdui.game javax.microedition.media javax.microedition.media.control javax.microedition.midlet javax.microedition.pki javax.microedition.rms CLDC 1.1 java.lang java.lang.ref java.io java.util java.microedition.io
Examples
MIDlet & Life clycle MIDP application Life cycle: AMS (Application Management System) destroyApp() Paused pauseApp() startApp() Active Destroyed destroyApp()
MIDlet Suite Application package .jar MIDlets + classes + Resources + Manifest information (Version of CLDC & MIDP, name, version, vendor) .jad Same information as Manifest Can be used for installation
User Interface with MIDP 2.0 Inherit from MIDlet class Set current displayable object to MIDlet display Displayable: Displayable Screen Canvas Alert TextBox List Form
Requirements JDK – J2SE: http://java.sun.com/javase/downloads/index.jsp Wireless Toolkit: http://java.sun.com/products/sjwtoolkit/download.html Editor – Eclipse (Pulsar): http://www.eclipse.org/downloads/
See in action Configure development environment Building Helloworld Deployment
References Application development with J2ME by EnricoRukzio http://www.j2mesalsa.com http://www.java2s.com http://developers.sun.com/mobility/getstart/ http://www.java-samples.com/j2me/ http://today.java.net/pub/a/today/2005/02/09/j2me1.html

Más contenido relacionado

La actualidad más candente

Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)
Wambua Wambua
 
01 Symbianosbasics Introducao
01 Symbianosbasics Introducao01 Symbianosbasics Introducao
01 Symbianosbasics Introducao
Tiago Romão
 

La actualidad más candente (20)

Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)
 
MOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSMOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMS
 
Mobile Application Development MAD J2ME
Mobile Application Development  MAD J2MEMobile Application Development  MAD J2ME
Mobile Application Development MAD J2ME
 
J2 me 1
J2 me 1J2 me 1
J2 me 1
 
Presenting Cloud Computing
Presenting Cloud ComputingPresenting Cloud Computing
Presenting Cloud Computing
 
Java ME CLDC MIDP
Java ME CLDC MIDPJava ME CLDC MIDP
Java ME CLDC MIDP
 
Mobile application development
Mobile application developmentMobile application development
Mobile application development
 
Introduction to j2me
Introduction to j2meIntroduction to j2me
Introduction to j2me
 
Mobile Operating System
Mobile Operating SystemMobile Operating System
Mobile Operating System
 
Mobile Application Development MAD J2ME UNIT 2
Mobile Application Development  MAD J2ME UNIT 2Mobile Application Development  MAD J2ME UNIT 2
Mobile Application Development MAD J2ME UNIT 2
 
J2me Platform
J2me PlatformJ2me Platform
J2me Platform
 
Scmad Chapter 01
Scmad Chapter 01Scmad Chapter 01
Scmad Chapter 01
 
Introduction to java micro edition
Introduction to java micro editionIntroduction to java micro edition
Introduction to java micro edition
 
Introduction to Java Micro Edition (ME) 8
Introduction to Java Micro Edition (ME) 8Introduction to Java Micro Edition (ME) 8
Introduction to Java Micro Edition (ME) 8
 
Session1 j2me introduction
Session1  j2me introductionSession1  j2me introduction
Session1 j2me introduction
 
08 Midlet Basic
08 Midlet Basic08 Midlet Basic
08 Midlet Basic
 
01 java 2 micro edition
01 java 2 micro edition01 java 2 micro edition
01 java 2 micro edition
 
Campus portal for wireless devices
Campus portal for wireless devicesCampus portal for wireless devices
Campus portal for wireless devices
 
Symbian OS
Symbian OSSymbian OS
Symbian OS
 
01 Symbianosbasics Introducao
01 Symbianosbasics Introducao01 Symbianosbasics Introducao
01 Symbianosbasics Introducao
 

Similar a J2ME

A Taste of Java ME
A Taste of Java MEA Taste of Java ME
A Taste of Java ME
wiradikusuma
 
Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)
Wambua Wambua
 
J2 Me Gaming Using Netbeans
J2 Me Gaming Using NetbeansJ2 Me Gaming Using Netbeans
J2 Me Gaming Using Netbeans
strongdevil
 
Mobile operating system..
Mobile operating system..Mobile operating system..
Mobile operating system..
Aashish Uppal
 

Similar a J2ME (20)

Java ME An Introduction. www.javameblog.com
Java ME  An  Introduction. www.javameblog.comJava ME  An  Introduction. www.javameblog.com
Java ME An Introduction. www.javameblog.com
 
Java J2ME
Java J2MEJava J2ME
Java J2ME
 
J2 Me
J2 MeJ2 Me
J2 Me
 
A Taste of Java ME
A Taste of Java MEA Taste of Java ME
A Taste of Java ME
 
Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)
 
Why Android? Exploring the design desisions in Android
Why Android? Exploring the design desisions in AndroidWhy Android? Exploring the design desisions in Android
Why Android? Exploring the design desisions in Android
 
J2 Me Gaming Using Netbeans
J2 Me Gaming Using NetbeansJ2 Me Gaming Using Netbeans
J2 Me Gaming Using Netbeans
 
How Android is different from other systems – An exploration of the design de...
How Android is different from other systems – An exploration of the design de...How Android is different from other systems – An exploration of the design de...
How Android is different from other systems – An exploration of the design de...
 
J2me
J2meJ2me
J2me
 
010118565.pdf
010118565.pdf010118565.pdf
010118565.pdf
 
Mobile operating system..
Mobile operating system..Mobile operating system..
Mobile operating system..
 
Blackberry Development Environment
Blackberry Development EnvironmentBlackberry Development Environment
Blackberry Development Environment
 
Resume
ResumeResume
Resume
 
online book sale srs Apeksha
online book sale srs Apekshaonline book sale srs Apeksha
online book sale srs Apeksha
 
online hotel management system
online hotel management system online hotel management system
online hotel management system
 
Polysource-IT Profile
Polysource-IT ProfilePolysource-IT Profile
Polysource-IT Profile
 
Polysource-IT Profile
Polysource-IT ProfilePolysource-IT Profile
Polysource-IT Profile
 
Compact Framework Development For The Desktop Developer
Compact Framework Development For The Desktop DeveloperCompact Framework Development For The Desktop Developer
Compact Framework Development For The Desktop Developer
 
It6601 mobile computing unit 5
It6601 mobile computing unit 5It6601 mobile computing unit 5
It6601 mobile computing unit 5
 
Prezentare 1 - LTM
Prezentare 1 - LTMPrezentare 1 - LTM
Prezentare 1 - LTM
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Último (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

J2ME

  • 2. Who am I? Lim Chanmann Software Developer Email: chanmannlim@gmail.com Skype: lchanmann Twitter: lchanmann Blog: http://chanmannlim.wordpress.com
  • 3. What is J2ME? Java 2 Micro Edition Is designed to operate in limited resource device (eg. PDAs, mobile, pager)
  • 4. Why? Cross-platform Wide-range support device Easy to start
  • 6. J2ME Universe Smaller Larger Pager Mobile PDAs Car Navigation Systems Internet appliance Set-top Box
  • 7. J2ME Basic Configuration: for specifies kind of device Specifies Java Virtual Machine Subset of J2SE Additional APIs Profile: more specific than configuration Based on configuration Add APIs for user interface, persistent storage ,.etc Optional APIs: additional functionality (Bluetooth, Messaging, Media, 3D ,.etc)
  • 8. Specification CLDC: mobile, pager, PDA 160 – 512 kb memory Kilobyte Virtual Machine CLDC 1.0/CLDC 1.1 MIDP 2.0: mobile & pager Min 128 kb RAM (Heap) 8kb for persistent storage Input capacity, network connection
  • 9. J2ME APIs in CLDC 1.1 + MIDP 2.0 MIDP 2.0 javax.microedition.lcdui javax.microedition.lcdui.game javax.microedition.media javax.microedition.media.control javax.microedition.midlet javax.microedition.pki javax.microedition.rms CLDC 1.1 java.lang java.lang.ref java.io java.util java.microedition.io
  • 11. MIDlet & Life clycle MIDP application Life cycle: AMS (Application Management System) destroyApp() Paused pauseApp() startApp() Active Destroyed destroyApp()
  • 12. MIDlet Suite Application package .jar MIDlets + classes + Resources + Manifest information (Version of CLDC & MIDP, name, version, vendor) .jad Same information as Manifest Can be used for installation
  • 13. User Interface with MIDP 2.0 Inherit from MIDlet class Set current displayable object to MIDlet display Displayable: Displayable Screen Canvas Alert TextBox List Form
  • 14. Requirements JDK – J2SE: http://java.sun.com/javase/downloads/index.jsp Wireless Toolkit: http://java.sun.com/products/sjwtoolkit/download.html Editor – Eclipse (Pulsar): http://www.eclipse.org/downloads/
  • 15. See in action Configure development environment Building Helloworld Deployment
  • 16. References Application development with J2ME by EnricoRukzio http://www.j2mesalsa.com http://www.java2s.com http://developers.sun.com/mobility/getstart/ http://www.java-samples.com/j2me/ http://today.java.net/pub/a/today/2005/02/09/j2me1.html