MCPcopy Create free account
hub / github.com/afkT/DevUtils / launchApp

Method launchApp

lib/DevApp/src/main/java/dev/utils/app/AppUtils.java:1835–1837  ·  view source on GitHub ↗

打开 APP @param packageName 应用包名 @return true success, false fail

(final String packageName)

Source from the content-addressed store, hash-verified

1833 * @return {@code true} success, {@code false} fail
1834 */
1835 public static boolean launchApp(final String packageName) {
1836 return startActivity(IntentUtils.getLaunchAppIntent(packageName));
1837 }
1838
1839 /**
1840 * 打开 APP

Callers

nothing calls this directly

Calls 3

startActivityMethod · 0.95
getLaunchAppIntentMethod · 0.95

Tested by

no test coverage detected