> do you mean I remove the declaration from manifest.xml and handle it my
> own
> way, If yes can you specify how?

No.

You have a ContentProvider. By your description, it is doing some sort of
initialization that is preventing the first Activity from being displayed
for a while. Since a ContentProvider normally starts up in microseconds, I
am assuming you know what code it is that is taking so long.

I am saying you should not be executing that code on the main application
thread, as that is why the Activity is being blocked.

Use an AsyncTask or something to have the long-running code execute off
the main application thread.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to