User Tools

Site Tools


manual:advanced:locus_api:public_intents

This is an old revision of the document!


Public Intents

Basic information

Android Intent is mechanism, how applications in Android communicate. Almost every information, that one application want to send to another, it thanks to Intent. But Intent may be also used to start some action, to notify about some change and many other tasks.

How to

Locus current support few actions, that may help you control Locus from different application. If you want to create more complex system and you're familiar with Android developing, I suggest use Locus API integrated into your own program.

Otherwise, use Tasker or any other application, and use definitions below:


Track record

For control of track record, use below Actions. All actions have to be used as Broadcast intent

Start recording

locus.api.android.ACTION_TRACK_RECORD_START
Additional parameters
  • Item Ability to set recording profile
    • key: INTENT_EXTRA_TRACK_REC_PROFILE
    • value: String, name of profile

Pause recording

locus.api.android.ACTION_TRACK_RECORD_PAUSE

Stop recording

locus.api.android.ACTION_TRACK_RECORD_STOP
Additional parameters
  • Ability to automatically save track without asking for additional details
    • key: INTENT_EXTRA_TRACK_REC_AUTO_SAVE
    • value: boolean, true/false value, default false

Add waypoint

locus.api.android.ACTION_TRACK_RECORD_ADD_WPT
manual/advanced/locus_api/public_intents.1432215365.txt.gz · Last modified: (external edit)