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

Method startActivity

lib/DevApp/src/main/java/dev/utils/app/ADBUtils.java:1078–1083  ·  view source on GitHub ↗

跳转页面 Activity @param packageAndLauncher package/package.xx.Activity.className @param closeActivity 是否关闭 Activity 所属的 APP 进程后再启动 Activity @return true success, false fail

(
            final String packageAndLauncher,
            final boolean closeActivity
    )

Source from the content-addressed store, hash-verified

1076 * @return {@code true} success, {@code false} fail
1077 */
1078 public static boolean startActivity(
1079 final String packageAndLauncher,
1080 final boolean closeActivity
1081 ) {
1082 return startActivity(packageAndLauncher, null, closeActivity);
1083 }
1084
1085 /**
1086 * 跳转页面 Activity

Callers 8

startSelfAppMethod · 0.95
startMethod · 0.45
startMethod · 0.45
startMethod · 0.45
startMethod · 0.45
startMethod · 0.45
FunctionViewModelClass · 0.45
uncaughtExceptionMethod · 0.45

Calls 5

execCmdMethod · 0.95
eTagMethod · 0.95
isEmptyMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected