×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    90

    Shared record stores

    I now use (for 1st time) 2 MIDlets, one for RMS the other for Play functions: for the Play MIDlet to access the Record Store, they need to be in a suite: I assumed that when packaging, the 2 MIDlets automatically become a suite, but the Play MIDlet cannot read the RMS (I have defined all stores names in both MIDlets). What else do I need to do to get this to get it to become a suite? Thanks in advance.

    Chris

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    They have to be in the same jar.
    And the jad needs to have a reference to both of them:
    Code:
    MIDlet-1: TheGame, , game.GameMIDlet
    MIDlet-2: TheSettings, , settings.SettingsMIDlet
    shmoove

  3. #3
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    90
    shmoove, thanks: do both MIDlets have to be running for each to have access to the other? Chris

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    No. If they are in the same Suite (jar) they have access to each other's RecordStores.

    shmoove

  5. #5
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    90
    OK, that is actually a quite cool mechanism, thanks again. Chris

Posting Permissions

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