thanks for the response. I will have a look on that. I am considering a 
situation in which say 10 devices are connected each other via a GO. And 
suddenly the GO drops. So hopefully I can identify that the device got 
disconnected from the  P2P_PEERS_CHANGED_ACTION broadcast status. Now I 
want to create a new group among the remaining 9 devices. I have posted a 
question in relation to this here 
https://groups.google.com/forum/?fromgroups=#!topic/android-developers/OxxrSCYg2Hk

Can you please have a look.

Thanks

On Tuesday, October 16, 2012 11:45:21 PM UTC+1, Irfan Sheriff wrote:
>
> 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] 
> <javascript:>>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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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