In android how to programmatically list the apps that use Data connection?
can anyone please tell me in android, is it possible to acce开发者_JAVA技巧ss the list of application names that are using Data connection in background/foreground? If possible how?
note: I came to know it is possible to access the Total data consumption in bytes by reading TX/RX files. But i couldn't find which applications are using the data connection.
It's possible with a little work. You'll need to use the PackageManager to get the permissions each Application requires. Then you can simply filter the applications based on those permissions.
精彩评论