It is a known bug:
http://code.google.com/p/android/issues/detail?id=16587

I'm encountering this bug on GB, but not on 4.1.  I think I wasn't getting 
it on 4.0 either.

Tom

On Wednesday, September 5, 2012 1:28:04 PM UTC-4, MagouyaWare wrote:
>
> Does anyone *really* know what this means?
>>
>> 09-05 10:22:05.518: E/AndroidRuntime(13117): java.lang.RuntimeException: 
>> Can't create handler inside thread that has not called Looper.prepare()
>> 09-05 10:22:05.518: E/AndroidRuntime(13117): at 
>> android.os.Handler.<init>(Handler.java:121)
>> 09-05 10:22:05.518: E/AndroidRuntime(13117): at 
>> android.bluetooth.BluetoothAdapter$2.<init>(BluetoothAdapter.java:1541)
>> 09-05 10:22:05.518: E/AndroidRuntime(13117): at 
>> android.bluetooth.BluetoothAdapter.<init>(BluetoothAdapter.java:1541)
>> 09-05 10:22:05.518: E/AndroidRuntime(13117): at 
>> android.bluetooth.BluetoothAdapter.getDefaultAdapter(BluetoothAdapter.java:543)
>> 09-05 10:22:05.518: E/AndroidRuntime(13117): at 
>> com.blue_reader.Reader_Thread.run(Reader_Thread.java:31)
>>
>
>
> It *really *means that whatever you are doing you cannot do on a non-ui 
> thread...
>
>
> http://lmgtfy.com/?q=java.lang.RuntimeException%3A+Can%27t+create+handler+inside+thread+that+has+not+called+Looper.prepare()
>
> I got it from calling BluetoothAdapter.getDefaultAdapter(); in a non-UI 
>> thread.
>>
>
> Then you *really* can't call that method from a non-ui thread...
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Wed, Sep 5, 2012 at 11:17 AM, bob <b...@coolfone.comze.com<javascript:>
> > wrote:
>
>> ava.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

Reply via email to