You might want to have a look at the NetSentry application. It does track the data transferred over your network interfaces and warn you about high usage. You can also have at the code too at netsentry.googlecode.com. Basically, I just parse the file /proc/self/ net/dev.
If I'm not mistaken, there are actually a bunch of apps that do similar things. Read the user coments of NetSentry. People mentioned some competing apps. Cheers, Lorenz On Sep 3, 5:56 pm, FaticaLabs <[email protected]> wrote: > Hi all, > I did not find any application for doing this, so I would like to > write one ( please tell me if I'm wrong ). > I would like to measure how many bytes are sent/received over the > internet ( not wifi ). Is there some event ( intent ) to be notified > from ? The so collected data will then be reported in a monthly > fashion, to measure how the phone company will bill the user. > Thanks ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

