[android-developers] Read eth0 wireless stats

2011-10-21 Thread German Castignani
Hi all... I'm trying to read some WLAN statistics from my application. These stats are located in /sys/devices/virtual/net/eth0/statistics (tx_packets and rx_packets) and in /sys/devices/virtual/net/eth0/ wireless (retries). I've no problem to read the tx_packets and rx_packets. However I'm not

[android-developers] Re: How to get Super user permission at App level ?

2011-10-21 Thread German Castignani
Hi, I've a similar issue while trying to trace the value of /sys/ devices/virtual/net/eth0/wireless/retries ... I read the file but a value of 0 is always given. But running as su in adb shell allows me to access, but anyway, it is not accessible from the application... Any idea for this ? On 22