SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
Mobile Information Device
          Profile



            Cornelius Koo - 2005
Hardware Requirements
• Screen dimension at least 96x54 pixels
• At least one type of user input available,
  eg. one handed keyboard
• 128 kb non-volatile memory to run Mobile
  Information Device (MID) components
• At least 8 kb of non-volatile memory for
  applications to store persistent data
• 32 kb of volatile memory to run Java
• Wireless network connectivity
Software Requirements
• OS running on device must provide minimal
  scheduling, exception handling and processing
  of interrupts.
• Able to run JVM
• Must support writing of bitmapped graphics to
  the display
• The software must accept input and pass the
  information to the JVM
• able to read and write to/from non-volatile
  memory
MIDP Architecture




OEM = Original Equipment Manufacturer
MIDlet & MIDlet Suite
• MIDlet : Java App. Designed to be run on
  mobile application
• MIDlet Suite : Consists of on or more
  MIDlet packaged on .jar file
Application Manager
• Software on a mobile device that is
  responsible for installing, running and
  removing MIDlets
• This software is device-dependent
Application Manager
• When Application Manager runs it will
  make these available :
• Access to CLDC & JVM
• Access to MIDP defined class
• Access to JAR file
• Access to Java Application Descriptor File
MIDlet Java Archive (JAR)
Six Must-Exist Entry
•   MIDlet-Name
•   MIDlet-Version
•   MIDlet-Vendor
•   MIDlet-<n>
•   MicroEdition-Profile
•   MicroEdition-Configuration

Must exist in the Manifest file
JAR MIDlet Attributes
Example
Manifest-Version: 1.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Name: Basic Midlets Midlet Suite
MIDlet-Vendor: Midlet Suite Vendor
MIDlet-1: HelloWorld,,HelloWorld
MIDlet-2: HelloWorld,,HelloWorld
MIDlet-3: HelloWorld2,,HelloWorld2
MIDlet-Version: 1.0.1
MicroEdition-Profile: MIDP-2.0
Java Application Descriptor
           (JAD)
Why JAD ?
• Provide the application manager with
  information about the contents of a JAR,
  so that it can decide whether a MIDlet
  suitable to run on the device or not.

• Provide a means for parameters to be
  passed to a MIDlet without changing the
  JAR file.
Must-Exist Entry
•   MIDlet-Name
•   MIDlet-Version
•   MIDlet-Vendor
•   MIDlet-<n>
•   MIDlet-Jar-URL
•   MIDlet-Jar-Size
JAD MIDlet Attributes
Example
MIDlet-Jar-Size: 1783
MIDlet-1: HelloWorld,,HelloWorld
MIDlet-2: HelloWorld,,HelloWorld
MIDlet-3: HelloWorld2,,HelloWorld2
MIDlet-Jar-URL: Basic_Midlets.jar
MicroEdition-Configuration: CLDC-1.0
MIDlet-Version: 1.0.1
MIDlet-Name: Basic Midlets Midlet Suite
MIDlet-Vendor: Midlet Suite Vendor
MicroEdition-Profile: MIDP-2.0
Reference
• Core J2ME Technology and MIDP. John
  W. Muchow. Prentice Hall PTR, 2002.

Más contenido relacionado

Similar a 03 midp

Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)
Wambua Wambua
 
Android operating system
Android operating systemAndroid operating system
Android operating system
Dev Savalia
 

Similar a 03 midp (20)

J2me Platform
J2me PlatformJ2me Platform
J2me Platform
 
Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)
 
Java ME CLDC MIDP
Java ME CLDC MIDPJava ME CLDC MIDP
Java ME CLDC MIDP
 
J2ME mobile app development
J2ME mobile app developmentJ2ME mobile app development
J2ME mobile app development
 
J2ME
J2MEJ2ME
J2ME
 
J2ME
J2MEJ2ME
J2ME
 
Introduction to java micro edition
Introduction to java micro editionIntroduction to java micro edition
Introduction to java micro edition
 
Session1 j2me introduction
Session1  j2me introductionSession1  j2me introduction
Session1 j2me introduction
 
06 Eclipse ME
06 Eclipse ME06 Eclipse ME
06 Eclipse ME
 
Chapter 11:Understanding Client-Side Technologies
Chapter 11:Understanding Client-Side TechnologiesChapter 11:Understanding Client-Side Technologies
Chapter 11:Understanding Client-Side Technologies
 
2 mobile development frameworks and tools dark temp
2   mobile development frameworks and tools dark temp2   mobile development frameworks and tools dark temp
2 mobile development frameworks and tools dark temp
 
MOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMSMOBILE APPs DEVELOPMENT PLATFORMS
MOBILE APPs DEVELOPMENT PLATFORMS
 
01 java 2 micro edition
01 java 2 micro edition01 java 2 micro edition
01 java 2 micro edition
 
Java2 MicroEdition-J2ME
Java2 MicroEdition-J2MEJava2 MicroEdition-J2ME
Java2 MicroEdition-J2ME
 
Android operating system
Android operating systemAndroid operating system
Android operating system
 
Introduction to Mobile Application Development
Introduction to Mobile Application DevelopmentIntroduction to Mobile Application Development
Introduction to Mobile Application Development
 
ANDROID- AN OPEN MOBILE SOFTWARE PLATFORM
ANDROID- AN OPEN MOBILE SOFTWARE PLATFORMANDROID- AN OPEN MOBILE SOFTWARE PLATFORM
ANDROID- AN OPEN MOBILE SOFTWARE PLATFORM
 
J2 me 1
J2 me 1J2 me 1
J2 me 1
 
Java J2ME
Java J2MEJava J2ME
Java J2ME
 
Session 3 J2ME Mobile Information Device Profile(MIDP) API
Session 3 J2ME Mobile Information Device Profile(MIDP)  APISession 3 J2ME Mobile Information Device Profile(MIDP)  API
Session 3 J2ME Mobile Information Device Profile(MIDP) API
 

Más de corneliuskoo

Más de corneliuskoo (13)

Basic JSTL
Basic JSTLBasic JSTL
Basic JSTL
 
Expression Language in JSP
Expression Language in JSPExpression Language in JSP
Expression Language in JSP
 
JSP
JSPJSP
JSP
 
Html Hands On
Html Hands OnHtml Hands On
Html Hands On
 
13 Low Level UI Event Handling
13 Low Level UI Event Handling13 Low Level UI Event Handling
13 Low Level UI Event Handling
 
12 High Level UI Event Handling
12 High Level UI Event Handling12 High Level UI Event Handling
12 High Level UI Event Handling
 
09 Display
09 Display09 Display
09 Display
 
08 Midlet Basic
08 Midlet Basic08 Midlet Basic
08 Midlet Basic
 
07 Midlet On The Web
07 Midlet On The Web07 Midlet On The Web
07 Midlet On The Web
 
05 J2ME Wtk Command Line
05 J2ME Wtk Command Line05 J2ME Wtk Command Line
05 J2ME Wtk Command Line
 
04 J2ME Wireless Tool Kit
04 J2ME Wireless Tool Kit04 J2ME Wireless Tool Kit
04 J2ME Wireless Tool Kit
 
02a cldc property support
02a cldc property support02a cldc property support
02a cldc property support
 
02 cldc
02 cldc02 cldc
02 cldc
 

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 

03 midp

  • 1. Mobile Information Device Profile Cornelius Koo - 2005
  • 2. Hardware Requirements • Screen dimension at least 96x54 pixels • At least one type of user input available, eg. one handed keyboard • 128 kb non-volatile memory to run Mobile Information Device (MID) components • At least 8 kb of non-volatile memory for applications to store persistent data • 32 kb of volatile memory to run Java • Wireless network connectivity
  • 3. Software Requirements • OS running on device must provide minimal scheduling, exception handling and processing of interrupts. • Able to run JVM • Must support writing of bitmapped graphics to the display • The software must accept input and pass the information to the JVM • able to read and write to/from non-volatile memory
  • 4. MIDP Architecture OEM = Original Equipment Manufacturer
  • 5. MIDlet & MIDlet Suite • MIDlet : Java App. Designed to be run on mobile application • MIDlet Suite : Consists of on or more MIDlet packaged on .jar file
  • 6. Application Manager • Software on a mobile device that is responsible for installing, running and removing MIDlets • This software is device-dependent
  • 7. Application Manager • When Application Manager runs it will make these available : • Access to CLDC & JVM • Access to MIDP defined class • Access to JAR file • Access to Java Application Descriptor File
  • 9. Six Must-Exist Entry • MIDlet-Name • MIDlet-Version • MIDlet-Vendor • MIDlet-<n> • MicroEdition-Profile • MicroEdition-Configuration Must exist in the Manifest file
  • 11. Example Manifest-Version: 1.0 MicroEdition-Configuration: CLDC-1.0 MIDlet-Name: Basic Midlets Midlet Suite MIDlet-Vendor: Midlet Suite Vendor MIDlet-1: HelloWorld,,HelloWorld MIDlet-2: HelloWorld,,HelloWorld MIDlet-3: HelloWorld2,,HelloWorld2 MIDlet-Version: 1.0.1 MicroEdition-Profile: MIDP-2.0
  • 13. Why JAD ? • Provide the application manager with information about the contents of a JAR, so that it can decide whether a MIDlet suitable to run on the device or not. • Provide a means for parameters to be passed to a MIDlet without changing the JAR file.
  • 14. Must-Exist Entry • MIDlet-Name • MIDlet-Version • MIDlet-Vendor • MIDlet-<n> • MIDlet-Jar-URL • MIDlet-Jar-Size
  • 16. Example MIDlet-Jar-Size: 1783 MIDlet-1: HelloWorld,,HelloWorld MIDlet-2: HelloWorld,,HelloWorld MIDlet-3: HelloWorld2,,HelloWorld2 MIDlet-Jar-URL: Basic_Midlets.jar MicroEdition-Configuration: CLDC-1.0 MIDlet-Version: 1.0.1 MIDlet-Name: Basic Midlets Midlet Suite MIDlet-Vendor: Midlet Suite Vendor MicroEdition-Profile: MIDP-2.0
  • 17. Reference • Core J2ME Technology and MIDP. John W. Muchow. Prentice Hall PTR, 2002.