×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jan 2006
    Location
    India
    Posts
    87

    Automatic Version Upgradation

    Hi,
    My application should be upgraded whenever the new version is available in the server.I have a new version jar file in the server.How can i download and automatically install the new one without deleting the exisiting one.........is it possible ......or is there any alternative solution for that....
    If any one had come across this pls share it.
    Thanks & Regards
    kannan
    [kamalinfo2k2@yahoo.com]

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Automatic Version Upgradation

    You could look into PushRegistry (either timed alarms or receiving an SMS to a specific port) to lauch you app and then use platformRequest to download the update

    from platformRequest javadocs:
    "If the URL specified refers to a MIDlet suite (either an Application Descriptor or a JAR file), the application handling the request MUST interpret it as a request to install the named package. In this case, the platform's normal MIDlet suite installation process SHOULD be used, and the user MUST be allowed to control the process (including cancelling the download and/or installation). If the MIDlet suite being installed is an update of the currently running MIDlet suite, the platform MUST first stop the currently running MIDlet suite before performing the update. On some platforms, the currently running MIDlet suite MAY need to be stopped before any installations can occur."

    This won't be completely invisible for the user, and it might be impossible to leave the previous version intact (unless you install a midlet with a new name every time)

    Hartti

  3. #3
    Regular Contributor
    Join Date
    Jan 2006
    Location
    India
    Posts
    87

    Re: Automatic Version Upgradation

    Hi hartti thanks.....i will try using platform request and i will let u know the results..........
    Thanks & Regards
    kannan
    [kamalinfo2k2@yahoo.com]

Similar Threads

  1. setting of Series 60 MIDP SDK for Symbian OS version 1.2 for networking
    By servigo in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2003-07-31, 07:47
  2. latest firmware version for Nokia 7650?
    By ovjo12 in forum Mobile Java General
    Replies: 1
    Last Post: 2003-05-05, 11:55
  3. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46
  4. Questions about version code in MMS protocol
    By wangzhong in forum General Messaging
    Replies: 1
    Last Post: 2002-11-21, 10:32
  5. software version upgradation for Nokia 3310
    By murali_91 in forum Nokia M2M
    Replies: 0
    Last Post: 2002-09-18, 06:15

Posting Permissions

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