CasperVerswijvelt / Better-Internet-Tiles

Bring back Wi-Fi and mobile data tiles on Android 12 or higher + a better unified internet tile
GNU General Public License v3.0
163 stars 13 forks source link

Bluetooth tile: tap to connect/disconnect #39

Open udaya2899 opened 4 months ago

udaya2899 commented 4 months ago

@CasperVerswijvelt Thank you for Better Internet Tiles. I find this app so useful. I'd love to see a similar tap to turn on off feature for bluetooth too.

Currently, tapping on bluetooth opens the bluetooth screen (like Internet in Android 15). What I'd like to see:

2 new tiles in the app:

I'd be happy to help you in contributing to this with some guidance but I should admit that I've not developed on android, but can take inspiration from how the Internet tiles work

CasperVerswijvelt commented 2 months ago

Thanks for the suggestion! The first regular Bluetooth tile is actually already available in the latest beta build, you can find it here: https://github.com/CasperVerswijvelt/Better-Internet-Tiles/releases

Interesting suggestion for the second tile, certainly something I could consider. Instead of having this a separate tile, do you think it makes sense to just make the tap behaviour on the already present Bluetooth tile configurable?

udaya2899 commented 2 months ago

Your alternative suggestion also sounds good. I personally would mostly prefer to use the "disconnect the currently connected music device" action for the bluetooth tile than turning bluetooth off fully because of smartwatches, find-my-device etc. relying on bluetooth. I'm okay with a single modifiable tile too.

The more relevant use case is:

The key thing being that tile not connected to a pre-chosen bluetooth device but rather, tapping the tile connecting/disconnecting the "current bluetooth audio device".

I currently use this app but it can only pre-link a bluetooth device with a widget so the widget is not dynamic.