Yes, exactly, Thank you for your great assistance, I think the problem will
be solved after, Insallah!

Thank You.

On Sat, Dec 5, 2009 at 1:12 PM, Mark Murphy <[email protected]> wrote:

>
> > 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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

Reply via email to