• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

rms size

 
Shierley Kencana
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! Does anyone know what the limit of the rms? I would like to save files on the rms each contains 50Kbytes. so that's mean 500 kbytes.
Thanx
 
Liam Quinn
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The limit varies from device to device. On some devices, you're limited to 8K or 20K. Others allow hundreds or thousands of kilobytes.
 
vishwas bhatt
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
there is one more way. u can check through some API function also.

thanx
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is one more way. u can check through some API function also.

javax.microedition.rms.RecordStore#getSize()
javax.microedition.rms.RecordStore#getSizeAvailable()
 
Pavlin Mihalev
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
in fact javax.microedition.rms.RecordStore#getSizeAvailable() could be VERY misleading ! I had such a bad experience with the Sanyo implementation of j2me ... I mean this is the only way, but be careful.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pavlin Mihalev:
in fact javax.microedition.rms.RecordStore#getSizeAvailable() could be VERY misleading ! I had such a bad experience with the Sanyo implementation of j2me ... I mean this is the only way, but be careful.

Hi Pavlin,
Do you care to share your story with us? Thanks.
cheers
Michael
 
Pavlin Mihalev
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok Michael ;-)
I have opened a new thread.
Best,
Pavlin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic