Home > Mobile Computing Tips > > A quick look at MIDP 2.0
Mobile Computing Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


A quick look at MIDP 2.0


Bryan Morgan
12.11.2003
Rating: -4.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


The J2ME Mobile Information Device Profile (MIDP) is poised to become the dominant mobile computing platform, as it rounds out the industry's leading application platform. In this tip, excerpted from InformIT, you can discover its new features and why J2ME MIDP is moving to the forefront of the wireless platform field.


MIDP 2.0 is fully defined in the Java Community Process' JSR 118, and the complete specification can be downloaded from the JCP site. MIDP 2.0 is also a key component of Sun's Java Technology for the Wireless Industry (JTWI) roadmap (JSR 185), which also includes the J2ME Wireless Messaging API (for SMS messaging) and (optionally) the J2ME Multimedia API (JSR 135) and CLDC 1.1. This roadmap represents Sun's (and other key industry partners such as Motorola, Nokia, and Sony Ericsson) vision of a common platform for wireless devices featuring MIDP 2.0 as the technological centerpiece.

MIDP 2.0 itself fills a great deal of the holes left by the 1.0 release. Application delivery and billing are now handled through the specification's Over-The-Air Provisioning capabilities. The runtime MIDlet model has been improved beyond the 1.0 concept of simple untrusted MIDlets that were unable to access any APIs or device functionality outside the MIDlet's own runtime sandbox. MIDP 2.0 introduces the concept of trusted MIDlet suites, which make use of "protection domains" via an X.509 public key infrastructure.

MIDP 2.0 MIDlets can be digitally signed and verified, and individual APIs can be access-controlled using a data policy file. HTTP and HTTPS networking is now supported, as are datagram, socket, and server socket connections—all huge steps forward over the original capabilities. An additional connectivity improvement is an API for accessing serial ports on a device. This is especially important for devices with attached GPS receivers or bar code scanners. The capability to read from the serial port means that even a simple J2ME application now supports the delivery of location-based services.

The MIDP 2.0 Media API (javax.microedition.media) provides much-needed audio generation and playback capabilities, including MIDI playback support. Advanced capabilities of the Media API include video streaming and WAV file support.

Game developers will welcome the new MIDP Game API (javax.microedition.lcdui.game), which includes classes for managing game layers and sprites. The javax.microedition.pki package defines a new X.509 certificate profile that builds on the WAP Certificate Profile. Another interesting new requirement is that the MIDP environment must provide the user with a visual indication of network usage generated by the application. This is a nice feature indeed when you're getting billed by the byte! One final bonus for those who have been living with J2ME shortcomings for some time: CLDC 1.1 (an optional component of the current Java Technology for the Wireless Industry roadmap) will include floating-point support.


To read the entire article from which this tip comes, click over to InformIT. You don't have to register there. You don't give any info, you just get the good stuff.


Rate this Tip
To rate tips, you must be a member of SearchMobileComputing.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Standards and Protocols
Alliance to publish UWB standard
WiMAX group claims rapid growth
Wi-Fi testing finds weak links
Verizon's big plans display wireless evolution
Broadcom to give wireless networks zip
Bluetooth security 'crisis' looming
Vendor encourages mobile device keyboard support
Fighting for 4G's future
National Semi takes on Bluetooth with low-power Wi-Fi
Hot spot roaming spec approved

J2ME
What is Android?
Google Android demonstrated at Google I/O conference
Android-based device prototypes displayed
Android smartphones gain support from big name vendors
Android mobile devices make unofficial appearance
Verizon Wireless to back Android OS
Why Google's Android OS matters
Mobile operating systems -- What's next?
Mobile operating systems: Which mobile device platform fits your strategy?
Mobile platforms: J2ME -- looking for its place in the enterprise
J2ME Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
J2ME  (SearchMobileComputing.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts