On Wed, Mar 16, 2011 at 9:35 AM, lorenz <[email protected]> wrote:
> If you're only considering methods available in the API you're probably
> right. However, if you're the one writing an OS you're not restricted to
> only use API calls ;-) Even thought I haven't spent too much time looking
> around, there are a few things I was thinking of:
>
> Battery usage: There's a menu option in "Settings - Application settings -
> Battery use" which seems to read out just that information.
> Crash statistics is obvious, since this information is already available to
> the developers, today.
> For connection/data usage you can use iptables to collect accurate
> statistics about who the apps are talking to. There are also various virtual
> files in the /proc/ file system which could be used to collect statistics.
> For speed measurement I was thinking of measuring the cpu time that passes
> inside the vm from the moment an action intent was fired until the
> respective screen has finished building up.
>
> All of these statistics could be gathered by letting each application run on
> an emulator or collect the data from real devices through the data
> collection facility already in place.

None of that has anything to do with "automatically testing and rating
applications
in regards to speed, battery usage, and force closes".

"Automatically testing" assumes that you (and I do mean *you*) have
the ability to create a driver that can exercise arbitrary
applications, with no prior knowledge, precisely how users will use
them, and somehow come up with "speed, battery usage" data that has
real-world ramifications.

What you describe in this message is not "automatically testing"
anything. What you describe in this message is not bad information to
gather (assuming it is opt-in on the part of the user), but it is not
"automatically testing".

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.5 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to