Step-by-step — Run your app on a phone
Step 1 — Package the app
First you have to package the MIDlet, which you do by clicking Create package in the MIDlet project’s overview page.
In the MIDlet Package Export dialogue select the Use Deployment directory option.
Click Finish, and your app’s packages are built and saved into the MIDlet project.
Step 2 — Copy your app to your phone
You can now deploy the app to your phone. These instructions apply to a Nokia Asha platform phone, but a similar process can be used for other Asha and Series 40 phones. First connect your phone to your PC using a USB cable and, when prompted, select the Mass storage option on the phone. From the Projects list in Nokia IDE for Java ME copy your app’s JAD and JAR files to the my_downloads folder on the phone’s memory card. Once the files have been copied, disconnect the phone from the USB cable.
You can also send the files over a Bluetooth connection if you wish.
Step 3 — Install the app on your phone
Now you need to install the application. To do this, on your phone open the Files app then locate the app’s JAD file in the Downloads folder of the Memory card. Tap the JAD item to start the installation process.
If you used a Bluetooth connection to transferred the files they’ll be listed in the timeline home screen and can be installed from there.
Step 4 — Run your app
You can now run the app from on the phone’s App launcher home screen, as shown below, simply scroll down to find your app then tap your app to run it.
You have now seen how to create an environment for developing Java app for Nokia Asha platform phones. You installed the Nokia Asha SDK, created a MIDlet from a template in the Nokia IDE for Java ME, ran it in the SDK emulator, and then copied and ran the same app on your Nokia Asha platform phone. You’re now ready to use your Java skills to create applications for Nokia Asha platform phones.
Step 5 — Test against the Unified Testing Criteria
While you don’t need to undertake any additional testing to complete this getting started, when you are building your first real app you’ll need to ensure it complies with Unified Testing Criteria of the Java Verified Initiative.
Find out about submitting your application to Nokia Store ›
Find more the Java learning resources ›