I don't think we want an API for this for applications.

On Wed, May 20, 2009 at 11:28 AM, clemsongrad <[email protected]> wrote:

>
>
> Dianne,
>
> Do you see value in extending existing framework and service to
> support tracking at activity level and submitting back to the
> community?
>
> Thx!
>
>
> On May 13, 4:53 pm, Dianne Hackborn <[email protected]> wrote:
> > I believe the class is UsageStatsService.  "adb shell dumpsys usagestats"
> > will dump its current data.
> >
> >
> >
> > On Wed, May 13, 2009 at 2:21 PM, clemsongrad <[email protected]> wrote:
> >
> > > Dianne,
> >
> > > Could you please shed any light on where i should look in 1.5 for this
> > > launch information?   Atleast i can research on what is there instead
> > > of reinventing the wheel.
> >
> > > -Best Regards,
> >
> > > On May 13, 4:00 pm, Dianne Hackborn <[email protected]> wrote:
> > > > There is nothing in the SDK for this.  In 1.5 there is now some lauch
> > > > information maintained by the system, which you can modify to have
> > > reported
> > > > if you'd like, though it is pretty rudimentary (for each day, the
> number
> > > of
> > > > times each .apk has been resumed, and the total duration it was
> resumed).
> > > > You will need to build your own system to do anything like this
> though.
> >
> > > > On Wed, May 13, 2009 at 1:28 PM, clemsongrad <[email protected]>
> wrote:
> >
> > > > > To support usability studies on what applications are used, i want
> to
> > > > > write a service that logs when an activity is started and also when
> it
> > > > > has finished.  This is to understand how the users are using the
> > > > > device:
> >
> > > > > One straightforward option is to have the applications modify, to
> > > > > write this out.  But this is tedious having to modify all
> applications
> > > > > and will not work esp with third party or built in applications.
> >
> > > > > Is there any alternatives that makes this simpler and easier?
> >
> > > > > BTW: Looking at the android framework source ActivityManagerNative
> > > > > seems to be invoking a Binder interface when an Activity is started
> > > > > and finished.  Any information on what this service is?   Is this
> > > > > something i can tap into?
> >
> > > > > Apologizes if i am looking at the wrong code, my first foray in to
> the
> > > > > framework code.
> >
> > > > > Any information or thoughts is greatly appreciated.
> >
> > > > > Thx!
> >
> > > > --
> > > > Dianne Hackborn
> > > > Android framework engineer
> > > > [email protected]
> >
> > > > Note: please don't send private questions to me, as I don't have time
> to
> > > > provide private support, and so won't reply to such e-mails.  All
> such
> > > > questions should be posted on public forums, where I and others can
> see
> > > and
> > > > answer them.
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see
> and
> > answer them.
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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