×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    136

    to explain about RecordStore

    I have to explain others about RecordStore as far as I understand.
    I don’t know how to explain that and which words should I use.
    I am also weak in English.

    For example,
    RecordStore rs = RecordStore.openRecordStore("Address", true);

    Can we say that rs is the reference to the instance of the RecordStore?
    Can we say that ( to open a recordstore, we have to use openRecordStore function. Because it is a static function, we have to use the class name(RecordStore) before that.
    Is openRecordStore( ) the function of the RecordStore class?

    And before we delete a recordstore, we have to close that recordstore firstly?

  2. #2
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: to explain about RecordStore

    Rest all above it OK.

    Is openRecordStore( ) the function of the RecordStore class?
    Yes it is a method of RecordStore class.

    And its syntax is openRecordStore(String recordStoreName, boolean createIfNecessary)

    The boolean "true" means you want to create a new recordstore if it does not exits -- or if it is needed.
    Thanks,
    Ekta

  3. #3
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: to explain about RecordStore

    Quote Originally Posted by komomo View Post
    Can we say that rs is the reference to the instance of the RecordStore?
    Yes.

    Quote Originally Posted by komomo View Post
    Is openRecordStore( ) the function of the RecordStore class?
    Yes.

    Quote Originally Posted by komomo View Post
    And before we delete a recordstore, we have to close that recordstore firstly?
    Yes.

    More information about RecordStores in the wiki.

    Graham.

Similar Threads

  1. Cannot Delete RecordStore although RecordStore is closed already
    By playplay1978 in forum Mobile Java General
    Replies: 6
    Last Post: 2010-04-29, 04:03
  2. RecordStore sometimes fails create new RecordStore
    By thechameleon in forum Mobile Java General
    Replies: 1
    Last Post: 2009-09-09, 12:48
  3. please explain these codes
    By nokia_lin in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2009-06-19, 11:47
  4. Can anybody please explain this...
    By nim_esh in forum Mobile Java General
    Replies: 2
    Last Post: 2008-03-02, 01:37
  5. Someone gotta explain this...
    By Tesctassa in forum Mobile Java General
    Replies: 0
    Last Post: 2006-11-09, 16:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×