I have a SQLite DB with 20,000 records. I cannot load the DB in the Emulator and it Force Closes on some installed devices. I can load the full DB on my Test Device (HTC Inspire).
I have cut down the records to apprx 5,000 records and distribute the app and it installs and runs on the Emulator, other devices and my HTC with no problems. But I have sacrificed considerable content.
I am looking for a "strategy" that will optimize the number of records that can be installed on different devices.
How would you create开发者_StackOverflow and distribute an Android App with a pre-existing database to achieve the greatest number of installed records?
Is there some magic way to know what the capacity of the device is that will help my situation?
TIA
One can load db effiecently of records up to 40,000.Try to load database at the beginning and only once in a public static array and access throughout your app.
精彩评论