This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
intents:open_apps [2016/05/09 16:41] mxgh2000 created |
intents:open_apps [2021/10/29 14:59] (current) al4he6 Added "Other Settings" section |
||
---|---|---|---|
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, | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ | **Open default messaging app** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ | **Open bluetooth settings** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | </ | ||
+ | **Open WiFi settings** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | </ | ||
- | app.SendIntent(null, | + | **Other Settings**\\ |
- | + | \\ | |
- | **Open default calendar app** | + | See https:// |
- | + | The Constants section contains Actions (use as 3rd parameter on SendIntent,\\ | |
- | app.SendIntent(null, | + | replacing ACTION_ by android.settings.)\\ |