Toasts can only be created on a UI thread, else a thread which uses Looper.prepare() ;
*Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Fri, Jun 10, 2011 at 5:37 PM, bob <b...@coolgroups.com> wrote: > How do you make it so a thread you create can do toasts? > > I keep getting this: > > 06-10 07:04:19.691: ERROR/AndroidRuntime(2809): > java.lang.RuntimeException: Can't create handler inside thread that > has not called Looper.prepare() > > -- > 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 -- 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