You are right. I just fixed it, it was from my Eclipse configuration. I am trying to use this approach as you recommended in previous discussions.
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? On Jul 1, 11:03 am, Mark Murphy <[email protected]> wrote: > Georgy wrote: > > but in all the examples I see: > > > import android.os.AsyncTask; > > > but can't the system doesn't recognize it. I am using SDK 1.5 > > It is there. If you are using Eclipse, perhaps there is a problem in > your Eclipse configuration. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android App Developer Training:http://commonsware.com/training.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

