Results 1 to 3 of 3
  1. #1
    wildheart25c is offline Member
    Join Date
    Sep 2009
    Posts
    13
    Rep Power
    0

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

    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.
    Last edited by wildheart25c; 03-26-2010 at 09:18 AM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

  3. #3
    wildheart25c is offline Member
    Join Date
    Sep 2009
    Posts
    13
    Rep Power
    0

    Default

    I'm sorry for mix up. I had posted a different version of the midlets I created. Yes, after adding some images, RMSMidlet works. It shows the pics and everything.

    correctsrcfiles
    Like I said in my first post, images only works and txt only works. But when I try to store the image and the txtfields in the same RMS i fail.

    As for crossposting, I just came across a topic in a diff forum that told its user not to crosspst. Seeing as I don't know why it's wrong I'll just say sorry :D
    Last edited by wildheart25c; 03-26-2010 at 06:24 PM.

Similar Threads

  1. how to store string in text file
    By santhosh_el in forum AWT / Swing
    Replies: 2
    Last Post: 04-03-2009, 06:21 AM
  2. Class to store Image+Text
    By Gudradain in forum New To Java
    Replies: 2
    Last Post: 11-23-2008, 08:32 AM
  3. How to store/retrieve PNG image in/from RMS
    By jason-nexFIT-mobileXware in forum CLDC and MIDP
    Replies: 0
    Last Post: 09-10-2008, 04:01 AM
  4. Replies: 0
    Last Post: 08-15-2007, 01:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •