MIDP 2.0: A Matter Of Trust

April 14, 2003
Targeting MIDP mobile devices like cell phones and PDAs, the MIDP 1.0 specification provided a starting point for MIDlets (MIDP application packages). But basic security and user-interface support limited MIDlet use. MIDP 2.0 solves these problems by...

Targeting MIDP mobile devices like cell phones and PDAs, the MIDP 1.0 specification provided a starting point for MIDlets (MIDP application packages). But basic security and user-interface support limited MIDlet use. MIDP 2.0 solves these problems by providing support for MIDlet authentication, improved network connectivity, and better user-interface support such as sound and graphics. MIDP is designed to run on top of the Connected Limited Device Configuration (CLDC).

The CLDC is just one part of J2ME (Java 2 Micro Edition). It provides minimal Java support and can be extended by adding profiles such as MIDP. MIDP 2.0 adds a number of packages that enable network access, user interface, device control, and security. Though MIDP 1.0 included much of these capabilities, it wasn't as functional. It also lacked the security features available in MIDP 2.0.

To keep MIDP 1.0 systems secure, designers had to minimize access to system services. This sandbox approach to security is good but limiting. MIDP 2.0 can give trusted MIDlets access to more services. For example, a MIDP 1.0 MIDlet couldn't access a remote server while a MIDP 2.0 MIDlet may if it has the proper authorization. This enhanced security is handled via digital signatures and the Public Key Infrastructure (PKI) support. A device will authenticate MIDlet signatures prior to providing access to services.

The added security features makes the new HTTPS support possible. MIDP 1.0 only offered HTTP links. Secure links to remote servers is necessary for a range of applications from banking to game play.

BUILDING GAME MIDLETS Game developers are very interested in moving from MIDP 1.0 to MIDP 2.0. Joe Sengir, senior programmer at Sennari Inc. (www.sennarigames.com), says that the improved LCD support and new sound capability on MIDP 2.0 will greatly enhance the games that can be delivered. The sound support is a subset of the Mobile Media API. The ability to access palettes and image arrays directly will bring games to a whole new level. Of course, this means the platforms will have to support MIDP 2.0.

Another good reason to hasten the migration to MIDP 2.0 is the form enhancements. The form support is part of the LCD user-interface package. It includes new layout features and minimum and preferred sizes for controls. This is important for running MIDlets on platforms that have different screen characteristics.

The MIDP 2.0 specification can be found at www.jsr.com.

MIDP 2.0 PACKAGES
io Network I/O
lcdui LCD User Interface
lcdui.game LCD User Interface for Games
media Media
media.control Media Control
midlet MIDP application packages
pki X.509 Public Key Infrastructure
rms Record management system
About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!