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

Mobile operating system..
Mobile operating system..Mobile operating system..
Mobile operating system..
Aashish Uppal
 
CISC VS CISC
CISC VS CISCCISC VS CISC
Object oriented methodologies
Object oriented methodologiesObject oriented methodologies
Object oriented methodologies
naina-rani
 
Digital image processing question bank
Digital image processing question bankDigital image processing question bank
Digital image processing question bank
Yaseen Albakry
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
Gichelle Amon
 
File system in iOS
File system in iOSFile system in iOS
File system in iOS
Purvik Rana
 

What's hot (20)

Mobile operating system..
Mobile operating system..Mobile operating system..
Mobile operating system..
 
CISC VS CISC
CISC VS CISCCISC VS CISC
CISC VS CISC
 
Object oriented methodologies
Object oriented methodologiesObject oriented methodologies
Object oriented methodologies
 
Fundamental steps in image processing
Fundamental steps in image processingFundamental steps in image processing
Fundamental steps in image processing
 
Sgml
SgmlSgml
Sgml
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Edge detection
Edge detectionEdge detection
Edge detection
 
Digital image processing question bank
Digital image processing question bankDigital image processing question bank
Digital image processing question bank
 
J2EE Architecture Explained
J2EE  Architecture ExplainedJ2EE  Architecture Explained
J2EE Architecture Explained
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Image compression standards
Image compression standardsImage compression standards
Image compression standards
 
File system in iOS
File system in iOSFile system in iOS
File system in iOS
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Arm processors' architecture
Arm processors'   architectureArm processors'   architecture
Arm processors' architecture
 
COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I
 
Symbian Operating system
Symbian Operating systemSymbian Operating system
Symbian Operating system
 
Ooad notes
Ooad notesOoad notes
Ooad notes
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Image processing sw & hw
Image processing sw & hwImage processing sw & hw
Image processing sw & hw
 
JMS-Java Message Service
JMS-Java Message ServiceJMS-Java Message Service
JMS-Java Message Service
 

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
 
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
 
Ch4
Ch4Ch4
Ch4
 

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
 
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
 
Parallelogram by using j2 me j2me.shahid
Parallelogram by using j2 me j2me.shahidParallelogram by using j2 me j2me.shahid
Parallelogram by using j2 me j2me.shahid
 

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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
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...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field 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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
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.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

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.