Click here to Skip to main content
13,353,124 members (64,362 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


9 bookmarked
Posted 22 Nov 2009

Creating Softbank Mobile Phone Applications (J2ME)

, 22 Nov 2009
Rate this:
Please Sign up or sign in to vote.
How to create S!Applications for Softbank Mobile Phones


This article will demonstrate how to build an application for Softbank mobile phones (S!Application) using J2ME. It assumes no prior development experience and should be relatively easy to follow even for beginners.

Development Environment Setup

  1. Download and install a Java SE Development Kit (version 1.4.2 or above)
  2. Download and install Eclipse (Classic)
  3. Download and install the MEXA SDK*
  4. Download and install the MEXA SDK Eclipse Plugin*

* Can be downloaded from the S!Application Development Tools page of the Softbank Mobile Creation site (free registration required, site in Japanese only.)

Creating the Project

  1. Create an empty MEXA project in Eclipse:

    Select “File” -> “New” -> “Other” -> “MEXA” -> “MEXA Project”

    Enter your project name and press “Next.” On the second panel, set the executable path to the MEXA Emulator directory and the build class path to the MEXA library:

    Executable path: \Program Files\SOFTBANK_MEXA_EMULATOR23

    Build class path: \Program Files\SOFTBANK_MEXA_EMULATOR23\lib\

    Click “Finish” once completed.

  2. Create a new MIDlet class:

    Right-click on the project’s “src” folder and select “New” -> “Class”

    Enter a class name in the “Name” field, enter “javax.microedition.midlet.MIDlet” for the “Superclass,” and click “Finish.”

  3. Configure the jad file:

    Double-click on the project’s “.jad” file and fill out the MIDlet name and vendor fields. Check the “use” check box next to your new class and add an application name.

Adding Source Code

  1. Add the two following lines to the top of your source file:
    import javax.microedition.lcdui.Display;
    import javax.microedition.lcdui.Form; 
  2. Add the following code to the startApp function:
    Form form = new Form("");
    form.append("Hello World");

Running the Application in the Emulator

  1. Configure MEXA emulation settings for your project:

    Right-click on your top project folder and select “Properties”.

    In the “MEXA Emulation Settings” window, set the MEXA Emulator project path to the “.jar” file created by your current project. You can find this path by right-clicking on the jar file in the Eclipse project window and checking the location label.

  2. Create a new run configuration:

    Select “Run” -> “Run Configurations”.

    Double-click on “MEXA Emulator - MEXA” and select your current project in the settings window. Click “Apply” and then “Run” to launch your application in the emulator.


  • 22 November 2009 - Initial version


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Scott Lupton
Software Developer
Japan Japan
I'm an American, bilingual software development engineer based in Tokyo, Japan.

You may also be interested in...


Comments and Discussions

GeneralMy vote of 2 Pin
Trollslayer22-Nov-09 14:23
mentorTrollslayer22-Nov-09 14:23 
GeneralRe: My vote of 2 Pin
Scott Lupton15-May-10 19:55
memberScott Lupton15-May-10 19:55 
Very good point. I initially considered mirroring the download to the MEXA SDK but unfortunately, that's very much against the EULA (and I can't find it available anywhere else). I'll see if I can put together some sort of explanation of how to register. Thanks for the advice.
General[My vote of 2] Not enough detail Pin
Richard MacCutchan22-Nov-09 5:52
memberRichard MacCutchan22-Nov-09 5:52 
GeneralRe: [My vote of 2] Not enough detail Pin
Scott Lupton15-May-10 20:11
memberScott Lupton15-May-10 20:11 
GeneralRe: [My vote of 2] Not enough detail Pin
Richard MacCutchan23-May-10 4:01
mvpRichard MacCutchan23-May-10 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.180111.1 | Last Updated 22 Nov 2009
Article Copyright 2009 by Scott Lupton
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid