
public class AndroidApplicationHelper extends Object
| Constructor and Description |
|---|
AndroidApplicationHelper(ProcessExecutor executor,
AndroidSDK sdk) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getActivities(File apkFile) |
List<String> |
getActivities(String apkFile) |
String |
getApplicationBasePackage(File apk) |
String |
getApplicationBasePackage(String apk) |
String |
getApplicationMainActivity(File apk) |
String |
getApplicationMainActivity(String apk) |
public AndroidApplicationHelper(ProcessExecutor executor, AndroidSDK sdk)
executor - sdk - IllegalArgumentException - if either Executor or sdk is a null objectpublic String getApplicationMainActivity(File apk)
apk - apk file to get the name of main activity frompublic String getApplicationMainActivity(String apk)
apk - apk file name to get the name of main activity frompublic String getApplicationBasePackage(File apk)
apk - apk file to get the name of application base package ofpublic List<String> getActivities(File apkFile)
apkFile - file to get the list of activities ofpublic List<String> getActivities(String apkFile)
apkFile - file to get the list of activities ofCopyright © 2013 JBoss by Red Hat. All rights reserved.