• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Auto update for j2me

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear all,

Is it possible to do auto update in j2me. For example, when the user run the application, it connects to server to see if there is new version available. If yes, than first step is to inform the user with popup or alarm. The first step is not a problem. The second step is if the user click "update", for ex, than the midlet automatically download and run the new version? is it possible to do the second step automatically or the user have to go to the website and dload the new version manually ? Have you seen in practice any midlet that is able to do auto update like this ?

Best regards.

Van Vu
[ May 22, 2007: Message edited by: Bear Bibeault ]
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See here on the use of MIDlet.platformRequest()

http://developers.sun.com/techtopics/mobility/midp/ttips/platformRequest/index.html

"If the URL points to a MIDlet suite's JAD or JAR file, for example http://www.j2medeveloper.com/ota/basicpush.jad, the platform request is for download and installation of the MIDlet suite, using the platform's normal installation process."

It should work for MIDlet update.
See also the MIDP Javadocs.

Cheers
 
My pie came with a little toothpic holding up this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic