You should have the database loading in a separate Thread (see http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html) so it is done in the background. Then in the foreground you could have some sort of progress indicator, or whatever you want the user to see whilst the DB is loading. Having the time-intensive task happen in a separate thread also stops the "This app is not responding" warning from appearing.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

