以编程方式测量黑莓带宽使用情况
我想在黑莓中以编程方式测量我的应用程序带宽使用情况,我不知道如何实现这一点,请向我推荐这样的测量带宽的应用程序,我将非常感谢你。
i want to measure my App bandwidth usage programmatically in Blackberry and i have no idea that how to implement this and please refer me such App which measures Bandwidth, i will be very thankful to you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
http://supportforums.blackberry .com/t5/BlackBerry-Storm-BlackBerry-9500/Need-bandwidth-monitoring-app/mp/110815
http://supportforums.blackberry.com/t5/BlackBerry-Storm-BlackBerry-9500/Need-bandwidth-monitoring-app/m-p/110815
如果您想测量自己的应用程序的使用情况,请构建跟踪 InputStream 和 OutputStream 信息的包装器流。然后确保所有网络连接都被计数流包裹。
If you want to measure your own app's usage, build wrapper streams that track the information for both InputStream and OutputStream. Then make sure all network connections get wrapped by your counting streams.