| Modifier and Type | Method and Description |
|---|---|
void |
AndroidBridge.connect()
Connects to the bridge.
|
void |
AndroidDevice.createPortForwarding(int localPort,
int remotePort)
Creates a port forwarding between a local and a remote port.
|
void |
AndroidSDCardManager.createSDCard(SDCard sdCard)
Creates Android SD card.
|
void |
AndroidBridge.disconnect()
Disconnects bridge and disposes connection.
|
void |
AndroidDevice.executeShellCommand(String command)
Executes a shell command on the device.
|
void |
AndroidDevice.executeShellCommand(String command,
AndroidDeviceOutputReciever reciever)
Executes a shell command on the device
|
String |
AndroidDevice.getProperty(String name)
Returns a value of property with given name
|
void |
AndroidDevice.installPackage(File packageFilePath,
boolean reinstall,
String... extraArgs)
Installs an Android application on device.
|
boolean |
AndroidDevice.isPackageInstalled(String packageName)
Checks if an APK package of name
packageName is installed or not. |
void |
AndroidDevice.removePortForwarding(int localPort,
int remotePort)
Removes a port forwarding between a local and a remote port.
|
void |
AndroidDevice.uninstallPackage(String packageName)
Uninstalls an package from the device.
|
Copyright © 2014 JBoss by Red Hat. All rights reserved.