Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-199] androidlib: Emulator and Device APIs

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsandroidlib
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2017-12-01T17:39:13.000+0000
Updated2020-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 emulator

Devices

There 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

Comments

No comments

JSON Source