DP-3T / dp3t-app-android-demo

The DP3T-App for Android
Mozilla Public License 2.0
323 stars 79 forks source link

[Proposal] Wi-Fi Direct (Wi-Fi P2P) should also be used for the communication between Android Devices #36

Open SeanXu1984 opened 4 years ago

SeanXu1984 commented 4 years ago

I believe a lot Android devices still don't support Bluetooth Peripheral mode so relying only on BLE might exclude a lot of Android users. But luckily, Wi-Fi Direct (also known as Wi-Fi P2P) is supported very well in all most every existing Android devices (Android 4.0 +) Why not also include Wi-Fi Direct into the application to enable the direct communication between 2 nearby Android devices?

Android Devices <-> iOS Devices (BLE) iOS Devices <-> Android Devices (BLE) Android Devices <-> Android Devices (BLE + Wi-Fi Direct)

The following is a Github repo demonstrating how to use Wi-Fi Direct to send greetings between 2 Android Devices. https://github.com/SeanXu1984/WifiDirectGreetings