I am using Wi-Fi direct in my application. I am able to establish the connection between two Android devices.
I want to handle the negative response of connection request. When a User1 send connection request to User2 and if User2 denies that request, then how User1 would know that User2 denies his connection request. I have researched about this, but I couldn't able to find anything.
Question:
- How to handle the negative response of connection request at senders end?
This method you have to define after implementing
WifiP2pManager.ConnectionInfoListener
.