[android-developers] Re: getting CPU usage and memory usage of a particular process

2010-01-05 Thread Christophe Paoutoff
Hi

As far as I know there is no api to get cpu usage in android. I
suggest you to lookup that by invoking linux 'top' command based on
the pid process number. Be aware on memory charge then launch external
cmd within apps.
BR
Chris

On 23 déc 2009, 07:20, Raghu Kiran arkiran...@gmail.com wrote:
 Hi All,

 I need to retrieve the CPU usage and memory usage of a particular running
 process in android.

 1. Can i retrieve the above mentioned information in android.
 2. If yes how to do that.
 3. If not what is the alternative for this.

 Thanking you...

 BR,
 Raghu Kiran A

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


[android-developers] Firewall for android

2010-01-02 Thread Christophe Paoutoff
Hi,

I'm going to develop a firewall app on android, and I wouldn't fork
any linux scripts to setup Iptables on kernel level.
Is there a way through availble Andoid API to block/unblock access
network on process level? I mean by controlling I/O network
communication within sandbox VM ?

Kind Rgrds
Chris

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