Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

Search: 

  Tutorial: What is the correct form of a MIDlet suite version number?

One character can be the difference between a successful installation and a failed attempt. Check your knowledge of MIDlet versioning.

Tutorial Details:

Question
What is the correct form of a MIDlet suite version number?

Answer
In testing a MIDlet suite recently some inexplicable errors occurred. Sometimes the MIDlet suite would install and run successfully, sometimes it would fail to install. The only clear pattern was that failures were more likely on more recent devices. The failures were not specific to one manufacturer or to one version of the profile, MIDP 1.0 or MIDP 2.0.

After some review, conjecture, and further testing the failure was traced to the value of the MIDlet-Version attribute. When the original value ".8" was changed to "0.8", the suite installed and ran fine on all devices tested.

This experience led to a more detailed investigation into the question: What is a valid version number? The MIDP 1.0 specification (on page 45) and MIDP 2.0 (on page 434) provide the same definition of version number. To quote from the MIDP 2.0 document:


Version numbers have the format Major.Minor[.Micro] (X.X[.X]), where the Micro portion MAY be omitted. (If the .Micro portion is not omitted then it defaults to zero.) In addition, each portion of the version number is allowed a maximum of two decimal digits (i.e. 0-99).

What's missing is an explicit statement of the minimum length of each portion. The note in parentheses "(i.e. 0-99)," is used to support the statement of maximum length.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
What is the correct form of a MIDlet suite version number?

View Tutorial:
What is the correct form of a MIDlet suite version number?

Related Tutorials:

Displaying 1 - 50 of about 2830 Related Tutorials.

Numbers

 
Random numbers - Introduction

 
SMODL Development Suite

 
Midlet Lifecycle

 
What is IPv6?

 
itext version

 
Random numbers - API

 
What is Persistence Framework?

 
Creating Midlet Application For Login in J2ME

 
Get Help MIDlet Example

 
Implementing Conditional Content on a JSP Page

 
Comparing Two Numbers

 
What is SNTP?

 
change pdf version

 
Immutable Image MIDlet Example

 
Date Field Midlet Example

 
Command Midlet Example

 
Media MIDlet Example

 
J2ME Form Class

 
Check Box Midlet Example

 
Form Layout Container

 
What is TTS?

 
Text Field Midlet Example

 
Appending string in J2ME Form

 
What is PGP?

 
What is iPhone SDK?

 
What Is an Exception

 
HTML Post Form

 
Post Method of the Form In JSP

 
What is an Applet

 
Appending Image into the J2ME Form

 
What is Linux?

 
Login Form using Ajax

 
J2ME Timer MIDlet Example

 
Ext Js form example.

 
Multiple form in Jsp

 
Ring Tones MIDlet Example

 
What is POP?

 
Phone Book Midlet Example

 
We are providing Downloadable Version of K12LTSP Linux

 
Developing User Registration Form

 
What is IVR?

 
What is GHz?

 
How To Develop Login Form In Struts

 
Video Player MIDlet Example

 
What is WiMAX?

 
What is HFC?

 
Eclipse Plunging/Systems Development

 
Technology What is and FAQs

 
What is IDSL?

 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.