This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
intents:open_apps [2016/05/09 16:41] mxgh2000 created |
intents:open_apps [2020/02/11 23:38] 127.0.0.1 external edit |
||
---|---|---|---|
Line 1: | Line 1: | ||
**Open default browser app** | **Open default browser app** | ||
- | + | < | |
- | app.SendIntent(null, | + | " |
+ | " | ||
+ | </ | ||
**Open default music app** | **Open default music app** | ||
- | + | < | |
- | app.SendIntent(null, | + | " |
+ | " | ||
+ | </ | ||
**Open default calculator app** | **Open default calculator app** | ||
- | + | < | |
- | app.SendIntent(null, | + | app.SendIntent(null, |
+ | " | ||
+ | " | ||
+ | </ | ||
**Open default contacts app** | **Open default contacts app** | ||
- | + | < | |
- | app.SendIntent(null, | + | app.SendIntent(null, |
+ | " | ||
+ | " | ||
+ | </ | ||
**Open default email app** | **Open default email app** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ | **Open default maps app** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | “android.intent.action.MAIN”, | ||
+ | “android.intent.category.APP_MAPS”); | ||
+ | </ | ||
+ | As an alternative, | ||
- | app.SendIntent(null, null, " | + | |
+ | " | ||
+ | | ||
+ | | ||
+ | | ||
+ | " | ||
+ | | ||
- | **Open default maps app** | + | Replace the coordinates and Placename in the uri argument with those for the desired location. (Optionally, you can omit Placename along with the parentheses.) |
- | + | ||
- | app.SendIntent(null, null, " | + | |
**Open default gallery app** | **Open default gallery app** | ||
- | + | < | |
- | app.SendIntent(null, | + | app.SendIntent(null, |
+ | " | ||
+ | " | ||
+ | </ | ||
**Open default calendar app** | **Open default calendar app** | ||
- | + | < | |
- | app.SendIntent(null, | + | app.SendIntent(null, |
+ | " | ||
+ | " | ||
+ | </ | ||
**Open default market app** | **Open default market app** | ||
- | + | < | |
- | app.SendIntent(null, | + | app.SendIntent(null, |
- | + | " | |
- | **Open default | + | " |
- | + | </ | |
- | app.SendIntent(null, | + | **Open default |
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ | **Open bluetooth settings** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | </ | ||
+ | **Open WiFi settings** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | </ |