This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
intents:open_apps [2016/08/08 07:15] 81.157.179.204 |
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, | + | app.SendIntent(null, |
+ | " | ||
+ | " | ||
+ | </ | ||
**Open default maps app** | **Open default maps app** | ||
- | + | < | |
- | app.SendIntent(null, | + | app.SendIntent(null, |
- | | + | “android.intent.action.MAIN”, |
- | As an alternative, | + | “android.intent.category.APP_MAPS”); |
+ | </ | ||
+ | As an alternative, | ||
app.SendIntent( | app.SendIntent( | ||
Line 36: | Line 46: | ||
**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 messaging app** | **Open default messaging app** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | " | ||
+ | </ | ||
+ | **Open bluetooth settings** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | </ | ||
+ | **Open WiFi settings** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | </ | ||
- | app.SendIntent(null, | + | **Other Settings**\\ |
+ | \\ | ||
+ | See https:// | ||
+ | The Constants section contains Actions (use as 3rd parameter on SendIntent,\\ | ||
+ | replacing ACTION_ by android.settings.)\\ |