Open GrazianoCapelli opened 1 year ago
Is this feature available in the current stable release? I have tried to send the intent visible in the screenshot, but nothing happens.
No, at this time the feature has not been implemented because it would require the background location permission.
PS: I noticed just now that I didn't answered your question, thus sorry for the late answer!
Currently the app is driveable with Hotkeys (#168), we could add also the possibility to drive it with
Intent
. We could define custom actions and listen for them with the ActionsBroadcastReceiver.Define a custom action is easy. For example, to start recording:
Add the action filter to
AndroidManifest.xml
:Add the case management to
ActionBroadcastReceiver.java
:Add the action and register into the receiver in
GPSApplication.java
onCreate:This way the app can be driven via intents, also in background, with task automation apps. The code here above has been successfully tested with MacroDroid:
The implementation of this feature is possible only if the permission to access the background location is granted.