[android-developers] Wi-Fi Direct automatization and filtering

2012-11-06 Thread Yorg
Hey everyone, For an assignment I've run into 3 potential problems, some of which can be fixed partially or completed in 4.1 but I'd like to know if there are ways to fix them in 4.0 regardless. It's related to the Wi-Fi Direct feature introduced in Android 4.0/Ice Cream Sandwich. Problem 1,

[android-developers] Re: Wi-Fi Direct automatization and filtering

2012-11-08 Thread Yorg
Might have a solution for problem 1, possibly 2 as well although if it's secured that will still be a no go. The solution would be to use reflection to turn on Wi-Fi Direct. There's some example code about disabling Wi-Fi Direct in code with reflection. The reverse should be possible. Problem

[android-developers] Re: Handle WifiDirect Invitation Decline

2012-12-04 Thread Yorg
The only way I know that will actually work is building in a timeout on the peer that is having the invitiation declined. If the connection didn't succeed within 30 or 60 seconds for example you can tell the user the connection didn't fail. Unfortunately you won't know the exact reason...

[android-developers] Wi-Fi Direct WPS overlap problem in Android

2012-12-04 Thread Yorg
Hey everyone, I've been spending a lot of time with Wi-Fi Direct the past months, one of the problems I've run into that is also present inside the Android Wi-Fi Direct settings menu is that if you try to connect two(or more) peers to one and the same peer at the same time or very shortly