Is it possible to share my Internet connection with another Android device by using WiFi-direct? I want to use WiFi-direct instead of WiFi hotspot. Thanks for your advices and your opinions!
In simpler terms, Wi-Fi direct allows devices without their own internet connection to connect to one which does. In the case of Android smartphones and devices, you can connect them and quickly transfer files without the hassle of cables.
Wi-Fi Direct is not the same as a hotspot since this feature does not provide internet access. It facilitates direct communication and data transfer between connected devices via Wi-Fi technology without requiring an internet connection.
Wikipedia states that
Wi-Fi Direct, initially called Wi-Fi P2P, is a Wi-Fi standard enabling devices to easily connect with each other without requiring a wireless access point. It is useful for everything from internet browsing to file transfer,to communicate with more than one device simultaneously at typical Wi-Fi speeds.
Courtesy: https://en.wikipedia.org/wiki/Wi-Fi_Direct
In Android, WifiP2pManager class provides the API for managing Wi-Fi peer-to-peer connectivity. This lets an application discover available peers, setup connection to peers and query for the list of peers. When a p2p connection is formed over wifi, the device continues to maintain the uplink connection over mobile or any other available network for internet connectivity on the device.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With