android.intentDescription:
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):
android.intent: string, required, specifying the android action (e.g. android.intent.action.SHOW_TIMERS, see Google docs for more info)uri: string, optional, specifying the URI for the specified action (see Google docs for more info) (default: null)extras: string or sequence of string, optional, specifying a bundle of any additional information, typically as name vaule pairs (see Google docs for more info)# 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