07-06-2012 05:53 AM
Hello to everyone!
I was wondering if there is any possible way to get the information of the amount of data transfer (bytes) that has been done from the device. Something similar to the 'PhoneLog' class where it is possible to get the amount of minutes used in each call.
I found out that 'RadioInfo' class offers two methods:
'getNumberOfPacketsReceived()' and 'getNumberOfPacketsSent()'
but two things I couldn't find information about:
- it's packets sent/received since when ?
- is this information just for the application... or in general for the device?
I'd be grateful if someone could point me to an example where these methods are used, as I wasn't able to find one,
and also to know if in fact it is possible to get this kind of information (amount of data transfered) from the device? (if not with these methods maybe through another api call?)
thanks to everyone in advance!
07-07-2012 06:04 PM
These figures are in bytes, and, as far as I am aware, they are the amount of traffic. But there are a few things you need to be aware of, which have been discussed in previous Threads. I would search for
to find a quite a few other Threads that have discussed this API and its restrictions.