I am developing an application in android for device usage profiling and analysis where I have to read features from the android OS.
For example i have to read
- outgoing_calls
- outgoings_calls_to_non_contacts (un-saved numbers)
- outgoing_sms
- outgoings_sms_to_non_contacts (un-saved numbers)
- Keyboard_related readings (pressure, key_dwell_time, key_flight_time etc)
- delete_key_use_rate
- average_transition_left_right
- average_transition_right_left
- touch_screen_pressure
What will be the way to accomplish this? i.e what libraries from SDK do I have to use.
Any example for reading these values will be very helpful.
Kind Regards
Khurram
Your Application should have Broadcast Receivers. And Register Various Intents.
For Ex : Outgoing Call : android.intent.action.NEW_OUTGOING_CALL and android.intent.action.PHONE_STATE.
For Outgoing Messages : Detecting SMS incoming and outgoing
For Keyboard related I am not sure , How to do that 🙂