×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2005
    Location
    china, guangzhou
    Posts
    4

    Smile Update jar file possilble?

    Hello Everybody

    i have a question about jar file update
    Now i'm developing 1 application, problem is
    this application need to be update monthly

    But here mobile circumstance, can't do that.

    So only way is if user run application, check
    server there is new version or not, and if have
    Update is best way.

    I saw msn mobile version can do this.

    But i can't find out how to do this.
    Can help me?

    Thanks

  2. #2
    Regular Contributor
    Join Date
    Jan 2005
    Location
    France, Paris
    Posts
    56

    Re: Update jar file possilble?

    On some phones, the user can update the application manually, if the application was installed via OTA (I guess the phone saves the jad url, then it compares the midlet version): the user just have to go to the application menu and check the right option.

    Otherwise, your server solution seems alright. Then if there is a new version of your application, you'll use the midp2 method, MIDlet.platformRequestion(JAD_URL), to "update" the application. Actually it reinstalls the app again, and it may ask you if you want to keep the former RMS data.

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    23

    Question Re: Update jar file possilble?

    hey can you tell me how you have done automatic midlet updation by coding ?

    i have installed my application via ota and wants to update it's version without uninstalling existing app. so how could i do this ?

    plz help me

    thanking you

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

    Re: Update jar file possilble?

    Hi nekinpatel,

    This is what canard_42 talked about.

    Invoking Platform Services in MIDP 2.0
    http://developers.sun.com/techtopics...est/index.html

    Note that it is MIDlet.platformRequest and not MIDlet.platformRequestion as below

    Hope it helps
    Juarez Alvares Barbosa Junior - Brazil

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    23

    Re: Update jar file possilble?

    thanks

    it worked perfectly..!!

    hey i am very happy.. thanks again.

Similar Threads

  1. S60 2nd edition FP3 SDK reports error in jar file entry
    By iwmonkey in forum Mobile Java Tools & SDKs
    Replies: 12
    Last Post: 2010-03-11, 01:39
  2. Can't include png file into jar file when create MIDlet suite
    By hi_sailom in forum Mobile Java Tools & SDKs
    Replies: 7
    Last Post: 2008-08-01, 04:07
  3. downloading jar file...
    By jeremiah05 in forum Mobile Java General
    Replies: 4
    Last Post: 2006-05-13, 08:16
  4. Jar file contains a lot of stuff
    By LiveRock in forum Mobile Java General
    Replies: 1
    Last Post: 2006-04-14, 09:20
  5. JAR file ok imulator but invalid in 3510i
    By ulysseo42 in forum Mobile Java General
    Replies: 2
    Last Post: 2003-04-07, 09:13

Posting Permissions

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