measurement - Measure data roaming traffic on Android? -


After

Just back from Iceland a very good holiday, and data awaiting bill roaming from my phone company. I hope that as much as possible to restrict my traffic as much as possible, but I want to know in advance that I used a great app but it did not measure roaming data traffic at all.

So I just want to make my own app to roam the data traffic. I have some booleans to start with (& amp;), but I'm sure how to measure traffic If so, then true

then the question is not. How do I measure data traffic while roaming? (Something like API level 8 functionality that I am after, but API level 3). SmartPhone used is Samsung Galaxy i7500 (Android 1.6)

thanx for your time!

post = "itemprop =". Text ">

method 1. parse" / proc / net / dev "

my In the phone it appears:

  Inter. Find | Transmitted face | Bytes packet errs Drop FIFO frame compressed multicast | Bites packet errs drop FIFO colls carrier narrowed: 712 8 0 0 0 0 0 712 8 0 0 0 0 0 0 Dummy0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Wlan0: 146112 423 32 0 0 0 42460 409 0 0 0 0 0 0  

The "rmnet0" line in my phone is one that the mobile line holds data for the internet I hope it does not distinguish between kernel versions of the format < / P>

Method 2:. Pars "/ sys / class / net"

I think this is the recommended method. As shown here:


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -