This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
intents:open_apps [2016/08/08 07:23] 81.157.179.204 |
intents:open_apps [2020/02/11 15:38] stevegarman prettier code blocks on small screen |
||
---|---|---|---|
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”, |
+ | “android.intent.category.APP_MAPS”); | ||
+ | </ | ||
As an alternative, | As an alternative, | ||
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, | + | app.SendIntent(null, |
+ | " | ||
+ | " | ||
+ | </ | ||
+ | **Open bluetooth settings** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | </ | ||
+ | **Open WiFi settings** | ||
+ | < | ||
+ | app.SendIntent(null, | ||
+ | " | ||
+ | </ |