tags:

views:

50

answers:

2

Does Android OS store info on Apps like last run time, or how many times an app was run?

A: 

The market only gives you the number of times downloaded and the total install base (i.e. count of users who have not uninstalled the application).

There are a variety of third party dlls that you can use to provide you with analytics regarding app usage.

Flurry is one. AdMob, now owned by Google, is another.

Timothy Lee Russell
Sorry, I realize now that isn't what you were asking. I read your questions as "Does the Android OS store..." -- as in the market. My bad.
Timothy Lee Russell
A: 

Take a look at the processCpuUsage method of BatteryHistory to see how it retrieves a Uid.Proc from which you can get the time spent executing user code, the time spent executing system code, the time spent in the foreground, and the number of times a process has been started.

Tim Kryger