I'm trying to create the Toast (for example) on onResume() method from the configuration Activity of my widget....
Thanks for all, SBC On 17 jun, 18:44, String <sterling.ud...@googlemail.com> wrote: > On Jun 17, 5:07 pm, "sergi...@gmail.com" <sergi...@gmail.com> wrote: > > > I try to show a ProgressDialog at the beginning of my application from > > an Activity. I debug the application and in theory the dialog is > > created because it prints a line from onCreateDialog... method. > > Are you trying to create the dialog/toast on your UI thread? If so, > they won't appear if that thread is busy; you need to launch another > thread for them. Or preferably, move your long-running process (the > one that needs a progress indicator) from the UI thread into the > background, and keep the UI thread for the UI. That'll also help you > avoid app-not-responding errors. > > String -- 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