Академический Документы
Профессиональный Документы
Культура Документы
One advantage of Wi-Fi Direct is the ability to connect devices even if they are
from different manufacturers.
WIFI DIRECT VS BLUETOOTH
WI-FI DIRECT BLUETOOTH
Bluetooth can transfer data up to the Wi-Fi direct can function up to 600
range of about 200-300 feet(60-90 m) . feet(180 m) which is more than
double the range of Bluetooth.
Bluetooth transfers data with speeds up Wi-Fi direct transfers data at speeds
to 25 Mbps . of 250 Mbps which is about 10 times
more than that of Bluetooth.
Features of Proposed System
Being able to share files between two Android mobile phones.
There is no restriction in size.
The two Android mobile phones connected via Wi-Fi direct can view the
contents of the one another.
WifiP2pManager.ChannelListener initialize()
WifiP2pManager.ConnectionInfoListener requestConnectInfo()
WifiP2pManager.GroupInfoListener requestGroupInfo()
WifiP2pManager.PeerListListener requestPeers()
Wi-Fi P2P Intents
The Wi-Fi P2P APIs define intents that are broadcast when certain Wi-Fi P2P events
happen, such as when a new peer is discovered or when a device's Wi-Fi state
changes. You can register to receive these intents in your application by creating a
broadcast receiver that handles these intents:
Intent Description
Broadcast when the state of the device's Wi-Fi connection
WIFI_P2P_CONNECTION_CHANGED_ACTION
changes.
Initial setup (i.e.) Ensuring that your application can access the hardware and
that the device supports the Wi-Fi P2P protocol.
Discovering peers.
Connecting to peers.
Transferring data.
Creating a Broadcast Receiver for Wi-Fi P2P Intents
Home Page After Clicking the Start After the mobile phones
Button are connected
CONCLUSION
Thus, we have successfully performed one way file sharing between android
devices via Wi-Fi Direct.