I need a simple application that can track the number of times applications (specific to the package name) is open, how long it is being used (to the point when the user click home and/or get out of the application).
The results can be output into a simple txt format that is saved on a SD card so that I can read it on my PC.