There is no supported API for this.  I am not helping people find and use
unsupported APIs, and then having to deal with their apps breaking when we
update the platform.

On Mon, May 4, 2009 at 11:43 PM, Donald_W <wojcik.to...@gmail.com> wrote:

>
> So is there any possibility to calculate CPU usage?
>
> On May 4, 9:19 pm, Dianne Hackborn <hack...@android.com> wrote:
> > There isn't a supported API for this.
> >
> > On Mon, May 4, 2009 at 7:02 AM, Donald_W <wojcik.to...@gmail.com> wrote:
> >
> > > Hello,
> >
> > > How can I get/calculate current process CPU usage? ActivityManager
> > > provides method that returns a list of all active processes (list of
> > > RunningAppProcessInfo), but that class doesn't provide any CPU usage
> > > information.
> >
> > > Thanks in advance,
> > > Tomek
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
> >
> > 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
hack...@android.com

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to