Route Intents
Start a previously saved route by name.
Action: theappninjas.gpsjoystick.ROUTE
Tier: Free
Extras
Section titled “Extras”| Extra | Type | Required | Description |
|---|---|---|---|
name | String | Yes | Name of the saved route (case-sensitive) |
Tasker Example
Section titled “Tasker Example”- Create a new Task → Add Action → Misc → Send Intent
- Set Action to
theappninjas.gpsjoystick.ROUTE - Enter Extra:
name:My Awesome Route - Set Target to Service
ADB Shell Example
Section titled “ADB Shell Example”adb shell am start-foreground-service \ -a theappninjas.gpsjoystick.ROUTE \ --es name "My Awesome Route"Walk through a list of waypoints with optional speed and teleport-to-start.
Action: theappninjas.gpsjoystick.WALK
Tier: Pro
Extras
Section titled “Extras”| Extra | Type | Required | Description |
|---|---|---|---|
waypoints | String | Yes | Semicolon-separated lat,lng pairs: lat,lng;lat,lng;... |
teleport | boolean | No | Teleport to first waypoint before walking (default: false) |
speed | float | No | Walking speed in km/h |
Tasker Example
Section titled “Tasker Example”- Create a new Task → Add Action → Misc → Send Intent
- Set Action to
theappninjas.gpsjoystick.WALK - Enter Extra:
waypoints:37.8095,-122.4101;37.8060,-122.4090 - (Optional) Enter Extra:
teleport:true - (Optional) Enter Extra:
speed:15.0 - Set Target to Service
ADB Shell Example
Section titled “ADB Shell Example”adb shell am start-foreground-service \ -a theappninjas.gpsjoystick.WALK \ --es waypoints "37.8095,-122.4101;37.8060,-122.4090" \ --ez teleport true \ --ef speed 15.0Invalid or empty waypoint strings are silently ignored. Verify your waypoint format (lat,lng;lat,lng;...) before sending.
GENERATE
Section titled “GENERATE”Generate a random or circular route from the current position and start walking it.
Action: theappninjas.gpsjoystick.GENERATE
Tier: Pro
Extras
Section titled “Extras”| Extra | Type | Required | Description |
|---|---|---|---|
mode | int | No | 0 = random (default), 1 = circle |
marker_count | int | No | Number of waypoints, 1-5000 (default: 10) |
offset | float | No | Distance between points in meters (default: 50.0) |
ADB Shell Example
Section titled “ADB Shell Example”# Generate a circular route with 20 waypoints, 100m apartadb shell am start-foreground-service \ -a theappninjas.gpsjoystick.GENERATE \ --ei mode 1 \ --ei marker_count 20 \ --ef offset 100.0Route Recording
Section titled “Route Recording”Record a route by adding waypoints from the current position.
RECORD_START
Section titled “RECORD_START”Start recording a new route. The joystick must be running.
Action: theappninjas.gpsjoystick.RECORD_START
Tier: Pro
Extras: None
Error: Returns ALREADY_RECORDING if a recording is already in progress.
RECORD_ADD
Section titled “RECORD_ADD”Add the current position as a waypoint to the active recording.
Action: theappninjas.gpsjoystick.RECORD_ADD
Tier: Pro
Extras: None
Error: Returns NOT_RECORDING if no recording is active.
RECORD_STOP
Section titled “RECORD_STOP”Stop recording. Optionally save the recorded route.
Action: theappninjas.gpsjoystick.RECORD_STOP
Tier: Pro
| Extra | Type | Required | Description |
|---|---|---|---|
name | String | No | Route name - if provided, saves the route. If omitted, the recording is cancelled and discarded. |
Success broadcast: theappninjas.gpsjoystick.RECORD_SAVED with extras name (String) and point_count (int). Requires at least 2 recorded points.
Error: Returns SAVE_FAILED if fewer than 2 points were recorded.
Recording Example (ADB)
Section titled “Recording Example (ADB)”# Start recordingadb shell am start-foreground-service \ -a theappninjas.gpsjoystick.RECORD_START
# Walk around, adding waypoints as you goadb shell am start-foreground-service \ -a theappninjas.gpsjoystick.RECORD_ADD
# Save the recordingadb shell am start-foreground-service \ -a theappninjas.gpsjoystick.RECORD_STOP \ --es name "My Recorded Route"