문제

I'm just looking at the WiFiP2PManager in Android. It appears that if I host a service and a user connects, then the host has to approve the connection. However, I do not want this as in my application the host will acknowledge this when they start hosting.

Is there anyway to do that, and if I can't do that in anyway at all, is there a way of telling the system that the user tapped 'Yes'?

Thanks

도움이 되었습니까?

해결책

There is currently no way to do this though from Android 4.2.2 it is possible to remember previous groups.

Look at this issue(it deals with this exact problem):https://code.google.com/p/android/issues/detail?id=30880

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top