-
Notifications
You must be signed in to change notification settings - Fork 1
Developing
We are adding new information every day, the documentation will be completed soon. We appreciate your understanding
Before you start, we recommend you to use the following:
On Windows:
For J2ME app development
- NetBeans IDE 6.9.1 with J2ME support / Java
- Notepad++
- Mysysgit (Git for windows)
Server development
- Microsoft Visual C# Express 2010
Download the lastest Git, you will find the following folders
- source: contains the J2ME app source
- libs: contains used libs (LWUIT)
- demo: pre-compiled app demo
- server: contains server side source files
- Open Netbeans (as Administrator) and click File/Open Project or press CTRL+SHIFT+O.
- Locate the 'source' folder you have pulled from git (or github) and click Open Project
- Click on Project Configuration/DefaultConfiguration and right click Resources
- Select Add Jar/Zip and locate LWUIT.jar inside libs folder, click Open
If everything is OK, you shouldn't see any flag on the project.
- See Compiling for details about compiling the project with Netbeans.
In order to get the app working with your server (see Server Setup first), you need to specify the server URL and port in the Network.java file (com/devi/os/util/Network.java), modify the variable String url with your server public URL/IP.
private String url = "http://SERVERURI:PORT/";
Compile with Netbeans and obfuscate the code (max level), ignore the errors when obfuscating and install the .jar file generated in your phone.