mjaakko / NeoStumbler

New stumbler application for contributing data to geolocation services
MIT License
129 stars 12 forks source link

Prompt to enable Bluetooth when it is disabled #270

Open AtmosphericIgnition opened 1 month ago

AtmosphericIgnition commented 1 month ago

Description

I do not use any Bluetooth devices on a regular basis, but I do scan for Bluetooth beacons through NeoStumbler. When I forget to turn on Bluetooth, and start scanning with NeoStumbler, it just collects data without the Bluetooth beacons. I know that an Android app can ask the user to enable Bluetooth when it is disabled through the this prompt:

signal-2024-10-05-184042

Suggested implementation

When the user starts scanning without Bluetooth enabled on their device, they should be prompted to enable it.

Additional information

https://developer.android.com/develop/connectivity/bluetooth/setup

New request

mjaakko commented 2 weeks ago

I'm thinking about UX for this

As a workaround, see if you can enable Bluetooth scanning to be always available in your device settings: Screenshot_20241102_130710_Settings

AtmosphericIgnition commented 2 weeks ago

I have both enabled, but it seems that NeoStumbler won't scan for BT beacons with Bluetooth disabled, and this setting enabled.