omaraflak / Bluetooth-Library

Bluetooth client library for Android.
198 stars 62 forks source link

"Can't create handler inside thread that has not called Looper.prepare" error messages is occured when called socket.connect() function in Bluetooth Library #1

Closed LoveAndCode closed 6 years ago

LoveAndCode commented 7 years ago

What should i do to solve this problem??

omaraflak commented 7 years ago

Are you doing the connect() in a background thread?