Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to transfer a program to a real phone?

 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
With the help of the Javaranch friend, I was able to run my first program with the use of wireless toolkit, Now my problem is how to transfer it to a real phone and run it. If I transfer it using a data cable or using the IR port where does the program get installed?
Thank you very much.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MIDP applications are generally transferred to the mobile over the air.
In other words, you need to:
1) Create a JAD file which describes your application and points to the download URL for the application's JAR file
2) Deploy the JAD and JAR files on a web server accessible over public Internet
3) Type the URL for the JAD file into your phone's WAP browser
4) Click "ok" or "install" or whatever the installer asks
 
James Hodgkiss
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may also be able to transfer the midlet to your phone directly from your PC - check the CD that came with your phone, and you may also need a cable if IR or Bluetooth isn't supported.

For Nokia phones, midlets are stored in either the phone's Games or Applications folder. I think there is a field in the JAD where you can specify which. I think the default is usually the Applications folder.

Cheers,
James
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic