[DAEMON-199] androidlib: Emulator and Device APIs
androidlib 2.0 contains just the detection code and now needs to expose an API for performing emulator and device operations such as launching a emulator or installing an app to a device. Repo: https://github.com/appcelerator/androidlib All of the logic already exists and needs to be ported from https://github.com/appcelerator/node-titanium-sdk.
EmulatorsNeed the following bits of functionality: * Get an AVD name from ADB * Check if an emulator is running/avd.js#L77) * Check if an emulator is booted * Launch an emulator * Stop an emulator
DevicesThere are no device specific functionality since ADB has the same interface for both emulator and devices
Common* Install an app * Start an app * Stop an app * Return process list (e.g. "ps" command) * Get an app's process id (pid) * Forward a port * Push a file to a device/emulator * Pull a file from a device/emulator * Stream log messages via logcat