Reputation: 17
I want to make application to control network traffic in blackberry java programming. Example : I want to know how much traffic radio in or out today in my blackberry devices, like :
-Traffic radio in today : 1,29MB
-Traffic radio out today : 81.83kB
To get that number, what should i do? Anyone can give me the source code to do that kind of stuff.
Upvotes: 0
Views: 141
Reputation: 28168
RadioInfo.getNumberOfPacketsSent
RadioInfo.getNumberOfPacketsReceived
But AFAIK, these methods return the number of bytes sent/received since the BB was powered on, so not sure you can have the number of bytes for a given day.
Hope it helps.
Upvotes: 1