×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2013
    Posts
    15

    how to access rms from another midlet class in j2me for nokia

    I am new in j2me and i am using rms database for S40 series.I want to access recordstore from one to another midlet.so tell me how can i access it .please help ...
    Last edited by vikrantthegroove; 2013-05-11 at 13:37.

  2. #2
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Hamburg, Germany
    Posts
    285

    Re: how to access rms from another midlet class in j2me for nokia

    Per default, each record store is private for the midlet. It is because of security.

    A midlet can set its own record store to public. Look for RecordStore.setMode() and AUTHMODE_ANY in the javadocs.

    The another midlet can open this record store with the method

    RecordStore.openRecordStore(String recordStoreName, String vendorName, String suiteName)

    Regards

    Karsten Meier

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    686

    Re: how to access rms from another midlet class in j2me for nokia

    Note that this can be done only from the same Midlet suite (i.e. same jar file) and not from 2 different Midlets suites.

  4. #4
    Registered User
    Join Date
    May 2013
    Posts
    15

    Re: how to access rms from another midlet class in j2me for nokia

    thanks for reply

Similar Threads

  1. Midlet to call a j2me java class
    By kakinyim in forum Mobile Java General
    Replies: 5
    Last Post: 2011-05-18, 20:25
  2. J2ME Midlet for Discovery of Wifi Access Points
    By mayngontay in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2009-10-18, 07:58
  3. Problem in NDS 3.0 for J2ME packager and abstract MIDlet base class
    By David Mitchell in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-09-16, 19:30

Posting Permissions

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