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 <[email protected]> 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 [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-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 [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-developers?hl=en

Reply via email to