Tower Collector can notify other apps installed on the system by broadcasting intents. For more information how to listen for and consume such notifications check that app's help.
Collector can send an intent every time new set of measurements is collected if set in Preferences. The content of notification will be a JSON structure with common things like time and GPS extracted. Field names and values are mapped the same way as in exported CSV file.
List of fields used by cells depend on type (net_type). Unsupported or missing values will be set to null
.
Action:
info.zamojski.soft.towercollector.MEASUREMENTS_COLLECTED
Extras key:
measurements
Extras value example:
{
"measured_at" : 1234567890123,
"gps" : {
"lat" : 12.3213123,
"lon" : -54.4535435543,
"accuracy" : 12.0,
"speed" : 13.21,
"bearing" : 212.2,
"altitude" : 121.0
},
"cells" : [
{
"mcc" : 260,
"mnc" : 06,
"lac" : 5115,
"cell_id" : 214325525,
"psc" : 1234,
"asu" : 12,
"dbm" : -112,
"neighboring" : "false",
"net_type" : "UMTS"
},
{
"mcc" : null,
"mnc" : 16,
"lac" : 5115,
"cell_id" : 2143255,
"psc" : null,
"asu" : 13,
"dbm" : -112,
"ta" : null,
"neighboring" : "false",
"net_type" : "CDMA",
"cdma_dbm" : null,
"cdma_ecio" : null,
"evdo_dbm" : null,
"evdo_ecio" : null,
"evdo_snr" : null
}
]
}