×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2009
    Location
    Ghaziabad
    Posts
    244

    Question How to insert data of different data types in record store ??

    Hi All,
    I have a simle question Plz help ...
    i have three values
    int i, boolean b, String s;

    I want to store these values in rms in one record.

    Please tell me i have done it but i have not a good solution for this...

    Please reply.
    Regards
    Rajan Verma

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: How to insert data of different data types in record store ??

    I recommend using a DataOutputStream to create a byte[]. More informationis here, in the wiki.

    Graham.

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: How to insert data of different data types in record store ??

    Yeah using the DataOutPutStream you can write the mixed data types in the RMS and using the respective Input stream, you can read the same. You can also follow this link, How to read or write mixed data types
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. Retrieving record store data
    By bejoy_ak in forum Mobile Java General
    Replies: 4
    Last Post: 2009-11-29, 22:09
  2. How to insert data in a grid cell
    By tmnjon in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-02-01, 12:24
  3. Encrypting data to store in record store
    By matan_d in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2009-01-04, 01:21
  4. Replies: 5
    Last Post: 2007-10-16, 13:00
  5. Record Store vs JDBC. How to store data?
    By 180ºrevolution in forum Mobile Java General
    Replies: 0
    Last Post: 2004-09-17, 15:24

Posting Permissions

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