Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

can store image&text in rms seperately but NOT together :(

843851Mar 26 2010 — edited Mar 26 2010
http://mycapp.clanteam.com/src.zip

The zip file has 3 files.
TextOnly shows the code to storing textfields like name age number and so on
ImageOnly shows the code to storing images. I'm using netbeans
Midlet is an attempt to store both types in the same RMS.

When you run Midlet, it'll create a recordstore and insert 3 records. Each record is composed of several strings and the locaiton of a picture ie /pic.JPG which I've added to the resources folder. I'm using netbeans. After the recordstore is created, the names of every record (composed of first and last names) appear in a list on the screen. I simply choose one of the names then click MENU then OPEN and it will take me to a new form where I can view that person's picture.

I can't get it to work. I attempted combining both TxtOnly and ImageOnly but failed. I just don't see where it's going out.

Thanx in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2010
Added on Mar 26 2010
2 comments
155 views