×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2008
    Location
    Surat Thani
    Posts
    260

    Uniqueness of midlet suite

    Hi,

    I'm preparing to publish an application with two different versions (Normal and Lite). Basically the only difference between them is the name of the application and content of data files included in the package - the two versions can even use the exact same midlet class.

    I couldn't find any info about how phones uniquely identify midlet suites, eg. check whether a JAD/JAR being installed to the device is a new midlet suite or update to an existing one, so I tried on two devices (unsigned apps, installed via Nokia Suite, same MIDlet-Vendor in all tests):

    Asha 310:
    Installing same midlet suite with different JAD/JAR filename creates a new application on the device, no matter what the MIDlet-Name is. Reinstalling with same filename updates/reinstalls the existing suite.

    Nokia 808 Pureview:
    Midlet suites seem to be identified by MIDlet-Name specified in Manifest. Filename of the installed JAD/JAR is not taken into account.

    Can this result be generalized to other Nokia devices too, meaning two JARs will be seen as different midlet suites on all devices if the MIDlet-Name AND JAD/JAR filenames are different (and same if both of those match)? Or can something else (midlet class name/package or signature?) affect the detection as well?

    Also, for Nokia Publish / Nokia Store on S40, does this mean that as a publisher, when uploading a new version of an existing app, I have to always upload JAR file with the same filename as the previous version, to avoid duplicates being created on S40 devices if user updates/redownloads? For Symbian apps, I've been including version number in SIS file names, just to make it easy to check that I actually uploaded the correct version.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: Uniqueness of midlet suite

    Quote Originally Posted by TongMuan View Post
    Asha 310: Installing same midlet suite with different JAD/JAR filename creates a new application on the device, no matter what the MIDlet-Name is.
    Was this via HTTP or Bluetooth?

  3. #3
    Registered User
    Join Date
    May 2008
    Location
    Surat Thani
    Posts
    260

    Re: Uniqueness of midlet suite

    Quote Originally Posted by traud View Post
    Was this via HTTP or Bluetooth?
    Using Nokia Suite. But you're right, HTTP is a better way of testing when trying to the predict behavior for Nokia Store downloads/updates.

    I installed the same packages from a web server, and via HTTP also Asha 310 seems to use MIDlet-Name field to check whether a midlet suite has already been installed. The check works fine also for suites with same MIDlet-Name, which were previously previously installed via Nokia Suite (says its an update instead of new installation), however, if I install an application via HTTP first and then install the same package again via Nokia Suite, there'll be two duplicate versions of the same app installed. This (and the original finding of JAD/JAR filename being used to check duplicates) seems to be just a "feature" in installations via Nokia Suite.

    So, it seems that using different MIDlet-Name value is enough to make two packages to be seen as different applications.

Similar Threads

  1. Launch another midlet from a midlet/Midlet Suite/Wrapper
    By playplay1978 in forum Mobile Java General
    Replies: 1
    Last Post: 2010-11-18, 15:08
  2. Replies: 4
    Last Post: 2009-07-10, 12:07
  3. phone's Uniqueness
    By sushant_125 in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2005-02-07, 22:46
  4. phone Uniqueness
    By sushant_125 in forum Mobile Java General
    Replies: 0
    Last Post: 2005-02-07, 06:45
  5. Uniqueness of Nokia devices
    By J_Thornton in forum Mobile Java General
    Replies: 0
    Last Post: 2002-07-01, 13:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×