×

Discussion Board

Results 1 to 7 of 7

Thread: About RMS Data

  1. #1
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    151

    Red face About RMS Data

    Hi All

    I am developing application in which I cant use file connection as device does not have JSR-75.
    So I wanted to know

    1. Can we store files in RMS such as xml files
    2. What is the maximum size for RMS Data Store.

    Thanks in Advance,

    Regards,
    Manan

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: About RMS Data

    As per Forum_Nokia_Technical_Library_v1_25

    RecordStore maximum size has been increased in Series 40 3rd Edition devices and some Series 40 2nd Edition devices

    Overview
    Previously there has been a limit of 32K for a single RecordStore in Series 40 devices. Now it has been increased.

    Reported against
    S60 2nd Edition and S60 3rd Edition, Nokia 6230i, Nokia 8800

    Detailed description
    The maximum size of a RecordStore has been increased in the latest Series 40 devices. The maximum size varies between devices, but it can be asked by using the RecordStore.getSizeAvailable() method. The maximum size is, for example, in the Nokia 6230i approximately 130kB and in the Nokia 6270 260kB. The minimum record store size is 32K.

    Regards
    Gopal

  3. #3
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    151

    Smile Re: About RMS Data

    Thanks for the Reply ...

    Being a Champ you should be able to answer this as well????


    1. Can we store files in RMS such as xml files

  4. #4
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: About RMS Data

    Yes, we can store XML files as well. Since the XML file consists of Strings, storing XML file in RMS wont be a problem.

    Regards
    Gopal

  5. #5
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    151

    Re: About RMS Data

    Thanks once again............

    If we will store it string by string and again read it string by string and then parse it it would be very slow?isnt it.
    If yes than what are the possible Workarounds.

    Cheers,
    Manan

  6. #6
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: About RMS Data

    Hi Manan,

    Maybe you can it as whole using byte streams. Why does your strategy use String by String, what do you mean? Using bytes you can get a java.lang.String back easily...

    Gopal, thank you for this info I think i need to read the newer "issues docs" from Nokia

    BR,

    Juarez Junior

  7. #7
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Hamburg, Germany
    Posts
    285

    Re: About RMS Data

    The question is: Do you really need to store xml files? Normally, these XML files represent something. In your javacode, they may represent a list of objects with some properties. If you find a way to store and read the data representing the list of objects with their properties "directly", using DatainputStream and DataoutputStream, for many cases you have the following advantages:
    * the code is simplier
    * you need less space in the RMS
    * input/output is faster

    Regards

    Karsten Meier

Similar Threads

  1. RMS data LOST problem in 3410!!!
    By bitsonic in forum Mobile Java General
    Replies: 6
    Last Post: 2009-03-27, 09:50
  2. suckho, i have encontered the same problems. Could you tell me how you resolved it?
    By dicson_hu in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2005-12-09, 10:56
  3. GPRS connection problems on 6600..
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2005-12-02, 14:00
  4. Nokia 6600 Socket Server send delay Problem
    By dicson_hu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-31, 07:37

Posting Permissions

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