I’d suggest using a UI that says loading.., and may be you want to use an AsyncTask
or some background threads to load the things and then update the UI and say you’re ready.
solved How to start an Android Application without loading Activities immediately? [closed]