File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes How to transfer a program to a real phone? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to transfer a program to a real phone?" Watch "How to transfer a program to a real phone?" New topic

How to transfer a program to a real phone?

Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
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.

SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
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

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
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.

I agree. Here's the link:
subject: How to transfer a program to a real phone?
It's not a secret anymore!