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.
加载中,请稍侯......
精彩评论