Android: Establish “Wi-Fi Direct” connection with networked devices

旧巷老猫 提交于 2019-12-25 04:06:40

问题


Was going through Android documentation and had few doubts:

  • Using "Wi-Fi direct" in Android 4.0+, is it possible to establish connection pragmatically with NON "Wi-Fi direct" enabled network device?

For example, is it possible to communicate with older smartphone (having Android 2.2 OS) with the latest 4.1 based Android Smartphone. I want to use Wi-Fi direct capablities to perform FTP operation on various kinds of smartphones (android, iOS)

Thanks.


回答1:


I am using an APP named FileDrop which I think has the similar feature set you are looking for.

This is how it works: 4.1 based phone becomes GO and generates a Wi-Fi password to allow older phone to connect to it using legacy Wi-Fi just like connecting to a Wi-Fi access point. You can also use QR scanning instead of manual key-in of the password.

I hope you can get a sample code from them.

Sorry for no real help.



来源:https://stackoverflow.com/questions/21378117/android-establish-wi-fi-direct-connection-with-networked-devices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!