org.safs.android.auto.lib
Class WindowsAndroidTools

java.lang.Object
  extended by org.safs.android.auto.lib.AndroidTools
      extended by org.safs.android.auto.lib.WindowsAndroidTools

public class WindowsAndroidTools
extends AndroidTools

Requires "SystemRoot" environment variable whenever launching tools via Windows BAT files. Currently assumes %SYSTEMROOT%\system32\cmd.exe exists for executing BAT files. Probably should be modified to work for alternative 32\64-bit operating systems.


Field Summary
 
Fields inherited from class org.safs.android.auto.lib.AndroidTools
ANDROID_HOME_ENV_VAR, ANDROID_HOME_SYS_PROP, ANDROID_SDK_ENV_VAR, OS_FAMILY_SYS_PROP
 
Constructor Summary
WindowsAndroidTools()
           
 
Method Summary
 Process2 aapt(java.lang.String... args)
           
 Process2 adb(java.lang.String... args)
           
 Process2 aidl(java.lang.String... args)
           
 Process2 apkBuilder(java.lang.String... args)
           
 Process2 ddms(java.lang.String... args)
           
 Process2 dmtracedump(java.lang.String... args)
           
 Process2 dx(java.lang.String... args)
           
 Process2 emulator(java.lang.String... args)
           
 Process2 mksdcard(java.lang.String... args)
           
 Process2 sqlite3(java.lang.String... args)
           
protected  Process2 start(java.lang.String binary, java.util.List<java.lang.String> args)
           
 Process2 traceview(java.lang.String... args)
           
 
Methods inherited from class org.safs.android.auto.lib.AndroidTools
aapt, adb, aidl, apkBuilder, ddms, dmtracedump, dx, emulator, forOsFamily, get, getAndroidHome, getOSFamily, locateTool, mksdcard, setAndroidHome, sqlite3, startTool, startTool, traceview
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsAndroidTools

public WindowsAndroidTools()
Method Detail

start

protected Process2 start(java.lang.String binary,
                         java.util.List<java.lang.String> args)
                  throws java.io.IOException
Overrides:
start in class AndroidTools
Throws:
java.io.IOException

aapt

public Process2 aapt(java.lang.String... args)
              throws java.io.IOException
Specified by:
aapt in class AndroidTools
Throws:
java.io.IOException

adb

public Process2 adb(java.lang.String... args)
             throws java.io.IOException
Specified by:
adb in class AndroidTools
Throws:
java.io.IOException

aidl

public Process2 aidl(java.lang.String... args)
              throws java.io.IOException
Specified by:
aidl in class AndroidTools
Throws:
java.io.IOException

apkBuilder

public Process2 apkBuilder(java.lang.String... args)
                    throws java.io.IOException
Specified by:
apkBuilder in class AndroidTools
Throws:
java.io.IOException

dx

public Process2 dx(java.lang.String... args)
            throws java.io.IOException
Specified by:
dx in class AndroidTools
Throws:
java.io.IOException

emulator

public Process2 emulator(java.lang.String... args)
                  throws java.io.IOException
Specified by:
emulator in class AndroidTools
Throws:
java.io.IOException

ddms

public Process2 ddms(java.lang.String... args)
              throws java.io.IOException
Specified by:
ddms in class AndroidTools
Throws:
java.io.IOException

dmtracedump

public Process2 dmtracedump(java.lang.String... args)
                     throws java.io.IOException
Specified by:
dmtracedump in class AndroidTools
Throws:
java.io.IOException

mksdcard

public Process2 mksdcard(java.lang.String... args)
                  throws java.io.IOException
Specified by:
mksdcard in class AndroidTools
Throws:
java.io.IOException

sqlite3

public Process2 sqlite3(java.lang.String... args)
                 throws java.io.IOException
Specified by:
sqlite3 in class AndroidTools
Throws:
java.io.IOException

traceview

public Process2 traceview(java.lang.String... args)
                   throws java.io.IOException
Specified by:
traceview in class AndroidTools
Throws:
java.io.IOException