Do you see the peer status (WifiP2pDevice has a status field) as connected
when you listen P2P_PEERS_CHANGED_ACTION broadcast and request the peers ?

On Tue, Oct 16, 2012 at 5:11 AM, Zach <[email protected]> wrote:

> Hi
> I am working on wifi direct. After sending a connect request I was
> expecting a call back to the onConnectionInfoAvailable call back. But that
> wont happen always for some reason. And at times it takes a while when i
> finally receives a callback.
>
> What am i doing wrong here? Is this call back an acknowledgement for
> a successful/failed connection? I know the connect method has a callback
> and for me that always returns a success.
>
> How ca i do this properly? How to identify a successful connection is
> established or not?
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to