how to get sequence of user interaction with android device?
After many sites searched and googling,
I can't find anything for my problem. I want to capture the sequence of user interactions on android device. Starting from when the device is powered ON. And one more thing is that I'm not talking about the user event on UI of any application. It's for whole device UI interactions. And if any tools are available then please let me know about it. I didn't get anything about this. Any help or suggestion is well appr开发者_如何学Pythoneciate.
This is not possible, except perhaps via modified firmware, for obvious security and privacy reasons.
I am not sure at what extent it will help you to achive your goal but the best way I know is that:
You need to implement
Broadcastreceiver
for every action like actionandroid:name="android.intent.action.BOOT_COMPLETED"
when your device starts, similarly you need to use all the action which will notify you in your receiver.You can run a service where you can check which app is running for your record. For this you need to fetch installed app list.
精彩评论