Event Examples
APPUSAGE
{
"startTime": "2017-05-18T05:13:39Z",
"endTime": "2017-05-18T05:15:01.526Z",
"packageName": "io.optiko.support.optikosupport",
"screenOnDuration": 0,
"duration": 82,
"deviceId": "141185225D0096",
"event": "appusage",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC51",
"version": 5130008,
"time": "2017-05-18T05:15:01.526Z"
}
APPUSAGE_HISTORY
{
"details": {
"tag": "appusage_history",
"message": "{\"beginDate\":\"2023-2-01\",\"data\":[{\"foregroundServiceUsed\":0,\"inForeground\":250,\"packageName\":\"com.bluefletch.ems.auth.session\",\"timeVisible\":251},{\"foregroundServiceUsed\":229824,\"inForeground\":615,\"packageName\":\"com.bluefletch.ems.staging.messaging\",\"timeVisible\":616},{\"foregroundServiceUsed\":0,\"inForeground\":11,\"packageName\":\"com.wavelink.velocity\",\"timeVisible\":12},{\"foregroundServiceUsed\":161,\"inForeground\":605,\"packageName\":\"com.android.vending\",\"timeVisible\":607},{\"foregroundServiceUsed\":0,\"inForeground\":117,\"packageName\":\"com.bluefletch.ems.staging.browser\",\"timeVisible\":130},{\"foregroundServiceUsed\":0,\"inForeground\":98,\"packageName\":\"com.koushikdutta.vysor\",\"timeVisible\":104},{\"foregroundServiceUsed\":0,\"inForeground\":62,\"packageName\":\"com.google.android.permissioncontroller\",\"timeVisible\":88},{\"foregroundServiceUsed\":0,\"inForeground\":174,\"packageName\":\"com.bluefletch.ems.auth\",\"timeVisible\":176},{\"foregroundServiceUsed\":0,\"inForeground\":4,\"packageName\":\"com.android.chrome\",\"timeVisible\":6},{\"foregroundServiceUsed\":229433,\"inForeground\":14673,\"packageName\":\"com.bluefletch.ems.staging.launcher\",\"timeVisible\":15469},{\"foregroundServiceUsed\":8382,\"inForeground\":0,\"packageName\":\"com.bluefletch.goagentupdater\",\"timeVisible\":0},{\"foregroundServiceUsed\":68312,\"inForeground\":220,\"packageName\":\"com.bluefletch.ems.staging.auth.demo\",\"timeVisible\":247},{\"foregroundServiceUsed\":42985,\"inForeground\":100,\"packageName\":\"com.bluefletch.ems.staging.auth.oidc\",\"timeVisible\":122},{\"foregroundServiceUsed\":0,\"inForeground\":646,\"packageName\":\"com.android.settings\",\"timeVisible\":649},{\"foregroundServiceUsed\":107346,\"inForeground\":7721,\"packageName\":\"com.bluefletch.staging.chat\",\"timeVisible\":7738},{\"foregroundServiceUsed\":0,\"inForeground\":701,\"packageName\":\"com.symbol.tool.stagenow\",\"timeVisible\":703},{\"foregroundServiceUsed\":188993,\"inForeground\":15573,\"packageName\":\"com.bluefletch.ems.staging.support\",\"timeVisible\":26927},{\"foregroundServiceUsed\":118733,\"inForeground\":1698,\"packageName\":\"com.bluefletch.go\",\"timeVisible\":1719},{\"foregroundServiceUsed\":0,\"inForeground\":32,\"packageName\":\"com.android.systemui\",\"timeVisible\":38},{\"foregroundServiceUsed\":25393,\"inForeground\":3983,\"packageName\":\"com.bluefletch.ems.staging.deviceinformation\",\"timeVisible\":3997}],\"endDate\":\"2023-2-28\"}"
},
"deviceId": "unknown",
"event": "appusage_history",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC57",
"version": 5150000,
"time": "2023-02-06T12:45:03.6Z"
}
EXCEPTION
{
"stackTrace": "io.optiko.agent.common.models.CoreException: java.lang.ArithmeticException: divide by zero
at io.optiko.agent.OptikoApplication.onUncaughtException(OptikoApplication.java:168)
at io.optiko.agent.OptikoApplication$1.uncaughtException(OptikoApplication.java:48)
at android.support.v7.app.AppCompatDelegateImplBase$1.uncaughtException(AppCompatDelegateImplBase.java:70)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)\n\tat java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)\nCaused by: java.lang.ArithmeticException: divide by zero
at io.optiko.agent.features.ui.developer.InformationDisplayActivity$2.onClick(InformationDisplayActivity.java:102)
at android.support.v7.app.AlertController$ButtonHandler.handleMessage(AlertController.java:161)
at android.os.Handler.dispatchMessage(Handler.java:102)\n\tat android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5034)\n\tat java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)\n\t... 1 more\n",
"deviceId": "141185225D0096",
"event": "exception",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",,
"originModel": "TC51",
"version": 5130008,
"time": "2017-05-24T08:59:28.299Z"
}
NETWORKSESSION
{
"startTime": "2017-05-18T07:39:18Z",
"ssid": "\<unknown ssid\>",
"endTime": "2017-05-18T07:39:18Z",
"maxRssi": -200,
"minRssi": -200,
"duration": 0,
"avgRssi": -200,
"deviceId": "141185225D0096",
"event": "networksession",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC51",
"version": 5130008,
"time": "2017-05-18T07:39:26.427Z"
}
POWERSESSION
{
"type": "discharging",
"startTime": "2017-05-17T14:52:56Z",
"endTime": "2017-05-18T13:27:48.6Z",
"projectedHour": 94,
"ratePerHour": 1.062835211336909,
"startCharge": 85,
"endCharge": 61,
"duration": -81292,
"deviceId": "141185225D0096",
"event": "powersession",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC51",
"version": 5130008,
"time": "2017-05-18T13:27:48.6Z"
}
BATTERYCYCLE
{
"battery": {
"technology": "Li-ion",
"connectionState": "",
"health": "Good",
"serialNumber": "Unknown"
"status": "Discharging",
"voltage": 0,
"temperature": 32,
"charge": 60,
"maxCapacity": 100
},
"foregroundApp": "com.google.android.gms.persistent",
"gps": {
"gpsEnabled": false,
"gpsLat": "0.0",
"gpsLong": "0.0",
"netEnabled": true,
"netLat": "0.0",
"netLong": "0.0",
"passiveEnabled": true,
"passiveLat": "0.0",
"passiveLong": "0.0"
},
"network": {
"connectSubType": "LTE",
"connectType": "mobile",
"connected": 1,
"ssid": "\<unknown ssid\>",
"ipAddress": "0.0.0.0",
"linkSpeed": -1,
"networkId": -1,
"isRoaming": 0,
"rssi": -9999,
"hiddenSSID": 0
},
"screenState": "off",
"deviceId": "unknown",
"event": "batterycycle",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC57",
"version": 5100000,
"time": "2017-05-18T12:42:40.6Z"
}
BLUETOOTHEVENT
{
"details": {
"tag": "bluetooth_connected"
},
"permissionsAppUsage": false,
"bluetooth": {
"state": "on",
"devices': [
{
"deviceName":"Wireless Headphones",
"connectionStatus":"paired",
"macAddress":"DD:A9:Q3:E8:75:E3",
"category":"audio_video",
"subCategory":"headset"
}
]
},
"deviceId": "unknown",
"event": "bluetoothevent",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC57",
"version": 5100000,
"time": "2022-07-20T12:45:03.6Z"
}
BLUETOOTH_LE
{
"details": {
"message": "{"deviceAddress":"reported_address","Device Name":"name_from_device","Battery Level":18,"Model Number":"model_number","Manufacturer Name":"reported name","Hardware Revision":"hardware report","Firmware Revision":"firmware","Software Revision":"reported software version","Serial Number":"a serial numer"}"
},
"deviceId": "unknown",
"event": "bluetooth_le",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC57",
"version": 5150011,
"time": "2023-03-20T12:45:03.6Z"
}
PACKAGEADD
{
"appdetail": {
"name": "com.bluefletch.dealrover",
"ver": "1.0.27"
},
"battery": {
"technology": "Li-ion",
"connectionState": "AC",
"health": "Good",
"serialNumber": "Unknown",
"status": "Charging",
"voltage": 0,
"temperature": 32,
"charge": 50,
"maxCapacity": 100
},
"foregroundApp": "com.android.launcher",
"network": {
"connectSubType": "LTE",
"connectType": "mobile",
"connected": 1,
"ssid": "\<unknown ssid\>",
"ipAddress": "0.0.0.0",
"linkSpeed": -1,
"networkId": -1,
"isRoaming": 0,
"rssi": -9999,
"hiddenSSID": 0
},
"screenState": "on",
"gps": {
"gpsEnabled": false,
"gpsLat": "0.0",
"gpsLong": "0.0",
"netEnabled": true,
"netLat": "0.0",
"netLong": "0.0",
"passiveEnabled": true,
"passiveLat": "0.0",
"passiveLong": "0.0"
},
"deviceId": "unknown",
"event": "packageadd",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "CT60",
"version": 5110004,
"time": "2017-05-22T18:44:50.261Z",
"userSettings": {
"settingsKey": "settingsValue"
}
}
PACKAGEREMOVE
{
"appdetail": {
"name": "com.bluefletch.dealrover",
"ver": ""
},
"battery": {
"technology": "Li-ion",
"connectionState": "AC",
"health": "Good",
"serialNumber": "Unknown",
"status": "Charging",
"voltage": 0,
"temperature": 32,
"charge": 50,
"maxCapacity": 100
},
"foregroundApp": "com.android.launcher",
"network": {
"connectSubType": "LTE",
"connectType": "mobile",
"connected": 1,
"ssid": "\<unknown ssid\>",
"ipAddress": "0.0.0.0",
"linkSpeed": -1,
"networkId": -1,
"isRoaming": 0,
"rssi": -9999,
"hiddenSSID": 0
},
"screenState": "on",
"gps": {
"gpsEnabled": false,
"gpsLat": "0.0",
"gpsLong": "0.0",
"netEnabled": true,
"netLat": "0.0",
"netLong": "0.0",
"passiveEnabled": true,
"passiveLat": "0.0",
"passiveLong": "0.0"
},
"deviceId": "unknown",
"event": "packageremove",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC21",
"version": 5120007,
"time": "2017-05-22T18:44:21.835Z",
"userSettings": {
"settingsKey": "settingsValue"
}
}
INSTALLEDAPPLICATIONS
{
"appdetails": [
{
"name": "com.android.soundrecorder",
"ver": "4.4.2-2470823"
},
{
"name": "com.android.sdksetup",
"ver": "4.4.2-2470823"
},
{
"name": "com.android.launcher",
"ver": "4.4.2-2470823"
},
{
"name": "com.google.android.syncadapters.contacts",
"ver": "4.4.2-2470823"
}
],
"battery": {
"technology": "Li-ion",
"connectionState": "AC",
"health": "Good",
"serialNumber": "Unknown",
"status": "Charging",
"voltage": 0,
"temperature": 32,
"charge": 50,
"maxCapacity": 100
},
"foregroundApp": "com.android.launcher",
"network": {
"connectSubType": "LTE",
"connectType": "mobile",
"connected": 1,
"ssid": "\<unknown ssid\>",
"ipAddress": "0.0.0.0",
"linkSpeed": -1,
"networkId": -1,
"isRoaming": 0,
"rssi": -9999,
"hiddenSSID": 0
},
"screenState": "on",
"gps": {
"gpsEnabled": false,
"gpsLat": "0.0",
"gpsLong": "0.0",
"netEnabled": true,
"netLat": "0.0",
"netLong": "0.0",
"passiveEnabled": true,
"passiveLat": "0.0",
"passiveLong": "0.0"
},
"deviceId": "unknown",
"event": "installedapplications",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC21",
"version": 5120007,
"time": "2017-05-22T17:17:50.774Z",
"userSettings": {
"settingsKey": "settingsValue"
}
}
SETTINGSCHANGE
{
"devicedetails": {
"build": "01-23257-K-18-03-00-MV release-keys",
"kernel": "3.4.0 us0h00@buildserver #1 Sun Mar 20 00:38:27 CST 2016",
"os": "4.4.3:19",
"type": "TC700H"
},
"deviceSettings": {
"adbEnabled": 0,
"devMode": 0,
"disabledlockScreen": 1,
"rootAccess": 0,
"usb": 0
},
"deviceId": "141185225D0096",
"event": "settingschanged",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC51",
"version": 5130008,
"time": "2017-05-23T16:23:41.167Z"
}
LOWMEMORY
{
"battery": {
"technology": "Li-ion",
"connectionState": "",
"health": "Good",
"serialNumber": "Unknown",
"status": "Discharging",
"voltage": 0,
"temperature": 32,
"charge": 13,
"maxCapacity": 100
},
"foregroundApp": "io.optiko.agent",
"network": {
"connectSubType": "LTE",
"connectType": "mobile",
"connected": 1,
"ssid": "\<unknown ssid\>",
"ipAddress": "0.0.0.0",
"linkSpeed": -1,
"networkId": -1,
"isRoaming": 0,
"rssi": -9999,
"hiddenSSID": 0
},
"screenState": "on",
"gps": {
"gpsEnabled": false,
"gpsLat": "0.0",
"gpsLong": "0.0",
"netEnabled": true,
"netLat": "0.0",
"netLong": "0.0",
"passiveEnabled": true,
"passiveLat": "0.0",
"passiveLong": "0.0"
},
"deviceId": "unknown",
"event": "lowmemory",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "EC30",
"version": 5130008,
"time": "2017-05-23T12:18:11.224Z",
"userSettings": {
"settingsKey": "settingsValue"
}
}
LOWBATTERY
{
"battery": {
"technology": "Li-ion",
"connectionState": "",
"health": "Good",
"serialNumber": "Unknown",
"status": "Discharging",
"voltage": 0,
"temperature": 32,
"charge": 13,
"maxCapacity": 100
},
"foregroundApp": "io.optiko.agent",
"network": {
"connectSubType": "LTE",
"connectType": "mobile",
"connected": 1,
"ssid": "\<unknown ssid\>",
"ipAddress": "0.0.0.0",
"linkSpeed": -1,
"networkId": -1,
"isRoaming": 0,
"rssi": -9999,
"hiddenSSID": 0
},
"screenState": "on",
"gps": {
"gpsEnabled": false,
"gpsLat": "0.0",
"gpsLong": "0.0",
"netEnabled": true,
"netLat": "0.0",
"netLong": "0.0",
"passiveEnabled": true,
"passiveLat": "0.0",
"passiveLong": "0.0"
},
"deviceId": "unknown",
"event": "lowbattery",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC26",
"version": 5120007,
"time": "2017-05-23T12:18:11.224Z",
"userSettings": {
"settingsKey": "settingsValue"
}
}
LOWSTORAGE
{
"details": {
"DATA": {
"free": "3.77 Gb",
"path": "/data",
"used": "481.82 Mb",
"total": "4.24 Gb",
"percentUsed": 11
},
"ROOT": {
"free": "522.73 Mb",
"path": "/system",
"used": "486.56 Mb",
"total": "1009.29 Mb",
"percentUsed": 48
},
"EXTERNAL": {
"free": "153.36 Mb",
"path": "/storage/sdcard0",
"used": "868.63 Mb",
"total": "1021.99 Mb",
"percentUsed": 84
},
"ENTERPRISE": {
"free": "121.26 Mb",
"path": "/enterprise/usr",
"used": "4.78 Mb",
"total": "126.04 Mb",
"percentUsed": 3
}
},
"deviceId": "141185225D0096",
"event": "lowstorage",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC51",
"version": 5130008,
"time": "2017-05-24T12:31:04.058Z"
}
HEARTBEAT
{
"battery": {
"technology": "Li-ion",
"connectionState": "AC",
"health": "Good",
"serialNumber": "Unknown",
"status": "Charging",
"voltage": 0,
"temperature": 32,
"charge": 50,
"maxCapacity": 100
},
"foregroundApp": "io.optiko.agent",
"gps": {
"gpsEnabled": false,
"gpsLat": "0.0",
"gpsLong": "0.0",
"netEnabled": true,
"netLat": "0.0",
"netLong": "0.0",
"passiveEnabled": true,
"passiveLat": "0.0",
"passiveLong": "0.0"
},
"network": {
"connectSubType": "LTE",
"connectType": "mobile",
"connected": 1,
"ssid": "\<unknown ssid\>",
"ipAddress": "0.0.0.0",
"linkSpeed": -1,
"networkId": -1,
"isRoaming": 0,
"rssi": -9999,
"hiddenSSID": 0
},
"airplaneMode": false,
"cellularState": "CONNECTED",
"screenState": "on",
"deviceId": "unknown",
"event": "heartbeat",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC21",
"version": 5120007,
"time": "2017-05-18T10:40:52.833Z"
}
BOOT
{
"devicedetails": {
"build": "google\_sdk\_x86-eng 4.4.2 KK 2470823 test-keys",
"kernel": "3.4.67+ digit@tyrion.par.corp.google.com #3 Tue Sep 16 19:46:22 CEST 2014",
"os": "4.4.2:19",
"type": "Android SDK built for x86"
},
"deviceSettings": {
"disabledlockScreen": 1,
"rootAccess": 1
},
"ntpServer": "time.google.com",
"deviceId": "unknown",
"event": "boot",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "CT40",
"version": 5100000,
"time": "2017-05-18T11:35:12.537Z"
}
NETWORKEVENT
{
"linkProperties": {
"dnsServers": [
"192.168.1.254"
],
"getDomains": "attlocal.net",
"interfaceName": "wlan0",
"linkAddresses": [
{
"hostAddress": "/192.168.1.181",
"hostFlags": 128,
"hostScope": 0
}
],
"proxyPost": 0,
"routes": [
{
"gatewayHost": "/::",
"interface": "wlan0",
"isDefaultRoute": 0
},
{
"gatewayHost": "/0.0.0.0",
"interface": "wlan0",
"isDefaultRoute": 0
},
{
"gatewayHost": "/192.168.1.254",
"interface": "wlan0",
"isDefaultRoute": 1
}
]
},
"networkInfo": {
"detailedState": "CONNECTED",
"extraInfo": "\"DAVIS\"",
"isAvailable": 1,
"isConnected": 1,
"isFailover": 0,
"isRoaming": 0,
"networkType": 1,
"subtype": 0,
"subtypeName": "",
"typeName": "WIFI"
},
"wifiInfo": {
"bssid": "44:e1:37:37:57:30",
"connectSubType": "",
"connectType": "WIFI",
"connected": 1,
"frequency": 2437,
"hiddenSSID": 0,
"ipAddress": "192.168.1.181",
"linkSpeed": 130,
"macAddress": "02:00:00:00:00:00",
"networkId": 4,
"isRoaming": 0,
"rssi": -59,
"ssid": "DAVIS"
},
"gps": {
"gpsEnabled": false,
"gpsLat": "0.0",
"gpsLong": "0.0",
"netEnabled": true,
"netLat": "0.0",
"netLong": "0.0",
"passiveEnabled": true,
"passiveLat": "0.0",
"passiveLong": "0.0"
},
"airplaneMode": false,
"cellularState": "CONNECTED",
"ntpServer": "time.google.com",
"deviceId": "17144522509454",
"event": "networkevent",
"orgId": "48f05446-fcbf-4420-858c-1bd0c3e8c56f",
"origin": "handheld",
"originModel": "TC51",
"version": 5130008,
"time": "2017-08-11T16:51:57.652Z"
}
CELLULARCHANGE
{
"wifiInfo": {
"bssid": "44:e1:37:37:57:30",
"connectSubType": "",
"connectType": "WIFI",
"connected": 1,
"frequency": 2437,
"hiddenSSID": 0,
"ipAddress": "192.168.1.181",
"linkSpeed": 130,
"macAddress": "02:00:00:00:00:00",
"networkId": 4,
"isRoaming": 0,
"rssi": -59,
"ssid": "DAVIS"
},
"gps": {
"gpsEnabled": false,
"gpsLat": "0.0",
"gpsLong": "0.0",
"netEnabled": true,
"netLat": "0.0",
"netLong": "0.0",
"passiveEnabled": true,
"passiveLat": "0.0",
"passiveLong": "0.0"
},
"cellularState": "CONNECTED",
"cellularNetwork": "LTE",
"cellularInfo": "[CellInfoGsm:{mRegistered=YES mTimeStamp=1477841519575ns mCellConnectionStatus=2147483647 CellIdentityGsm:{ mLac=3 mCid=91 mArfcn=0 mBsic=0x7fffffff mMcc=310 mMnc=260 mAlphaLong= mAlphaShort=} CellSignalStrengthGsm: rssi=-93 ber=0 mTa=2147483647 mLevel=3}]",
"lastCellularLevel": "-1",
"airplaneMode": false,
"deviceId": "unknown",
"event": "cellularchange",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC57",
"version": 5110004,
"time": "2017-05-18T11:35:12.537Z"
}
MISSINGPERMISSIONS
{
...
details: {
"tag" : "missing_permissions",
"message": ["android.permission.READ_PHONE_STATE","android.permission.WRITE_EXTERNAL_STORAGE","android.permission.ACCESS_FINE_LOCATION","android.permission.ACCESS_COARSE_LOCATION"]
}
...
"event": "missingpermissions",
"orgId": "00000000-0000-0000-0000-000000000000",
"origin": "handheld",
"originModel": "TC57",
"version": 5140002,
"time": "2022-05-18T11:35:12.537Z"
}
Last updated