J2ME RecordStores with default values

M

Meikel

If you want a J2ME RecordStore to contain some default values, can you
only create it in your Midlet and let a Java class fill it with
default values or is it also possible to deploy prepared RecordStores?
 
D

Darryl L. Pierce

Meikel said:
If you want a J2ME RecordStore to contain some default values, can you
only create it in your Midlet and let a Java class fill it with
default values or is it also possible to deploy prepared RecordStores?

You would need to implement a class that creates the record store(s) and
populates the data. You cannot ship a record store in the JAR.

--
/**
* @author Darryl L. Pierce <[email protected]>
* @see The J2ME FAQ <http://mypage.org/mcpierce/j2mefaq.html>
* @quote "What do you care what others think, Mr. Feynman?"
* @geek echo '$_ = "Jvtu bopuifs Pfsm ibdlfs."; y/a-z/za-y/; print' |
perl
*/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top