Storing Constant Data


Last Updated:

  1. PocariSweat1991

    PocariSweat1991 New Member This Topic's Starter

    Joined:
    Nov 19, 2009
    Messages:
    2
    Likes Received:
    0
    Hello!

    My application needs to store about 5000 records of data that will never change. An example would be a dictionary of 5000 words.

    Initially, I started creating a string-array.xml resource file for these records, but realized that I wanted to associate integer data with each string-array as well.

    Therefore, I started looking into the SQLite database for storing these records. This seems like a great option, but I discovered that the database will be created the first time the application runs. This means that the first time a users downloads my application, they will have to wait a *very* long time for the database to build ... which is a horrible user experience.

    Are there any other options for defining and storing application data that will never change?
     

    Advertisement
  2. PocariSweat1991

    PocariSweat1991 New Member This Topic's Starter

    Joined:
    Nov 19, 2009
    Messages:
    2
    Likes Received:
    0

Share This Page

Loading...