Georgy wrote:
> in the OnCreate (UI mode) , when the app starts just show the progress
> dialog and run the background thread downloading my data and in the
> end of it dimiss the progress dialog.  However I am dealing with
> another issue now with the database adaptor that is malfucntioning.
> Can I run the progress dialog from the background thread and have the
> UI handle the downloading or is it now a good approach?

Update your adapter either in publishProgress() or onPostExecute(). You
cannot update an adapter from a background thread once it is attached to
a ListView.

If that did not answer your question, I am afraid I misunderstood --
could you try phrasing your question another way?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to