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

[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