1. Download our Official Android App: Forums for Android!

Apps Storing Constant Data

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

  1. PocariSweat1991

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Nov 19, 2009

    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

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Nov 19, 2009

    Nov 19, 2009
    2
    0
    5

Share This Page

Loading...