开发者

How to collect data programmatically for the performed network traffic on BlackBerry?

开发者 https://www.devze.com 2022-12-20 12:22 出处:网络
I want to get the data about when a开发者_C百科 connection from the device is established, when the connection is terminated and how many bytes were transferred (in/out).

I want to get the data about when a开发者_C百科 connection from the device is established, when the connection is terminated and how many bytes were transferred (in/out). I couldn't find proper listeners in the BB API. I found application that does this and I am wondering how this can be implemented?


You could take a look at the RadioInfo class - there are methods in there such as getNumberOfPacketsReceived() and getNumberOfPacketsSent() that might do what you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消