Android: Detect General Use by User
问题 I am working on an application that monitors phone use (specifically, what time its being used). Presently, I log times of phone calls, SMSs, MMSs, Screen turning on, screen turning off, and keygaurd unlocking. Now I want to determine when the user does any interaction other than whats listed above. Like: 1) Application use (Detect when an application is launched by the user and/or when it is actively being used by the user) For this I have been playing with the Activity Manager but there