Thanks!!!!!! and how about the progress dialog? where should I put it? Thanks a lot Mark, this became a tutorial to how to use spinners using AsyncTask. I will post the code as soon as I solve the progress dialog thing.
thanks again On Jul 1, 1:49 pm, Mark Murphy <[email protected]> wrote: > Georgy wrote: > > But the reason I am using it is to fill the spinners with the db > > values. So after the background thread gets the database into the > > device , I want the progress dialog to be dismissed and the spinners > > to be updated with the db data values. > > Update the spinner's adapter in publishProgress() or onPostExecute(). > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Development Wiki:http://wiki.andmob.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

