Hey I got some sources files for midlet application. How can I compile these to a midlet that I can run on my mobile.
Download Netbeans
Create new project and add your sources to it
Compile and you are done.
I'm going from memory here, it's been a while since I wrote any mobile java.
Firstly, you need to get the J2ME libraries - that's Java2 Mobile Edition*. These contain a subset of the java libraries in addition to some mobile specific packages.
Your application must then implement a class that extends the MIDlet class. The MIDlet class is the interface between the mobile and your application.
Compile and preverify the code, create a manifest and package the whole lot into a JAR file.
Getting the JAR file onto the mobile is very dependant on the handset you're using - not all phone allow you to download applications from a PC, some require special cables.
Here's a site the goes into more detail.
Skizz
- It seems there's been a update to the name since I was writing midlets.