Android: Establish “Wi-Fi Direct” connection with

2019-09-05 17:39发布

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条回答
一纸荒年 Trace。
2楼-- · 2019-09-05 17:47

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.

查看更多
登录 后发表回答