This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating a RecordStore on the Memory card

 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
The RecordStore implementation states that the RecordStores are created platform dependent locations and programmers don't have any control of specifying where to get created. My Question is, is there a way to specify or some how get the RecordStores created on the memory card which has lot of space available.
Thanks in advance.
 
Shoumin Li
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you referd to FileConnection(JSR 75)
You can specify a url to the file.
But is is only possible on JSR75 FileConnection API compliant devices and needs theCLDC 1.1 configuration being implemented on the device.
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for the suggestion, but I need this to be done only through RMS not File API. Regards.
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe there will be something in that sense in MIDP 3 ("Removable/remote RMS stores" - http://jcp.org/en/jsr/detail?id=271), but there is no platform independent way to specify the storage location of a RMS record store using MIDP 2.

Check if the particular manufacturer / model in question allows you to do something in that sense.

Cheers
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for the answers, Btw I am checking whether when we specify the installation location as the memory card rather than the phone, whether the RecordStores are getting created in the memory card or not. My requirement is to have a RecordStore which can hold up to like 100-200 MBs. Any comments on this scenario are highly appreciated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic