×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2012
    Location
    Mumbai, Maharashtra, India
    Posts
    79

    In J2ME, RMS can still hold all records after closing an app or restarting the phone?

    I am developing Location based app n j2me. I am using configuration of CLDC 1.1 & MIDP 2.0. In that I have to stored place name, its address, latitude, longitude, reminder text, tone name in database. My Questions about RMS is-

    1) when I close an app or restart an app; whatever records are stored by an app in RMS is been get deleted??

    2) What is maximum capacity of RMS of holding record. is that infinite??

    3) How much record can RMS hold without getting mobile system slow down.

    4) Which J2ME Database system provide me efficiency, simplicity & speed in add, delete & update record. Is that RMS does that??

    Plzzz Help ASAP...

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

    Re: In J2ME, RMS can still hold all records after closing an app or restarting the ph

    Answers Inline :

    1) when I close an app or restart an app; whatever records are stored by an app in RMS is been get deleted??
    Ans : No, Data saved in RecordStore will remain in the RecordStore itself even if app is closed or restarted.

    2) What is maximum capacity of RMS of holding record. is that infinite??
    Ans : Its not infinite. But it depends on the device to device. You can use getSizeAvailable() , which returns the amount of additional room (in bytes) available for this record store to grow.

    3) How much record can RMS hold without getting mobile system slow down.
    Ans : Depends on Device , as mentioned above you can use getSizeAvailable() . Also you can create multiple RecordStores. But creating 10's of RecordStores are not efficiant.

    4) Which J2ME Database system provide me efficiency, simplicity & speed in add, delete & update record. Is that RMS does that??
    Ans: For small amount of data RMS is good. For large amount of data, Pls look at FileConnection (JSR 75 )

    Hope this helps!

    Regards
    Gopal

Similar Threads

  1. restarting a j2me app
    By Wheatni in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2011-04-11, 14:17
  2. My phone is restarting over and over....
    By Imran23 in forum General Development Questions
    Replies: 2
    Last Post: 2010-09-10, 04:03
  3. the phone is restarting !
    By mohamed shaheen in forum Mobile Java General
    Replies: 5
    Last Post: 2009-08-09, 14:05
  4. Hold and Un-hold problem with Nokia VoIP
    By vvsnaresh in forum VoIP
    Replies: 0
    Last Post: 2007-07-24, 09:45
  5. Phone restarting after installing jar
    By ashishga in forum Mobile Java General
    Replies: 7
    Last Post: 2006-11-08, 05:39

Posting Permissions

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