-
Notifications
You must be signed in to change notification settings - Fork 6
C2DM Messages
bulutmf edited this page Apr 20, 2012
·
5 revisions
C2DM Messages are sent through JSON object where message key contains the following values that are currently supported by the PhoneLab app:
{
message:"new_manifest"
metadata:
{
...
}
}
- new_manifest: Phone fetches the manifest from the server
- get_device_info: Phone sends a JSON object including all the applications and status monitor parameters
- uninstall_all_apps: Uninstall all the apps on the phone
- remove_manifest: Remove the manifest on the device
- start_status_monitoring: Start the Status Monitoring
- stop_status_monitoring: Stop the Status Monitoring
- start_periodic_checking: Start periodic checking of the status of Status Monitoring/Logger Service/Transfer of Log files etc.
- stop_periodic_checking: Stop the periodic checking
- remove_logcat_pid: Remove the log cat from phone's database. New one will be created afterwards.
- set_status_monitor_location_provider: Set the location provider for status monitoring. metadata should include "type" as a key and values as "network", "gps" or "both".