Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

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

  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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; March 26th, 2010 at 03:50 AM.


  2. #2
    Member Darryl.Burke's Avatar
    Join Date
    Mar 2010
    Location
    Madgaon, Goa, India
    Posts
    491
    Thanks
    8
    Thanked 47 Times in 45 Posts

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


  3. #3
    Junior Member
    Join Date
    Sep 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

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

    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 from a diff forums asking its user not to crosspost. I don't know why this is wrong, so sorry.
    Last edited by wildheart25c; March 26th, 2010 at 12:56 PM.

Similar Threads

  1. send image (logo) and text & barcode to the Zebra Printer
    By ehsanlinux in forum What's Wrong With My Code?
    Replies: 3
    Last Post: June 11th, 2011, 05:41 AM
  2. Text capturing from image
    By kishore in forum Java SE APIs
    Replies: 0
    Last Post: March 5th, 2010, 08:47 AM
  3. Replies: 2
    Last Post: February 19th, 2010, 07:10 AM
  4. How can i store ArrayList objects in Access database
    By frankycool in forum JDBC & Databases
    Replies: 0
    Last Post: November 3rd, 2009, 11:44 PM
  5. Text to Tiff Image
    By sreddy_k in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: August 13th, 2009, 12:36 AM