Sunday, 15 May 2011

How to discover , connect , send info and disconnect to all devices using wifidirect in android -


Automatically disconnects from AL device Wifip2p is a broadcast receiver plus service to do all this to handle intentions. At present, when the peer list is available, the app sleeps for 1200 ms, then connects, sends information, and tries to disconnect from each device in the list. This is like the event cycle from sleep to disconnect

The problem here is that the device is often connected and the WiFi P2P connection intends to convert, but when it is detected If the network is connected, then it returns false, so the app can no longer send data. Thus sending data is very less.

I do not see much information on the Internet and I suspect that many people have not tried to apply something like this.

Any sample or pseudocode can be very useful

Thank you in advance.


No comments:

Post a Comment