Discussion Board

Results 1 to 2 of 2
  1. #1
    Hi, I'ld like to write a MIDLet which accesses a pre-defined database i.e. a record store. I am looking for a generic simple way to get this initial Data (about 20k) deployed together with the MIDlet. Of course I could define constant byte arrays and write them one by one. I could also implement a large method which fills the record store record by record and this method could be generated automatically on a PC. All of this sounds rather clumsy and even though I haven't found a solution I am sure there must be. Any hint?
    Thanks in advance - Roland

  2. #2
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    Those two options will cost you a lot of space in the JAR... better to create the data in some kind of file, place the file in the JAR, and write some code to duplicate that file's contents into RMS.

    Of course, if the data isn't going to change, there's little benefit in copying it into RMS... just access it directly from the JAR.

    Graham.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved