• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multiple Midlets?

 
Ranch Hand
Posts: 883
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jonathan,
I've got an idea for a strategy board game that might make use of multiple Midlets, and I'm wondering how do-able it is...
Here's the short form: The game itself is more of a framework and would make use of different scenarios - probably read from a file or the J2ME equivalent.
Users could just pick one of the pre-created scenarios or, (for a few dollars more) get the scenario editor and make their own.
At this point, it makes sense to me that the game would be packaged separately - possibly with a few scenarios.
The question is the scenario editor - can I package that in a separate JAD/JAR and have it create scenario files usable by the game without making them accessible to any Midlet on the device?
Any idea how difficult it would be to make it possible for the editor to post scenarios to a common website for downloading by others?
Thanks!
 
Author
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Burk,
In MIDP 1.0 there is no possibility of sharing data between MIDlet suites (except for the possibility of storing it on a server with one MIDlet suite and retrieving it with another).
MIDP 2.0 allows for shared record stores (persistent storage) between MIDlet suites, so it's possible your board editor (in one suite) could save a board to a shared record store which could be read by your game (in another suite).
I think you should consider taking more advantage of the network. Why not allow people to create boards and post them on your server for access by other players?
 
Burk Hufnagel
Ranch Hand
Posts: 883
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jonathan Knudsen:
MIDP 2.0 allows for shared record stores (persistent storage) between MIDlet suites, so it's possible your board editor (in one suite) could save a board to a shared record store which could be read by your game (in another suite).
I think you should consider taking more advantage of the network. Why not allow people to create boards and post them on your server for access by other players?


I intend to, that's part of why I was asking about sharing between MIDlets... Oh wait, I think I get it - since the editor is in the same suite (independent of the device it runs on) people could share data anyway. I think there's still an issue of having the game and the editor in different suites though.
Does that make any sense?
[ June 26, 2003: Message edited by: Burk Hufnagel ]
reply
    Bookmark Topic Watch Topic
  • New Topic