This is an old revision of the document!


Online Help > AlpineQuest 2.x > Maps & Layers

Intents


The application responds to various intent actions, allowing you to control few features from external application like Automate or Tasker.


Global intents


The application responds to the following actions, even if it's not explicitly targeted.

Action "net.psyberia.intent.action.DISPLAY_LOCATION"

Display a location on the map.

Optional extras Type Description
net.psyberia.intent.extra.MEM_ID String Memory ID. If specified, replaces a previous location displayed with this same ID.
net.psyberia.intent.extra.TRACK_ID String Track ID. If specified, appends the location to a track named after this ID.
net.psyberia.intent.extra.SET_ID String Set ID. If specified, adds the location to a waypoints set named after this ID.
net.psyberia.intent.extra.LONGITUDE Double WGS84 longitude.
net.psyberia.intent.extra.LATITUDE Double WGS84 latitude.
net.psyberia.intent.extra.ELEVATION Double WGS84 elevation (meters).
net.psyberia.intent.extra.NAME String name of the point (ignored if using a track ID).
net.psyberia.intent.extra.COMMENT String comment of the point (ignored if using a track ID).
net.psyberia.intent.extra.DESCRIPTION String description of the point (ignored if using a track ID).
net.psyberia.intent.extra.ICON String icon of the point (ignored if using a track ID).

General intents:

  • “APP_STOP”: Close the application.

Placemarks:

  • “LANDMARKS_FAST_WAYPOINT”: Create a waypoint on the map, saved in the default placemarks folder. The screen center location or GPS location (if available) is used based on the last created waypoint choices. Extra fields: “name” (String; the waypoint name).

Track recorder:

  • “TRACKER_START”: Start the track recorder;
  • “TRACKER_STOP”: Stop the track recorder;
  • “TRACKER_ADD_WAYPOINT”: Add a waypoint to the recorded track. Extra fields: “name” (String; the waypoint name).