J2ME RecordStores with default values

Discussion in 'Java' started by Meikel, May 15, 2004.

  1. Meikel

    Meikel Guest

    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?
     
    Meikel, May 15, 2004
    #1
    1. Advertisements

  2. Meikel wrote:

    > 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 <>
    * @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
    */
     
    Darryl L. Pierce, May 17, 2004
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. robin
    Replies:
    0
    Views:
    1,058
    robin
    Jul 20, 2003
  2. Nicola Ambrosino

    [J2me]Default Emulator in wireless Toolkit

    Nicola Ambrosino, Feb 27, 2004, in forum: Java
    Replies:
    1
    Views:
    644
    Darryl L. Pierce
    Mar 4, 2004
  3. Markus
    Replies:
    4
    Views:
    2,058
    Darryl Pierce
    Feb 12, 2005
  4. nishadixit
    Replies:
    5
    Views:
    1,529
    Joe Discar
    Jun 1, 2005
  5. John Goche
    Replies:
    1
    Views:
    7,947
    John Goche
    Dec 17, 2005
  6. Replies:
    2
    Views:
    2,315
  7. acme82
    Replies:
    0
    Views:
    449
    acme82
    Mar 13, 2008
  8. abbasi99
    Replies:
    0
    Views:
    412
    abbasi99
    May 12, 2010
Loading...