sconlon said:
The whole process takes about 10 secs which seems quite long even
I recently experienced something similar using the Nexus 7 tablet. I haven't done any investigating, but saw something unexpected.
I have an SQLite database with about 500 records. I am using a TabHost with an embedded ScrollView. I populate Panels in the scrollview with records from the database.
I was surprised that it took about 5 seconds to populate and display. It also crashed regularly showing the "Your app has closed" message right after displaying the scroll view – this is software that has been used for about a year. I had increased the database size from about 350 records to about 500 records and added the manifest setting for Target Version 14.
I removed the Target Version 14 and it now works 100%, but I'm still surprised it takes 2 or 3 seconds to populate and display – this is roughly half the time it took with the Target Version 14 manifest setting. It seemed to take less than one second when I had 350 records in the database. Also, no more crashes.
I wonder if you can quickly try removing the manifest setting for Target Version 14, if you have it set, and see if you notice any differences. I have not investigated this at all. It was just something unexpected.
Thanks,
Barry.