I have got the solution for it.

I had to turn on instrumentation .

Thank you,
Prajakta

On Thu, Apr 8, 2010 at 8:49 PM, prajakta choudhari <
[email protected]> wrote:

> The tool will monitor the number of times the application was used and the
> duration of time the application was used by the user. Is activity monitor
> used only as a part of test case or can i use activity monitor  in my
> application. I am not getting a good example of use of Activity Monitor
> apart from its use in InstrumentTestcase  class.
>
> I don't want to use it in an InstrumentTestCase class. I want it in my
> regular applications.  Could anyone please share with me a nice example of
> actvity monitor.
>
> Any Help will be highly appreciated.
> Thank you
> Prajakta
>
>
> On Thu, Apr 8, 2010 at 5:01 PM, ~ TreKing <[email protected]> wrote:
>
>> On Thu, Apr 8, 2010 at 3:07 PM, prajakta choudhari <
>> [email protected]> wrote:
>>
>>> I need to write a tool that will monitor all the applications on the
>>> phone and record its usage times.
>>>
>>
>> What usage? CPU? Battery? Memory? All of the above?
>>
>> I am thinking of using Activity Monitor.
>>>
>>
>>  OK
>>
>> Please send me some suggestions.
>>>
>>
>> I suggest you eat healthy and exercise regularly. Seriously ...
>> suggestions for WHAT?
>>
>>
>> -------------------------------------------------------------------------------------------------
>> TreKing - Chicago transit tracking app for Android-powered devices
>> http://sites.google.com/site/rezmobileapps/treking
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Beginners" group.
>>
>> NEW! Try asking and tagging your question on Stack Overflow at
>> http://stackoverflow.com/questions/tagged/android
>>
>> To unsubscribe from this group, send email to
>> [email protected]<android-beginners%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-beginners?hl=en
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to