[DAEMON-199] androidlib: Emulator and Device APIs
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | androidlib |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2017-12-01T17:39:13.000+0000 |
Updated | 2020-03-05T18:13:27.000+0000 |
Description
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.Emulators
Need 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 emulatorDevices
There are no device specific functionality since ADB has the same interface for both emulator and devicesCommon
* 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 logcatComments
No comments