Tracking On when Bluetooth Connected.
Hello,
How about using the Android Bluetooth connected event to activate traccar and deactivate it?
Scenario:
- I enter my car and turn on ignition. My phone connects to the car radio, traccar detects this event, it starts sending data to the server.
- I turn off my car and exit. Traccar detects disconnected bluetooth, it stops sending data.
The aim in ubiquitous computing is less human interaction to do tedious tasks. What do you guys thinkg?
I believe you can already implement this and many other scenarios using third party scheduling apps (e.g. Tasker).
@tananaev
But to use Tasker, does the client app support Tasker's api so tracking can be started/stopped out of tasker or is there an intent to do so, which Tasker can sent?
Tasker can use shortcuts and intents.
Thanks @tananaev , found the shortcut way. That does work.