The Communication sensor logs communication events such as calls and messages, performed by or received by the user. This sensor does not record personal information, such as phone numbers or contact information. Instead, an unique ID is assigned that is irreversible (SHA-1 encryption) but it is always the same for the same source. It also provides higher level context on the users’ calling availability and actions .Android does not officially support messages content providers and messages sensor functionality might break at some point. If it does, contact us as we will try our best to fix it.

Settings

  • Communication.STATUS_COMMUNICATION_EVENTS: true or false to activate or deactivate high-level context of users’ communication usage.
  • Communication.STATUS_CALLS: true or false to activate or deactivate calls sensor.
  • Communication.STATUS_MESSAGES: true or false to activate or deactivate messages sensor.

aware-broadcasts

  • Communication.ACTION_AWARE_CALL_ACCEPTED: broadcasted when the user accepts an incoming call.
  • Communication.ACTION_AWARE_CALL_RINGING: broadcasted when the phone is ringing.
  • Communication.ACTION_AWARE_CALL_MISSED: broadcasted when the user lost a call.
  • Communication.ACTION_AWARE_CALL_MADE: broadcasted when the user is making a call.
  • Communication.ACTION_AWARE_USER_IN_CALL: broadcasted when the user is currently in a call.
  • Communication.ACTION_AWARE_USER_NOT_IN_CALL: broadcasted when the user is not in a call.
  • Communication.ACTION_AWARE_MESSAGE_RECEIVED: broadcasted when there is a new incoming message.
  • Communication.ACTION_AWARE_MESSAGE_SENT: broadcasted when the user sent a message.

aware-providers

Calls Data

Contains the calls sensor information.

Calls_Data.CONTENT_URI
content://com.aware.provider.communication/calls

Table field Field type Description
_id INTEGER primary key, auto incremented
timestamp REAL unixtime milliseconds since 1970
device_id TEXT AWARE device UUID
call_type INTEGER one of the Android’s call types (1 – incoming, 2 – outgoing, 3 – missed)
call_duration INTEGER length of the call session
trace TEXT SHA-1 one-way source/target of the call

Messages Data

Contains the messages sensor information.

Messages_Data.CONTENT_URI
content://com.aware.provider.communication/messages

Table field Field type Description
_id INTEGER primary key, auto incremented
timestamp REAL unixtime milliseconds since 1970
device_id TEXT AWARE device UUID
message_type INTEGER message type (1 – received, 2 – sent)
trace TEXT SHA-1 one-way source/target of the message

 


icon_ios iOS

The Communication sensor logs communication events such as calls, performed by or received by the user. This sensor does not record personal information, such as phone numbers or contact information. AWARE iOS supports only phone call events.

aware-broadcasts

  • ACTION_AWARE_CALL_ACCEPTED: broadcasted when the user accepts an incoming call.
  • ACTION_AWARE_CALL_RINGING: broadcasted when the phone is ringing.
  • ACTION_AWARE_CALL_MISSED: broadcasted when the user lost a call.
  • ACTION_AWARE_CALL_MADE: broadcasted when the user is making a call.
  • ACTION_AWARE_USER_IN_CALL: broadcasted when the user is currently in a call.
  • ACTION_AWARE_USER_NOT_IN_CALL: broadcasted when the user is not in a call.

aware-providers

Calls Data

Contains the calls sensor information.

Table field Field type Description
_id INTEGER primary key, auto incremented
timestamp REAL unixtime milliseconds since 1970
device_id TEXT AWARE device UUID
call_type INTEGER 1=incoming, 2=connected, 3=dialing, 4=disconnected
call_duration INTEGER length of the call session
trace TEXT SHA-1 one-way source/target of the call
Communication