0

I am trying to find the last used time of an android application. UsageStats is a way but prior to lollipop this information is not accessible pragmatically, please suggest me some way if it is possible to access UsageStats for version below lollipop.
what I tried to get the last used is:
access date and time of the folder generated by app's in /sdcard/Android/data/pkg_name
but the problem is not all the apps make this kind of data folder, so is there any another possibility to access date and time of the applications

0

One can access last modified date of /data/data/{package_name} programmatically, the directory structure inside {package_name} is not visible in a non - rooted device,but last modified date of {package_name} folder can give an approximation when the user last access an app enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.