• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

deploy midlet

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am writing a midlet which access a servlet on a server. this is the first time i have wrote one and am using sun's emulator to run it but would like to try it on a MIDlet enabled mobile phone - can anybody point me in the direction of where i can get some info on downloading the MIDlet and running it on the phone from my webapp
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are 2 major ways to do this.
First is :
make application package i.e. jad and jar
then use your phone's pc connectivity suit and load the application directly from pc to phone.

Second is :
load your application package onto a wap site and download onto the phone through WAP.
 
tom mcmorrow
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Harish,
i hava followed the second route and after a initial few hicups all seems to be working well -
tom
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it just a case of putting a link to the JAD file in a WAP page and putting that on ur server, and pointing ur phone at the URL of the WAP page.
does this make it download the JAR? or do u have to put a link to the JAR in?
Any help would be much appreciated
Thanks in advance
Matt
 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I put the .jad and .jar on a web server that has the MIME type "text/vnd.sun.j2me.app-descriptor" set. You can use either a page or point directly to the .jad.
The .jad allows the device to discern whether the MIDlet is able to run on the device before downloading the .jar file of the MIDlet. It also allows config attributes to be supplied to the MIDlet(s) without having to modify the .jar file.
hth.
 
We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic