Using RMS in Netbeans mobility

Hello.

Long time back I had blogged about how easily we can create small utility mobile applications that use persistance storage using Netbeans mobility. I had written a detailed tutorial here:

Using RMS to create Expenses utility for Mobiles in NetBeans

It is a step by step guide on creating a utility mobile application using Netbeans Visual Mobile editor and Record Management Store API.

Some people have shown interest in the code for the tutorial. Unfortunately the code there is somewhat messed up and not very clear(I used to blog on blogger at that time and was very inexperienced ;-).

I am attaching a project zip folder here. You can unzip it using IZarc or Winzip and open it using Netbeans 6.1. Build and run to get the results.

Download the Expenses  project folder.

Cheers!

Comments:

Thanks for posting an update to this code Jay...very helpful!
Arlington, VA

Posted by monel on November 11, 2008 at 03:18 PM PST #

Happy to help!

Posted by Jay Mahadeokar on November 12, 2008 at 01:59 AM PST #

ola al abrir el proyecto desde mi ide 6.9 y despues darle run me sale el siguiente error: C:\\Documents and Settings\\Administrador\\Escritorio\\proyectos_j2me\\Expenses\\nbproject\\build-impl.xml:57: Platform home (platform.home property) is not set. Value of this property should be Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC emulator home directory location.
por favor dime cual es el error ....yo creo k es el emulador puedes ser???
te agradecería mucho si me respondes y si tuvieras otros tutoriales k compartir tamb es k soy nuevo en esto gracias de antemano.

Posted by alonso on November 24, 2010 at 09:14 AM PST #

the code running well,,
but i still can't see the data from RMS,,,
it's blank,,just white page,,,

when i click ok in add expense
there is some code in the "output" tab

java.lang.NumberFormatException: test amount
at java.lang.Integer.parseInt(Integer.java:449)
at java.lang.Integer.parseInt(Integer.java:497)
at hello.ManageExpenses.addExpense(ManageExpenses.java:224)
at hello.HelloMIDlet.commandAction(HelloMIDlet.java:121)
at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(Display.java:2093)
at javax.microedition.lcdui.Display$DisplayManagerImpl.commandAction(Display.java:2929)
at com.sun.midp.lcdui.DefaultEventHandler.commandEvent(DefaultEventHandler.java:297)
at com.sun.midp.lcdui.AutomatedEventHandler.commandEvent(AutomatedEventHandler.java:667)
at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.handleVmEvent(DefaultEventHandler.java:711)
at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.run(DefaultEventHandler.java:608)
is it ok??

please help me, because my Final Year Priject using RMS,,

Posted by prap on April 06, 2011 at 02:59 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

I am the Sun Campus Ambassador for SRKNEC, India. Here I will blog about my college activities,and Sun's open source technologies like Netbeans, Opensolaris, Sun SPOTs etc..

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today