开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜