2011-12-24 82 views
2

我想确定上传之前连接上可能的传输速度,例如图像。我怎么能在android中做到这一点?有什么建议么?如何知道上传传输速度

+0

这是来自谷歌如何确定连接状态的教训:http://developer.android.com/training/monitoring-device-state/connectivity-monitoring.html – Yury 2011-12-24 14:23:30

回答

0

不是速度,据我所知,

而是连接类型:

https://groups.google.com/forum/#!topic/android-developers/ius4garTtGA

http://developer.android.com/reference/android/net/wifi/WifiInfo.html

另外,请参考How to get wifi standard这是刚刚发布,应该帮助!

+0

嘿,我见过你发布几个答案基本上只包含链接。这不是最佳的,链接可能会下降并且是间接的答案。请阅读[本次讨论](http://meta.stackexchange.com/questions/8231/are-answers-that-just-contain-links-elsewhere-really-good-answers)。相反,总结答案,并提供一个链接到更多的信息。谢谢。 :) – 2011-12-24 13:37:57

+0

很酷。谢谢你的提示。从现在开始我会这样做。但是,相对来说,要告诉你我放入OP的真相。 – TryTryAgain 2011-12-24 13:41:21

+0

我知道你的意思,但请记住,你也可以帮助幕后的X搜索引擎用户。 :) – 2011-12-24 14:01:22