Skip to content

kegsay/addm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Development Device Monitor

Got lots of test devices but don't know where they are, if they are charged, which SIM is in them, etc? ADDM is a simple Android application which will periodically poke a URL with information about the device.

Android Client

The client is an APK which can be installed on test devices. It will run on startup and periodically do an HTTP PUT to the in-app configured URL.

The PUT includes the following data:

  • Device serial and secure ID
  • Device model / manufacturer
  • OS version
  • Network information (mobile/wifi data, 3G/4G/SSID)
  • SIM status + number
  • Battery % and charging status (discharging/charging/full)
  • External SD card status
  • System uptime and wall clock time
  • Location of the device (cached only)

This may later include:

  • The google account logged into the device
  • The applications installed on the device (package names, app names, version strings/numbers, debug/release signatures)
  • A 'ping my device' feature which will make the device vibrate/make noises so it can be easily located. This will be done using GCM to avoid unnecessary battery drain. This feature will need to be configured before use.

The base URL which is poked along with the update rate can be configured from the application. Data is sent as JSON via an HTTP PUT to [base url]/addm/device/[device serial]--[device secure id]

Server

ADDM includes a basic web server (done in web.py) to service the PUTs done by the devices and provide a REST interface for accessing information about devices. This allows you to GET to /addm/devices to receive all the latest device information as JSON.

Web Client

ADDM also includes a web client which uses the REST API provided by the server. This will present data from /addm/devices in a sortable table using JS/JQuery. This makes it easy to get ADDM working usefully straight out the box.

About

Android Development Device Monitor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published