×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    18

    avoid multiple versions of the same application on the phone

    Hi

    whenever I upload a new version, of the application that I currently develop, the old version stays on the phone and I have my application a second, third ... time on my phone.
    The .Jar file always has the same name and the main class is the same, too.
    On SonyEricsson or Motorla phones the newest version always overwrites the older version (after asking). How can I accomplish this on Nokia phones?

    Thanks in advance
    Christoph

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: avoid multiple versions of the same application on the phone

    Hi Christoph,

    "The .Jar file always has the same name and the main class is the same, too."
    You should check the MIDlet-Version (mandatory in JAD, optional in manifest) attribute.

    "On SonyEricsson or Motorla phones the newest version always overwrites the older version (after asking). How can I accomplish this on Nokia phones?"
    Overwriting is the standard behavior of Nokia as well provided that you are doing it right.

    Hope this helps!
    Juarez Alvares Barbosa Junior - Brazil

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    pengox, are you using Nokia Series 40 3rd Edition and Bluetooth OBEX Push for transferring your MIDlet? Yepp, that is complete chaos. Does it happen over HTTP, too?

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    18

    Re: avoid multiple versions of the same application on the phone

    @traud - yes the Problem only occurs on S40 3rd. Edition.
    Add it happens over HTTP.

    Is there any solution to the problem?

    PengoX

  5. #5
    Registered User
    Join Date
    Feb 2006
    Location
    Brazil
    Posts
    523

    Re: avoid multiple versions of the same application on the phone

    Quote Originally Posted by pengox View Post
    Hi

    whenever I upload a new version, of the application that I currently develop, the old version stays on the phone and I have my application a second, third ... time on my phone.
    The .Jar file always has the same name and the main class is the same, too...
    check the string
    Code:
    MIDlet-Name: <Application Name>
    inside the manifest file and inside .jad file (if you're using .jad to install your application)

    Make it sure <Application Name> is always the same throughout all versions of your application.


    Best regards
    Http_user_agent:
    NokiaN80-1/3.0 (4.0707.0.7)
    Series60/3.0
    Profile/MIDP-2.0
    Configuration/CLDC-1.1

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    Quote Originally Posted by pengox View Post
    Add it happens over HTTP.
    Delete all versions and download your application from a HTTP server, then download a new version from a HTTP server. Does this cause the same problem?

Similar Threads

  1. Replies: 0
    Last Post: 2003-12-30, 20:32
  2. Replies: 1
    Last Post: 2003-12-22, 13:11

Posting Permissions

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