Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Handler not working outside an Activity #37

Open
naevtamarkus opened this issue Oct 25, 2015 · 0 comments
Open

Handler not working outside an Activity #37

naevtamarkus opened this issue Oct 25, 2015 · 0 comments

Comments

@naevtamarkus
Copy link

Hi,

I have a problem with your library and I'm a bit lost. If I use it from an Activity (UI) it works fine but, if I use it from a BroadcastReceiver (connect to a BT device on the background from outside the app) then the library does not work well.

I have been inserting debug messages inside the library and my conclusion is that the mHandler from BluetoothSPP does not receive the messages sent from BluetoothService. The message is simply lost!

Any idea why could this be happening?

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant