1. Check out our companion app, Forums for Android! Download from Google Play

Storing Constant Data

Discussion in 'Application Development' started by PocariSweat1991, Nov 19, 2009.

  1. PocariSweat1991

    PocariSweat1991 New Member
    Thread Starter
    5

    Nov 19, 2009
    2
    0
    5
    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
    Thread Starter
    5

    Nov 19, 2009
    2
    0
    5

Share This Page

Loading...