Property | Type | Description | |
---|---|---|---|
AaptCommandRun | |||
AaptCommandToString | string | ||
AdbCommandToString | string | ||
CommandRun | |||
InternalGetDeviceState | DeviceState | ||
RunAaptCommand | string | ||
RunAdbCommand | string | ||
RunAdbCommand | string | ||
ShellLSRun | |||
ShellLSRun | |||
StringToDeviceState | DeviceState |
Method | Description | |
---|---|---|
AdbCommandArguments ( string device, AdbCommand command ) : string |
gets Adbs command arguments.
|
|
AdbProcessCleanUp ( ) : void | ||
ApplyUpdate ( ) : void |
Applies the update.
|
|
ApplyUpdate ( string device ) : void |
Applies the update.
|
|
Chmod ( |
Change file system modes of files and directories. The modes include permissions and special modes.
|
|
Chmod ( int mode, string file ) : void |
Change file system modes of files and directories. The modes include permissions and special modes.
|
|
Chmod ( string device, |
Change file system modes of files and directories. The modes include permissions and special modes.
|
|
Chmod ( string device, int mode, string file ) : void |
Change file system modes of files and directories. The modes include permissions and special modes.
|
|
CommandRunner ( ) : System |
Initializes a new instance of the CommandRunner class.
|
|
Connect ( ) : void |
Connects this instance.
|
|
Connect ( string device ) : void |
Connects the specified device.
|
|
DeleteDirectory ( string path ) : void |
Deletes the Directory. This will recursively remove all files and sub-directories as well
|
|
DeleteDirectory ( string device, string path ) : void |
Deletes the Directory. This will recursively remove all files and sub-directories as well
|
|
DeleteFile ( string file ) : void |
Deletes the file.
|
|
DeleteFile ( string device, string file ) : void |
Deletes the file.
|
|
DeviceBackup ( String output ) : void | ||
DeviceBackup ( String device, String output ) : void | ||
DeviceBackup ( String device, String output, bool apk, bool system, bool shared ) : void | ||
DeviceBackup ( String output, bool apk, bool system, bool shared ) : void | ||
DeviceRestore ( String backupFile ) : void | ||
DeviceRestore ( String device, String backupFile ) : void | ||
Disconnect ( ) : void |
Disconnects this instance.
|
|
Disconnect ( string device ) : void |
Disconnects the specified device.
|
|
FastbootEraseRecovery ( ) : void |
Uses Fastboots to erase recovery image.
|
|
FastbootEraseRecovery ( string device ) : void | ||
FastbootFlashImage ( string image ) : void | ||
FastbootFlashImage ( string device, string image ) : void | ||
FlashImage ( string image ) : void |
Flashes the image.
|
|
FlashImage ( string device, string image ) : void |
Flashes the image.
|
|
Forward ( string local, string remote, bool rebind ) : void |
|
|
Forward ( string device, string local, string remote, bool rebind ) : void |
Forwards the specified device.
|
|
ForwardList ( ) : void |
|
|
ForwardList ( string device ) : void |
Forwards the specified device.
|
|
ForwardRemove ( string local ) : void |
|
|
ForwardRemove ( string device, string local ) : void |
Forwards the specified device.
|
|
ForwardRemoveAll ( ) : void |
|
|
ForwardRemoveAll ( string device ) : void |
Forwards the specified device.
|
|
GetAaptVersion ( ) : string |
Gets the aapt version.
|
|
GetAdbVersion ( ) : string |
Gets the adb version.
|
|
GetApkIconImage ( string apkFile ) : Image |
Gets the apk icon image.
|
|
GetApkInformation ( string apkFile ) : |
||
GetApkInformationFromLocalCache ( String apkFile, String cacheDirectory ) : |
||
GetApkPermissions ( string apkFile ) : List |
||
GetBatteryInfo ( ) : |
||
GetBatteryInfo ( String device ) : |
||
GetBatteryInfo ( String device, long freshness ) : |
||
GetBatteryInfo ( long freshness ) : |
||
GetDeviceState ( ) : DeviceState |
Gets the state of the device.
|
|
GetDeviceState ( string device ) : DeviceState |
Gets the state of the device.
|
|
GetDeviceStatus ( string device ) : DeviceState | ||
GetDevices ( ) : IEnumerable |
Gets the devices.
|
|
GetDirectoryContents ( string path ) : List |
Gets the directory contents.
|
|
GetDirectoryContents ( string device, string path ) : List |
Gets the directory contents.
|
|
GetInstalledPackages ( ) : |
Gets the installed packages.
|
|
GetInstalledPackages ( string device ) : |
Gets the installed packages.
|
|
GetInstalledPackagesApkInformation ( ) : List |
Gets the installed packages apk information.
|
|
GetInstalledPackagesApkInformation ( string device ) : List |
Gets the installed packages apk information.
|
|
GetLocalApkIconImage ( string apkFile ) : Image | ||
GetLocalApkInformation ( string apkFile ) : |
||
GetLocalApkPermissions ( string apkFile ) : List |
||
GetProcessIds ( ) : List |
Gets the process ids.
|
|
GetProcessIds ( string device ) : List |
Gets the process ids.
|
|
GetProcessInfoList ( ) : List |
Gets the process info list.
|
|
GetProcessInfoList ( string device ) : List |
Gets the process info list.
|
|
GetProperties ( ) : PropertyList |
Gets the properties.
|
|
GetProperties ( string device ) : PropertyList |
Gets the properties.
|
|
GetProperty ( ) : string | ||
GetProperty ( string propertyName ) : string |
Gets the property.
|
|
GetProperty ( string device, string propertyName ) : string |
Gets the property.
|
|
GetScreenResolution ( ) : |
||
GetScreenResolution ( string device ) : |
||
GetSerialNumber ( ) : string |
Gets the serial number.
|
|
GetSerialNumber ( string device ) : string |
Gets the serial number.
|
|
InstallApk ( string apkFile ) : bool |
Installs the apk.
|
|
InstallApk ( string device, string apkFile ) : bool |
Installs the apk. If it fails, it attempts to "reinstall".
|
|
IsAppDirectory ( string path ) : bool |
Determines whether [is app directory] [the specified path].
|
|
IsMountPoint ( string path ) : bool |
Determines whether the specified path is a mount point on the default device.
|
|
IsMountPoint ( string device, string path ) : bool |
Determines whether the specified path is a mount point on the specified device.
|
|
IsPackageInstalled ( string package ) : bool |
Determines whether the specified package is installed on the default device.
|
|
IsPackageInstalled ( string device, string package ) : bool |
Determines whether the specified package is installed on the device.
|
|
LaunchActivity ( string package, string classFullName ) : void |
Launches the activity.
|
|
LaunchActivity ( string device, string package, string classFullName ) : void |
Launches the activity.
|
|
LaunchAvdManager ( ) : void | ||
LaunchDalvikDebugMonitor ( ) : void |
Launches the dalvik debug monitor.
|
|
LaunchHierarchyViewer ( ) : void |
Launches the hierarchy viewer.
|
|
LaunchProcessWindow ( string process, string args, bool visible ) : void |
Launches the process window.
|
|
LaunchRedirectedShellWindow ( string device, string initialCommand, IShellProcess shellHandler ) : void |
Launches the redirected shell window.
|
|
LaunchSdkManager ( ) : void | ||
LaunchShellWindow ( ) : void |
Launches the shell window.
|
|
LaunchShellWindow ( string device ) : void |
Launches the shell window.
|
|
LaunchShellWindow ( string device, string initialCommand ) : void |
Launches the shell window.
|
|
ListDirectories ( string path ) : List |
Lists the directories.
|
|
ListDirectories ( string device, string path ) : List |
Lists the directories.
|
|
MakeReadOnly ( string mountPoint ) : void |
Makes the mount point read only.
|
|
MakeReadOnly ( string device, string mountPoint ) : void |
Makes the mount point read only.
|
|
MakeReadWrite ( string mountPoint ) : void |
Makes the mount point read write.
|
|
MakeReadWrite ( string device, string mountPoint ) : void |
Makes the mount point read write.
|
|
Mount ( string mount ) : void |
Mounts the specified mount.
|
|
Mount ( string device, string mount ) : void |
Mounts the specified device.
|
|
PullDirectory ( string remotePath ) : System.IO.DirectoryInfo |
Pulls the directory.
|
|
PullDirectory ( string remotePath, string localPath ) : System.IO.DirectoryInfo |
Pulls the directory.
|
|
PullDirectory ( string device, string remotePath, string localPath ) : System.IO.DirectoryInfo |
Pulls the directory.
|
|
PullFile ( string path ) : System.IO.FileInfo |
Pulls the file.
|
|
PullFile ( string device, string path ) : System.IO.FileInfo |
Pulls the file.
|
|
PullFiles ( List |
Pulls the files.
|
|
PullFiles ( string device, List |
Pulls the files.
|
|
PushFile ( string local, string remote ) : |
Pushes the file.
|
|
PushFile ( string device, string local, string remote ) : |
Pushes the file.
|
|
ReadFile ( string file ) : |
Reads the file.
|
|
ReadFile ( string device, string file ) : |
Reads the file.
|
|
Reboot ( ) : void |
Reboots the default device.
|
|
Reboot ( string device ) : void |
Reboots the specified device.
|
|
Reboot ( string device, string mode ) : void | ||
RebootBootloader ( ) : void |
Reboots in to bootloader.
|
|
RebootBootloader ( string device ) : void |
Reboots in to bootloader.
|
|
RebootDownloadMode ( ) : void |
Reboots the device in download mode.
|
|
RebootDownloadMode ( String device ) : void |
Reboots the device in download mode.
|
|
RebootRecovery ( ) : void |
Reboots in to recovery.
|
|
RebootRecovery ( string device ) : void |
Reboots in to recovery.
|
|
ReinstallApk ( string apkFile ) : bool |
Reinstalls the apk.
|
|
ReinstallApk ( string device, string apkFile ) : bool |
Reinstalls the apk.
|
|
Rename ( string path, string newName ) : void | ||
Rename ( string device, string path, string newName ) : void | ||
RenameFile ( string file, string newName ) : void |
Renames the file.
|
|
RenameFile ( string device, string file, string newName ) : void |
Renames the file.
|
|
RestartServer ( ) : void | ||
Reverse ( string local, string remote, bool rebind ) : void |
Reverses the specified local.
|
|
Reverse ( string device, string local, string remote, bool rebind ) : void |
Forwards the specified device.
|
|
ReverseList ( ) : void |
|
|
ReverseList ( string device ) : void |
Forwards the specified device.
|
|
ReverseRemove ( string local ) : void |
|
|
ReverseRemove ( string device, string local ) : void |
Forwards the specified device.
|
|
ReverseRemoveAll ( ) : void |
|
|
ReverseRemoveAll ( string device ) : void |
Forwards the specified device.
|
|
ScreenCapture ( string device, |
||
ShellRun ( string command ) : |
Shell run a command.
|
|
ShellRun ( string device, string command ) : |
Shell run a command.
|
|
StartAdbAsRoot ( string device ) : void |
Starts the adb service as root on the device.
|
|
StartServer ( ) : void |
Starts the server.
|
|
StopServer ( ) : void | ||
TcpConnect ( string connection ) : bool | ||
TopProcessKill ( ) : void |
Tops the process kill.
|
|
TopProcessRun ( ) : void |
Tops the process run.
|
|
UninstallApk ( string package ) : bool |
Uninstalls the apk.
|
|
UninstallApk ( string device, string package ) : bool |
Uninstalls the apk.
|
|
shell_OutputDataReceived ( object sender, |
Handles the OutputDataReceived event of the shell control.
|
Method | Description | |
---|---|---|
AaptCommandRun ( AaptCommand command, string args ) : |
Aapts the command run.
|
|
AaptCommandToString ( AaptCommand command ) : string |
Convert the aapt Command to the string value
|
|
AdbCommandToString ( AdbCommand command ) : string |
Convert the Adb Command to the string value
|
|
CommandRun ( string device, AdbCommand command, string args ) : |
runs the command
|
|
InternalGetDeviceState ( string device ) : DeviceState | ||
RunAaptCommand ( AaptCommand command, string args ) : string |
Runs the aapt command.
|
|
RunAdbCommand ( string device, AdbCommand command, string args ) : string | ||
RunAdbCommand ( string device, AdbCommand command, string args, bool wait, bool logCommand ) : string |
Runs the adb command.
|
|
ShellLSRun ( string command ) : |
Shell runs the LS command.
|
|
ShellLSRun ( string device, string command ) : |
Shell runs the LS command.
|
|
StringToDeviceState ( string val ) : DeviceState |
Gets the device state from the string value
|
public AdbCommandArguments ( string device, AdbCommand command ) : string | ||
device | string | The device. |
command | AdbCommand | The command. |
return | string |
public ApplyUpdate ( string device ) : void | ||
device | string | The device. |
return | void |
public Chmod ( |
||
user | The user. | |
group | The group. | |
other | The other. | |
file | string | The file. |
return | void |
public Chmod ( int mode, string file ) : void | ||
mode | int | The mode. |
file | string | The file. |
return | void |
public Chmod ( string device, |
||
device | string | The device. |
user | The user. | |
group | The group. | |
other | The other. | |
file | string | The file. |
return | void |
public Chmod ( string device, int mode, string file ) : void | ||
device | string | The device. |
mode | int | The mode. |
file | string | The file. |
return | void |
public Connect ( string device ) : void | ||
device | string | The device. |
return | void |
public DeleteDirectory ( string path ) : void | ||
path | string | |
return | void |
public DeleteDirectory ( string device, string path ) : void | ||
device | string | The device. |
path | string | The path to delete. |
return | void |
public DeleteFile ( string file ) : void | ||
file | string | The file. |
return | void |
public DeleteFile ( string device, string file ) : void | ||
device | string | The device. |
file | string | The file. |
return | void |
public DeviceBackup ( String device, String output ) : void | ||
device | String | |
output | String | |
return | void |
public DeviceBackup ( String device, String output, bool apk, bool system, bool shared ) : void | ||
device | String | |
output | String | |
apk | bool | |
system | bool | |
shared | bool | |
return | void |
public DeviceBackup ( String output, bool apk, bool system, bool shared ) : void | ||
output | String | |
apk | bool | |
system | bool | |
shared | bool | |
return | void |
public DeviceRestore ( String backupFile ) : void | ||
backupFile | String | |
return | void |
public DeviceRestore ( String device, String backupFile ) : void | ||
device | String | |
backupFile | String | |
return | void |
public Disconnect ( string device ) : void | ||
device | string | The device. |
return | void |
public FastbootEraseRecovery ( string device ) : void | ||
device | string | |
return | void |
public FastbootFlashImage ( string image ) : void | ||
image | string | |
return | void |
public FastbootFlashImage ( string device, string image ) : void | ||
device | string | |
image | string | |
return | void |
public FlashImage ( string image ) : void | ||
image | string | The image. |
return | void |
public FlashImage ( string device, string image ) : void | ||
device | string | The device. |
image | string | The image. |
return | void |
public Forward ( string local, string remote, bool rebind ) : void | ||
local | string | local arg |
remote | string | remote arg |
rebind | bool | |
return | void |
public Forward ( string device, string local, string remote, bool rebind ) : void | ||
device | string | The device. |
local | string | The local. |
remote | string | The remote. |
rebind | bool | |
return | void |
public ForwardList ( string device ) : void | ||
device | string | The device. |
return | void |
public ForwardRemove ( string local ) : void | ||
local | string | local arg |
return | void |
public ForwardRemove ( string device, string local ) : void | ||
device | string | The device. |
local | string | The local. |
return | void |
public ForwardRemoveAll ( string device ) : void | ||
device | string | The device. |
return | void |
public GetApkIconImage ( string apkFile ) : Image | ||
apkFile | string | The apk file. |
return | Image |
public GetApkInformation ( string apkFile ) : |
||
apkFile | string | |
return |
public GetApkInformationFromLocalCache ( String apkFile, String cacheDirectory ) : |
||
apkFile | String | |
cacheDirectory | String | |
return |
public GetApkPermissions ( string apkFile ) : List |
||
apkFile | string | |
return | List |
public GetBatteryInfo ( ) : |
||
return |
public GetBatteryInfo ( String device ) : |
||
device | String | |
return |
public GetBatteryInfo ( String device, long freshness ) : |
||
device | String | |
freshness | long | |
return |
public GetBatteryInfo ( long freshness ) : |
||
freshness | long | |
return |
public GetDeviceState ( string device ) : DeviceState | ||
device | string | |
return | DeviceState |
public GetDeviceStatus ( string device ) : DeviceState | ||
device | string | |
return | DeviceState |
public GetDirectoryContents ( string path ) : List |
||
path | string | The path. |
return | List |
public GetDirectoryContents ( string device, string path ) : List |
||
device | string | The device. |
path | string | The path. |
return | List |
public GetInstalledPackages ( ) : |
||
return |
public GetInstalledPackages ( string device ) : |
||
device | string | The device. |
return |
public GetInstalledPackagesApkInformation ( ) : List |
||
return | List |
public GetInstalledPackagesApkInformation ( string device ) : List |
||
device | string | The device. |
return | List |
public GetLocalApkIconImage ( string apkFile ) : Image | ||
apkFile | string | |
return | Image |
public GetLocalApkInformation ( string apkFile ) : |
||
apkFile | string | |
return |
public GetLocalApkPermissions ( string apkFile ) : List |
||
apkFile | string | |
return | List |
public GetProcessIds ( string device ) : List |
||
device | string | The device. |
return | List |
public GetProcessInfoList ( string device ) : List |
||
device | string | The device. |
return | List |
public GetProperties ( string device ) : PropertyList | ||
device | string | The device. |
return | PropertyList |
public GetProperty ( string propertyName ) : string | ||
propertyName | string | Name of the property. |
return | string |
public GetProperty ( string device, string propertyName ) : string | ||
device | string | The device. |
propertyName | string | Name of the property. |
return | string |
public GetScreenResolution ( ) : |
||
return |
public GetScreenResolution ( string device ) : |
||
device | string | |
return |
public GetSerialNumber ( string device ) : string | ||
device | string | The device. |
return | string |
public InstallApk ( string apkFile ) : bool | ||
apkFile | string | The apk file. |
return | bool |
public InstallApk ( string device, string apkFile ) : bool | ||
device | string | The device. |
apkFile | string | The apk file. |
return | bool |
public static IsAppDirectory ( string path ) : bool | ||
path | string | The path. |
return | bool |
public IsMountPoint ( string path ) : bool | ||
path | string | The path. |
return | bool |
public IsMountPoint ( string device, string path ) : bool | ||
device | string | The device. |
path | string | The path. |
return | bool |
public IsPackageInstalled ( string package ) : bool | ||
package | string | The package. |
return | bool |
public IsPackageInstalled ( string device, string package ) : bool | ||
device | string | The device. |
package | string | The package. |
return | bool |
public LaunchActivity ( string package, string classFullName ) : void | ||
package | string | The package. |
classFullName | string | Full name of the class. |
return | void |
public LaunchActivity ( string device, string package, string classFullName ) : void | ||
device | string | The device. |
package | string | The package. |
classFullName | string | Full name of the class. |
return | void |
public LaunchProcessWindow ( string process, string args, bool visible ) : void | ||
process | string | The process. |
args | string | The args. |
visible | bool | if set to |
return | void |
public LaunchRedirectedShellWindow ( string device, string initialCommand, IShellProcess shellHandler ) : void | ||
device | string | The device. |
initialCommand | string | The initial command. |
shellHandler | IShellProcess | The shell handler. |
return | void |
public LaunchShellWindow ( string device ) : void | ||
device | string | The device. |
return | void |
public LaunchShellWindow ( string device, string initialCommand ) : void | ||
device | string | The device. |
initialCommand | string | The initial command. |
return | void |
public ListDirectories ( string path ) : List |
||
path | string | The path. |
return | List |
public ListDirectories ( string device, string path ) : List |
||
device | string | The device. |
path | string | The path. |
return | List |
public MakeReadOnly ( string mountPoint ) : void | ||
mountPoint | string | The mount point. |
return | void |
public MakeReadOnly ( string device, string mountPoint ) : void | ||
device | string | The device. |
mountPoint | string | The mount point. |
return | void |
public MakeReadWrite ( string mountPoint ) : void | ||
mountPoint | string | The mount point. |
return | void |
public MakeReadWrite ( string device, string mountPoint ) : void | ||
device | string | The device. |
mountPoint | string | The mount point. |
return | void |
public Mount ( string device, string mount ) : void | ||
device | string | The device. |
mount | string | The mount. |
return | void |
public PullDirectory ( string remotePath ) : System.IO.DirectoryInfo | ||
remotePath | string | The remote path. |
return | System.IO.DirectoryInfo |
public PullDirectory ( string remotePath, string localPath ) : System.IO.DirectoryInfo | ||
remotePath | string | The remote path. |
localPath | string | The local path. |
return | System.IO.DirectoryInfo |
public PullDirectory ( string device, string remotePath, string localPath ) : System.IO.DirectoryInfo | ||
device | string | The device. |
remotePath | string | The remote path. |
localPath | string | The local path. |
return | System.IO.DirectoryInfo |
public PullFile ( string path ) : System.IO.FileInfo | ||
path | string | The path. |
return | System.IO.FileInfo |
public PullFile ( string device, string path ) : System.IO.FileInfo | ||
device | string | The device. |
path | string | The path. |
return | System.IO.FileInfo |
public PullFiles ( string device, List |
||
device | string | The device. |
paths | List |
The paths. |
return | List |
public PushFile ( string local, string remote ) : |
||
local | string | The local. |
remote | string | The remote. |
return |
public PushFile ( string device, string local, string remote ) : |
||
device | string | The device. |
local | string | The local. |
remote | string | The remote. |
return |
public ReadFile ( string file ) : |
||
file | string | The file. |
return |
public ReadFile ( string device, string file ) : |
||
device | string | The device. |
file | string | The file. |
return |
public Reboot ( string device, string mode ) : void | ||
device | string | |
mode | string | |
return | void |
public RebootBootloader ( string device ) : void | ||
device | string | The device. |
return | void |
public RebootDownloadMode ( String device ) : void | ||
device | String | The device. |
return | void |
public RebootRecovery ( string device ) : void | ||
device | string | The device. |
return | void |
public ReinstallApk ( string apkFile ) : bool | ||
apkFile | string | The apk file. |
return | bool |
public ReinstallApk ( string device, string apkFile ) : bool | ||
device | string | The device. |
apkFile | string | The apk file. |
return | bool |
public Rename ( string path, string newName ) : void | ||
path | string | |
newName | string | |
return | void |
public Rename ( string device, string path, string newName ) : void | ||
device | string | |
path | string | |
newName | string | |
return | void |
public RenameFile ( string file, string newName ) : void | ||
file | string | The file. |
newName | string | The new name. |
return | void |
public RenameFile ( string device, string file, string newName ) : void | ||
device | string | The device. |
file | string | The file. |
newName | string | The new name. |
return | void |
public Reverse ( string local, string remote, bool rebind ) : void | ||
local | string | local arg |
remote | string | remote arg |
rebind | bool | if set to |
return | void |
public Reverse ( string device, string local, string remote, bool rebind ) : void | ||
device | string | The device. |
local | string | The local. |
remote | string | The remote. |
rebind | bool | if set to |
return | void |
public ReverseList ( string device ) : void | ||
device | string | The device. |
return | void |
public ReverseRemove ( string local ) : void | ||
local | string | local arg |
return | void |
public ReverseRemove ( string device, string local ) : void | ||
device | string | The device. |
local | string | The local. |
return | void |
public ReverseRemoveAll ( string device ) : void | ||
device | string | The device. |
return | void |
public ScreenCapture ( string device, |
||
device | string | |
resolution | ||
bitrate | int | |
timeLimit | System.TimeSpan | |
rotate | bool | |
file | string | |
return |
public ShellRun ( string command ) : |
||
command | string | The command. |
return |
public ShellRun ( string device, string command ) : |
||
device | string | The device. |
command | string | The command. |
return |
public StartAdbAsRoot ( string device ) : void | ||
device | string | The device. |
return | void |
public TcpConnect ( string connection ) : bool | ||
connection | string | |
return | bool |
public UninstallApk ( string package ) : bool | ||
package | string | The package. |
return | bool |
public UninstallApk ( string device, string package ) : bool | ||
device | string | The device. |
package | string | The package. |
return | bool |
public shell_OutputDataReceived ( object sender, |
||
sender | object | The source of the event. |
e | The |
|
return | void |