You could use the netstat application

netstat -I <interface> -b

which gives the the number of incoming and outgoing traffic.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Sep 3, 8:59 am, FaticaLabs <[email protected]> wrote:
> Sorry,
> Never mind, I found this:http://www.jaqpot.net/netcounter/
> I will study that one since it is open source.
>
> On 3 Set, 17:56, 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to