Once the Asha SDK 1.0 for Java is installed you can start creating your apps immediately. This page guides you through creating a project in the Nokia IDE for Java ME and adding a code template to create a basic but working app.
Create and code your project:1. Create a MIDlet Project from the New option on the File menu. |
Step-by-step — Create and code your project
Step 1 — Create a MIDlet Project from the New option on the File menu.
A Nokia IDE for Java ME project contains the information about your app's source files and the Java ME environment it's being created for. To create a project, on the File menu point to New and click MIDlet Project. The New MIDlet Project dialogue displays. Name your project.

Step 2 — Add additional SDKs
You may wish to add the SDKs for an Asha phone you own or for other platforms or phones you want to target. To do this click Device SDK Selector. The selector provides you with options to select an SDK by phone model, by screen resolution, by form factor, and by searching for specific capabilities that you want to code against.

Click Details to get more information on the SDK and a link to the SDK's release notes. Click Install to download and install the SDK and repeat this for all the additional SDKs you want to install.
Once you have installed any additional SDKs you can click Edit to adjust each SDK's features, such as the launch command and installed libraries, but to get started you need only click Finish in the New MIDlet Project dialogue to create the MIDlet project.
Step 3 — Add a Java ME MIDlet from the New option on the File menu.
Now you add a MIDlet to the project, on the File menu point to New and click Java ME MIDlet. The New Java MIDlet dialogue displays. Provide a Package Name and Name for your MIDLet. Click Next.
You now have the option to include a number of application templates in the MIDlet you create. To simplify this getting started use one, in this case the Game Template. (Once you have completed the getting started you may wish to return and explore these templates, in particular you may wish to note that templates using in-app purchasing and Nokia Ad Exchange are included.)

Click Finish to create the MIDlet .
Step 4 — Add your code
For your own app you would now add the code you need to implement the app's functionality. In this case the template provides a working app, so you don't need to change it.
Now you can build the app and run it in the emulator ›

