You Are Here:

Community: Developer Discussion Boards

#1 Old Automatic Version Upgradation - 2006-08-08, 11:11

Join Date: Jan 2006
Posts: 87
Location: India
Send a message via Skype™ to kamalinfo2k2@yahoo.com
kamalinfo2k2@yahoo.com's Avatar
kamalinfo2k2@yahoo.com
Offline
Regular Contributor
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]
Reply With Quote

#2 Old Re: Automatic Version Upgradation - 2006-08-08, 23:27

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#3 Old Re: Automatic Version Upgradation - 2006-08-10, 06:51

Join Date: Jan 2006
Posts: 87
Location: India
Send a message via Skype™ to kamalinfo2k2@yahoo.com
kamalinfo2k2@yahoo.com's Avatar
kamalinfo2k2@yahoo.com
Offline
Regular Contributor
Hi hartti thanks.....i will try using platform request and i will let u know the results..........


Thanks & Regards
kannan
[kamalinfo2k2@yahoo.com]
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
setting of Series 60 MIDP SDK for Symbian OS version 1.2 for networking servigo Mobile Java Networking & Messaging & Security 2 2003-07-31 08:47
latest firmware version for Nokia 7650? ovjo12 Mobile Java General 1 2003-05-05 12:55
nokia 7210 modem via IR doesn't work ! oussamaaiadi PC Suite API and PC Connectivity SDK 1 2003-03-06 11:46
Questions about version code in MMS protocol wangzhong General Messaging 1 2002-11-21 11:32
software version upgradation for Nokia 3310 murali_91 Nokia M2M 0 2002-09-18 07:15

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia