You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A selection of commonly used intents. These can be used to trigger some common tasks.
pick
Display content to be picked by URI (e.g. contacts)
uri (String) returns: (Intent) A map of result values.
scanBarcode
Starts the barcode scanner.
returns: (Intent) A Map representation of the result Intent.
search
Starts a search for the given query.
query (String)
view
Start activity with view action by URI (i.e. browser, contacts, etc.).
uri (String) type (String) MIME type/subtype of the URI (optional)
extras (JSONObject) a Map of extras to add to the Intent (optional)
viewContacts
Opens the list of contacts.
viewHtml
Opens the browser to display a local HTML file.
path (String) the path to the HTML file
viewMap
Opens a map search for query (e.g. pizza, 123 My Street).
query, e.g. pizza, 123 My Street (String)