< Index | Tutorial 0 : Getting Started

Tutorial 0 : Getting Started

This section provides a quick tour to get you up and running with the Kuix framework.
It defines the component approach used in Kuix and will help you to configure your IDE with Kuix. Then, it will provide the keys to understand the global structure of the framework through the introduction of both interface design approach and the event processor.

Framework components

What does the framework contains? What is its structure?

Check the API Reference.

Using Kuix with Netbeans

  1. Download and install your IDE:

    Start installing WTK on your system.

  2. Open NetBeans and create a new J2ME project

    Create Project

  3. Select Mobility > MIDP Application and click next

    Create Project

  4. Set the project's name and uncheck Create Hello MIDlet and click next

    Create Project

  5. Select the default platform and click finish

    Create Project

  6. Right click on your fresh created project and select Properties. In the dialog window, select Libraries & Resources and click on Add Jar/Zip. Navigate to the files (kuix.jar and kutil.jar) you have downloaded at step 1.

    Link to Kuix

  7. Right click on your project ans select New / Java class.

    Export Kuix libraries

    Create Project

  8. Edit the new class source code and make your class extends org.kalmeo.kuix.core.KuixMIDlet.

    Export Kuix libraries

  9. Right click on your project and select Properties. In the dialog window, select Application descriptor and click on the MIDlet tab, then click the Add button, and fill textfileds as you can see in the below image.

    Export Kuix libraries

  10. Congratulation, your project is ready to work with Kuix

Using Kuix with EclipseME

  1. Download and install your IDE:

    Start installing WTK on your system.
    Install Eclipse with the mobile extension of your choice (EclipseME for instance).

  2. Open Eclipse and create a new J2ME project

    Create Project

  3. Set the project's name and click next

  4. On the Java Settings screen, select the Libraries tab and click add JARs... (or add External JARs... depending if you have saved Kuix and Kutil in your workspace or not). Navigate to the file you have downloaded at step 1.

    Link to Kuix

    Link to Kuix

  5. Export Kuix with your project to include the framework in your JAR

    Export Kuix libraries

  6. Congratulation, your project is ready to work with Kuix


Go forward, create your first Kuix application : Tutorial 1.