02-24-2012 11:23 AM
I know there's no way we can easily separatee data usage for WiFi and cellular usage. But is there a way we can get a trigger when the user switches networks (I do not want to poll as this might not give accurate information), so that we can use a separate counter to check the RadioInfo interface for getNumberOfPacketsSent() and getNumberOfPacketsReceived() operations?
02-26-2012 01:56 AM
Check out the RadioStatusListener:
Can you explain the difficulty you are having to separate the data usage?
Since you need to set and configure the transport that you are using, that should be pretty simple, no?
05-04-2012 04:09 PM - edited 05-04-2012 04:10 PM
The docs are not all that helpful for this API. Would any of the methods be able to indicate a change in network type, as determined by RadioInfo.getNetworkService()?(http://supportforums.blackberry.com/t5/Java-Develo
I am interested in listening for a change in 3G/Wi-Fi/EDGE activation from a background thread.