-
Notifications
You must be signed in to change notification settings - Fork 14
Public Intents
Android Intent is mechanism through which applications in Android communicate. Almost every information that one application wants to send to another is distributed via Intent. But the Intent may also be used to start some action, e.g. to notify about some change and many other tasks.
Locus Map currently supports a few actions that may help you control Locus from different applications. If you want to create more complex system and you're familiar with Android developing, we suggest to use Locus API integrated into your own program.
Otherwise, use Tasker or any other application, and use definitions below:
Note: intent may have also defined package parameter that say "which application should receive it". In case, you use Locus Map Free (Beta) and Locus Map Pro at once, or in case of target platform Android 8+, it is necessary to set this parameter too.
Locus Map Free (Beta): menion.android.locus
Locus Map Pro: menion.android.locus.pro
To control track recording, use Actions below. All actions have to be used as Broadcast intent.
locus.api.android.ACTION_TRACK_RECORD_START
Additional parameters
- ability to set recording profile
- key: INTENT_EXTRA_TRACK_REC_PROFILE
- value: String, name of profile
locus.api.android.ACTION_TRACK_RECORD_PAUSE
locus.api.android.ACTION_TRACK_RECORD_STOP
Additional parameters
- ability to save track automatically without asking for additional details
- key: INTENT_EXTRA_TRACK_REC_AUTO_SAVE
- value: boolean, true/false value, default false
locus.api.android.ACTION_TRACK_RECORD_ADD_WPT
-
Basics
-
Non-API tools
-
Using API
-
Work with points
-
Work with tracks
-
Integration into Locus Map
-
Other/advanced features