macaroni

android.intent

Description:
android.intent - Launches an Android action based on uri or additional specified extras.

Parent: execute, then, else

Value (simple form): string specifying the android action (e.g. android.intent.action.SHOW_TIMERS) Value (key/value form):

# simple form
- android.intent: (string)

# simple example
- android.intent: android.intent.action.SHOW_TIMERS

# key/value form
- android.intent: (string, required)
  uri: (string, optional)
  extras: (string or sequence of string, optional)

# key/value example
- android.intent: android.intent.action.WEB_SEARCH
  extras:
  - query: 'How do I use Android intent extras'

EXAMPLE

# navigate to any location using android intent/action
commands:
- name: navigate to any location
  triggers:
  - 'navigate to {anywhere}'
  - '[give me] directions to {anywhere}'
  execute:
  - display: 'navigating to {anywhere}'
  - speak: 'starting navigation to {anywhere}'
  - android.intent: android.intent.action.VIEW
    uri: google.navigation:q={anywhere}

Status: ✅ IMPLEMENTED