Is there any way to get that how many times an application was launched "today".
we can use *#*#4636#*#*
to get App usage statistics.
But in my case how i can get launch count programmatically. And i think there will be no legal way to get these details.
do anyone know how to do it with any kind of Code arrangement ??
NOTE:: i need solution only for API level 21(lollipop) or higher. for rest of the lower API level i can manage.
答案 0 :(得分:-1)
Have a look at this Answer..
You might get the solution of what you want. You can use shared Preferences or any other local database (sqlite) To save the number of times the program has been launched..