SlideShare a Scribd company logo
1 of 70
Java 2 Platform, Micro Edition (J2ME)  Masha Gutkhen Keren Gazit
Contents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Environment requirements ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
So – what’s the solution? ,[object Object]
 
Java Editions ,[object Object],[object Object],[object Object]
Java Editions ,[object Object],[object Object],[object Object]
Java Editions Java2  Standard Edition (J2SE™) Java2  Enterprise Edition (J2EE™) Java2  Micro Edition (J2ME™) Java 2 Platform Standard desktop & workstation applications Heavy duty server systems Small & memory  constrained devices
Java Editions ,[object Object],[object Object],[object Object],J2ME J2SE J2EE
PersonalJava and EmbeddedJava ,[object Object],[object Object],[object Object],[object Object]
PersonalJava and EmbeddedJava ,[object Object],[object Object],[object Object]
J2ME Core Concepts ,[object Object],[object Object],[object Object],[object Object],[object Object],J2ME  Profile J2ME Libraries Java Virtual Machine Profiles Configuration Host Operating System Java Language
J2ME Core Concepts ,[object Object],[object Object],[object Object],[object Object]
Configurations ,[object Object],[object Object],[object Object],[object Object],[object Object]
Configurations ,[object Object],[object Object]
Configurations Connected Limited Device Configuration Connected Device Configuration Configuration CLDC CDC
CLDC vs. CDC ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CLDC vs. CDC - VM ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The KVM and CVM ,[object Object],[object Object],[object Object],[object Object]
CLDC vs. CDC – J2SE Subset ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CLDC vs. CDC – J2SE Subset CDC CLDC J2SE
Handling I/O  ,[object Object],[object Object],[object Object]
Handling I/O in CLDC ,[object Object],[object Object],[object Object]
GCF - example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Handling I/O in CDC ,[object Object],[object Object],[object Object]
J2ME Core Concepts ,[object Object],[object Object],[object Object],[object Object]
Profiles ,[object Object],[object Object],[object Object],[object Object],[object Object]
Profiles Mobile Information Device Profile Personal Digital Assistant Profile Foundation Profile Personal Basis Profile Personal Profile Profile MIDP PDAP PP PBP FP
MIDP – MID Profile ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MIDP - Specification ,[object Object],[object Object],[object Object]
MIDP - Specification ,[object Object],[object Object],[object Object],[object Object],[object Object]
MIDP - Specification ,[object Object],[object Object],[object Object]
MIDP Applications restrictions   ,[object Object],[object Object],[object Object],[object Object]
J2ME Core Concepts ,[object Object],[object Object],[object Object],[object Object]
Optional Packages ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What it all means ,[object Object],[object Object],[object Object],[object Object]
Start working...
MIDlets – The heart of J2ME… ,[object Object],[object Object]
MIDlets – The heart of J2ME… ,[object Object],[object Object],[object Object],[object Object]
MIDlets – The heart of J2ME… ,[object Object],[object Object]
MIDlet Suite ,[object Object],[object Object],[object Object],[object Object]
MIDlet Suite ,[object Object],[object Object]
Creating a MIDlet
Creating a MIDlet  Importing MIDP specific packages import javax.microedition.lcdui.*; import javax.microedition.midlet.*;
Creating a MIDlet  Extends MIDlet Implements CommandListener public class HelloMIDlet extends MIDlet  implements CommandListener {
Creating a MIDlet  Creating the form, adding the Commands public HelloMIDlet() { mMainForm = new Form("HelloMIDlet"); mMainForm.append(new StringItem(null,  "Hello, Seminar Software Design!")); mMainForm.addCommand(new Command("Exit",  Command.EXIT, 0)); mMainForm.setCommandListener(this); }
Sample MIDP classes API ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Sample classes API ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MIDlet class API ,[object Object],[object Object],[object Object],[object Object],[object Object]
Sample classes API ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Form class ,[object Object],[object Object],[object Object]
Form class API ,[object Object],[object Object],[object Object],[object Object],[object Object]
Sample classes API ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Command class ,[object Object],[object Object],[object Object],[object Object]
Command class ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CommandListener class API ,[object Object],[object Object]
ItemCommandListener class API ,[object Object],[object Object]
Sample classes API ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Item class ,[object Object],[object Object],[object Object],[object Object]
Item class API ,[object Object],[object Object],[object Object],[object Object]
Getting Started… ,[object Object],[object Object],[object Object]
After the installation…. ,[object Object],[object Object]
Using KToolbar
Creating a new Application ,[object Object],[object Object],[object Object]
Where to place your files? external class libraries, (JAR or ZIP) for all KToolbar projects. J2ME/apps/lib source files J2ME/apps/{proj}/src resource files J2ME/apps/{proj}/res external class libraries,  (JAR or ZIP)  for a specific project J2ME/apps/{proj}/lib JAR, JAD, unpacked manifest files. J2ME/apps/{proj}/bin source, resource, and binary files J2ME/apps/{proj}
And then what? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Distribution to actual devices ,[object Object],[object Object],[object Object],[object Object],[object Object]
Some other issues ,[object Object],[object Object],[object Object],[object Object]
The END! ,[object Object],[object Object]

More Related Content

What's hot

Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginners
Boom Shukla
 
Chapter 7
Chapter 7 Chapter 7
Chapter 7
carnillr
 
عرض تعليمى عن البوابات الالكترونية Copy
عرض تعليمى عن البوابات الالكترونية   Copyعرض تعليمى عن البوابات الالكترونية   Copy
عرض تعليمى عن البوابات الالكترونية Copy
fifiibrahim
 

What's hot (20)

Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
احترف الالكترونيات وعلم الهندسة بكل بساطة
احترف الالكترونيات وعلم الهندسة بكل بساطةاحترف الالكترونيات وعلم الهندسة بكل بساطة
احترف الالكترونيات وعلم الهندسة بكل بساطة
 
Basics of digital image processing
Basics of digital image  processingBasics of digital image  processing
Basics of digital image processing
 
Javacard
Javacard Javacard
Javacard
 
Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginners
 
Image compression standards
Image compression standardsImage compression standards
Image compression standards
 
Facial emotion recognition
Facial emotion recognitionFacial emotion recognition
Facial emotion recognition
 
Animation in the web
Animation in the webAnimation in the web
Animation in the web
 
Video compression
Video compressionVideo compression
Video compression
 
Android OS & SDK - Getting Started
Android OS & SDK - Getting StartedAndroid OS & SDK - Getting Started
Android OS & SDK - Getting Started
 
Wireless body area network
Wireless body area networkWireless body area network
Wireless body area network
 
Android Basic Concept
Android Basic Concept Android Basic Concept
Android Basic Concept
 
Bio medical image processing
Bio medical image processingBio medical image processing
Bio medical image processing
 
Android Web app
Android Web app Android Web app
Android Web app
 
Chapter 7
Chapter 7 Chapter 7
Chapter 7
 
Face Detection and Recognition System
Face Detection and Recognition SystemFace Detection and Recognition System
Face Detection and Recognition System
 
عرض تعليمى عن البوابات الالكترونية Copy
عرض تعليمى عن البوابات الالكترونية   Copyعرض تعليمى عن البوابات الالكترونية   Copy
عرض تعليمى عن البوابات الالكترونية Copy
 
Micro electronic pill
Micro electronic pillMicro electronic pill
Micro electronic pill
 
Fake Image Identification
Fake Image IdentificationFake Image Identification
Fake Image Identification
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantization
 

Viewers also liked

Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)
Wambua Wambua
 
J2me Presentacion
J2me PresentacionJ2me Presentacion
J2me Presentacion
vivian7894
 
Java j2me pre
Java j2me preJava j2me pre
Java j2me pre
jtk1
 
Tweening and morphing
Tweening and morphingTweening and morphing
Tweening and morphing
Amit Kapoor
 
J2ME Unit_01
J2ME Unit_01J2ME Unit_01
J2ME Unit_01
Prashanth Shivakumar
 
Pervasive computing
Pervasive computingPervasive computing
Pervasive computing
Preethi AKNR
 

Viewers also liked (20)

J2ME
J2MEJ2ME
J2ME
 
J2ME
J2MEJ2ME
J2ME
 
Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)
 
J2ME
J2MEJ2ME
J2ME
 
J2ME mobile app development
J2ME mobile app developmentJ2ME mobile app development
J2ME mobile app development
 
Java A Tope J2 Me (Java 2 Micro Edition)
Java A Tope  J2 Me (Java 2 Micro Edition)Java A Tope  J2 Me (Java 2 Micro Edition)
Java A Tope J2 Me (Java 2 Micro Edition)
 
J2me Presentacion
J2me PresentacionJ2me Presentacion
J2me Presentacion
 
Curso de J2ME - Parte 01 - Conceitos básicos
Curso de J2ME - Parte 01 - Conceitos básicosCurso de J2ME - Parte 01 - Conceitos básicos
Curso de J2ME - Parte 01 - Conceitos básicos
 
Java j2me pre
Java j2me preJava j2me pre
Java j2me pre
 
Tweening and morphing
Tweening and morphingTweening and morphing
Tweening and morphing
 
Mobile application development
Mobile application developmentMobile application development
Mobile application development
 
08 Midlet Basic
08 Midlet Basic08 Midlet Basic
08 Midlet Basic
 
Qi -- Lightweight Boot Loader Applied in Mobile and Embedded Devices
Qi -- Lightweight Boot Loader Applied in Mobile and Embedded DevicesQi -- Lightweight Boot Loader Applied in Mobile and Embedded Devices
Qi -- Lightweight Boot Loader Applied in Mobile and Embedded Devices
 
Implementing Lightweight Networking
Implementing Lightweight NetworkingImplementing Lightweight Networking
Implementing Lightweight Networking
 
J2ME Unit_01
J2ME Unit_01J2ME Unit_01
J2ME Unit_01
 
Digitaalinen asiakaskohtaaminen
Digitaalinen asiakaskohtaaminenDigitaalinen asiakaskohtaaminen
Digitaalinen asiakaskohtaaminen
 
Linkedin Search_GK
Linkedin Search_GKLinkedin Search_GK
Linkedin Search_GK
 
Game Programming By J2me
Game Programming By J2meGame Programming By J2me
Game Programming By J2me
 
Pervasive computing
Pervasive computingPervasive computing
Pervasive computing
 
4 Statistics of Successfull General Digital Marketing
4 Statistics of Successfull General Digital Marketing4 Statistics of Successfull General Digital Marketing
4 Statistics of Successfull General Digital Marketing
 

Similar to J2ME

Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)
Wambua Wambua
 
J2me Crash Course
J2me Crash CourseJ2me Crash Course
J2me Crash Course
guest860a03
 

Similar to J2ME (20)

010118565.pdf
010118565.pdf010118565.pdf
010118565.pdf
 
J2me
J2meJ2me
J2me
 
Java ME CLDC MIDP
Java ME CLDC MIDPJava ME CLDC MIDP
Java ME CLDC MIDP
 
J2 me 1
J2 me 1J2 me 1
J2 me 1
 
J2me Platform
J2me PlatformJ2me Platform
J2me Platform
 
Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)Introduction to mobile programing (J2ME)
Introduction to mobile programing (J2ME)
 
Java J2ME
Java J2MEJava J2ME
Java J2ME
 
Introduction to Mobile Application Development
Introduction to Mobile Application DevelopmentIntroduction to Mobile Application Development
Introduction to Mobile Application Development
 
Introduction To J2ME(FT - Prasanjit Dey)
Introduction To J2ME(FT - Prasanjit Dey)Introduction To J2ME(FT - Prasanjit Dey)
Introduction To J2ME(FT - Prasanjit Dey)
 
MOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSMOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMS
 
J2me step by step
J2me step by stepJ2me step by step
J2me step by step
 
Mobile Application Development MAD J2ME
Mobile Application Development  MAD J2MEMobile Application Development  MAD J2ME
Mobile Application Development MAD J2ME
 
J2 Me
J2 MeJ2 Me
J2 Me
 
J2me
J2meJ2me
J2me
 
J2me Crash Course
J2me Crash CourseJ2me Crash Course
J2me Crash Course
 
Session1 j2me introduction
Session1  j2me introductionSession1  j2me introduction
Session1 j2me introduction
 
Introduction to java micro edition
Introduction to java micro editionIntroduction to java micro edition
Introduction to java micro edition
 
Mobile Java
Mobile JavaMobile Java
Mobile Java
 
Synopsis on online shopping by sudeep singh
Synopsis on online shopping by  sudeep singhSynopsis on online shopping by  sudeep singh
Synopsis on online shopping by sudeep singh
 
Java2 MicroEdition-J2ME
Java2 MicroEdition-J2MEJava2 MicroEdition-J2ME
Java2 MicroEdition-J2ME
 

More from anupama12369 (11)

Diversity and multiculturalism
Diversity and multiculturalismDiversity and multiculturalism
Diversity and multiculturalism
 
Coordination
CoordinationCoordination
Coordination
 
Controlling
ControllingControlling
Controlling
 
Organizing
OrganizingOrganizing
Organizing
 
Indian ethos
Indian ethosIndian ethos
Indian ethos
 
Diversity and multiculturalism
Diversity and multiculturalismDiversity and multiculturalism
Diversity and multiculturalism
 
Directing
DirectingDirecting
Directing
 
Decision making
Decision makingDecision making
Decision making
 
Staffing
StaffingStaffing
Staffing
 
Functions of management - Planning
Functions of management - PlanningFunctions of management - Planning
Functions of management - Planning
 
Basics of management science
Basics of management scienceBasics of management science
Basics of management science
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

J2ME

  • 1. Java 2 Platform, Micro Edition (J2ME) Masha Gutkhen Keren Gazit
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.  
  • 7.
  • 8.
  • 9. Java Editions Java2 Standard Edition (J2SE™) Java2 Enterprise Edition (J2EE™) Java2 Micro Edition (J2ME™) Java 2 Platform Standard desktop & workstation applications Heavy duty server systems Small & memory constrained devices
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Configurations Connected Limited Device Configuration Connected Device Configuration Configuration CLDC CDC
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. CLDC vs. CDC – J2SE Subset CDC CLDC J2SE
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. Profiles Mobile Information Device Profile Personal Digital Assistant Profile Foundation Profile Personal Basis Profile Personal Profile Profile MIDP PDAP PP PBP FP
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 45. Creating a MIDlet Importing MIDP specific packages import javax.microedition.lcdui.*; import javax.microedition.midlet.*;
  • 46. Creating a MIDlet Extends MIDlet Implements CommandListener public class HelloMIDlet extends MIDlet implements CommandListener {
  • 47. Creating a MIDlet Creating the form, adding the Commands public HelloMIDlet() { mMainForm = new Form("HelloMIDlet"); mMainForm.append(new StringItem(null, "Hello, Seminar Software Design!")); mMainForm.addCommand(new Command("Exit", Command.EXIT, 0)); mMainForm.setCommandListener(this); }
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 65.
  • 66. Where to place your files? external class libraries, (JAR or ZIP) for all KToolbar projects. J2ME/apps/lib source files J2ME/apps/{proj}/src resource files J2ME/apps/{proj}/res external class libraries, (JAR or ZIP) for a specific project J2ME/apps/{proj}/lib JAR, JAD, unpacked manifest files. J2ME/apps/{proj}/bin source, resource, and binary files J2ME/apps/{proj}
  • 67.
  • 68.
  • 69.
  • 70.