[android-developers] Re: Framework support for detecting starting and stopping of activities

2009-05-22 Thread clemsongrad
Mike, I am proceeding along the same lines. Seeing if there is an elegant soln to this. Thanks for your feedback. On May 21, 3:41 pm, Mike Hearn wrote: > You can write an app which dumps "adb logcat" and greps for the output > from the activity manager. It's ugly and non-supported, but for

[android-developers] Re: Framework support for detecting starting and stopping of activities

2009-05-21 Thread Mike Hearn
You can write an app which dumps "adb logcat" and greps for the output from the activity manager. It's ugly and non-supported, but for your usability study it will work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Framework support for detecting starting and stopping of activities

2009-05-20 Thread Dianne Hackborn
I don't think we want an API for this for applications. On Wed, May 20, 2009 at 11:28 AM, clemsongrad 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:

[android-developers] Re: Framework support for detecting starting and stopping of activities

2009-05-20 Thread clemsongrad
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 wrote: > I believe the class is UsageStatsService.  "adb shell dumpsys usagestats" > will dump its current

[android-developers] Re: Framework support for detecting starting and stopping of activities

2009-05-13 Thread clemsongrad
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 wrote: > There is nothing in the SDK for this.  In 1.5 there is now

[android-developers] Re: Framework support for detecting starting and stopping of activities

2009-05-13 Thread Dianne Hackborn
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 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 wha

[android-developers] Re: Framework support for detecting starting and stopping of activities

2009-05-13 Thread Dianne Hackborn
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