• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Usage statistcs

owlRJ

Lurker
Hi everyone,

This is my first post, so hello =P

I'd like to know if there is any way to know the usage statistics of the apps without running a background service to count it. I mean I'd like to create a log with the top 10 apps used on a period of time (like a day) and the usage time of each.

Thk.
 
No. If you think about it, if there is no service running, how would you gather the required data? It would be like asking a web browser to display a page without actually starting the browser application--not possible.
 
It very well may be, but unless the OS service explicitly sends the data to your app or broadcasts the data, then there is no way to gather the data. Unfortunately, neither of these are the case.
 
You will need to create a service that gathers the statistics and sends them off to a database somewhere on the internet. Once in the database, you will need to write some other application that can query the database for the info you want.
 
yep!
but what I realy don't know is how to get this information (like some kind of signal when a new app start). I mean I can't found on the internet any information about how to implement it.
Could you help me with it ?

thk you a lot !
 
Back
Top Bottom