nexussays/ble.net

Android Auto Support

christian-strydom opened this issue · 0 comments

I can't seem to get the ble.net Nuget package to work with my Android Auto project since BluetoothLowEnergyAdapter.Init( ); requires an activity as parameter. Android Auto is launched as a service, so I don't have any reference to an activity and Android prohibits me from launching an activity from my Android Auto service since it is not a turn-by-turn navigation app that I'm building.

The Nuget works perfectly on my Android and iOS apps and on Apple CarPlay, I just can't get it to work with Android Auto (when the app isn't launched on the phone as well). Any help or advice would be greatly appreciated.