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. Advertising

  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. Advertising

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:
    866
    robin
    Jul 20, 2003
  2. Boldra
    Replies:
    0
    Views:
    1,287
    Boldra
    Dec 3, 2003
  3. Nicola Ambrosino

    [J2me]Default Emulator in wireless Toolkit

    Nicola Ambrosino, Feb 27, 2004, in forum: Java
    Replies:
    1
    Views:
    509
    Darryl L. Pierce
    Mar 4, 2004
  4. Markus
    Replies:
    4
    Views:
    1,797
    Darryl Pierce
    Feb 12, 2005
  5. nishadixit
    Replies:
    5
    Views:
    1,259
    Joe Discar
    Jun 1, 2005
Loading...

Share This Page