Open GoogleCodeExporter opened 9 years ago
This was Glass-1-XE12.
The above is part of the 3 things I tried in verifying its availability. Thus,
I also tried to set up a receiver - no messages were passed, - and adding this
in the Manifest:
<uses-feature android:name="android.hardware.wifi.direct" android:required="true"/>
Also failed.
With respect to the latter, should the app not start if Wifi Direct is
unavailable? It does start.
Original comment by eug...@wearableintelligence.com
on 30 Jan 2014 at 12:03
Regarding the <uses-feature> tag, this is used by Google Play (for Android
apps) to filter out applications that use features that are not supported by
your devices.
Original comment by ala...@google.com
on 30 Jan 2014 at 12:25
Is there a work around for this atm? Root and recompile with custom drivers?
Original comment by waggo...@gxmconsulting.com
on 10 Feb 2014 at 4:24
Issue 403 has been merged into this issue.
Original comment by ala...@google.com
on 10 Feb 2014 at 4:27
Is there any work around or upcoming release for this feature? I'm running
XE17.3 and the app seems to be unable to use Wi-Fi Direct (or Wifi P2P)
The application itself compiles and runs as expected on a tablet. However,
trying to compile and run the same application on Glass gives the error of not
being supported. This is logged several times, here's one example of an error.
mManager.discoverServices(mChannel, new WifiP2pManager.ActionListener() {
@Override
public void onSuccess() {
// Success!
Log.d(TAG, "Discover Services Good");
}
@Override
public void onFailure(int code) {
// Command failed. Check for P2P_UNSUPPORTED, ERROR, or BUSY
switch(code) {
case WifiP2pManager.P2P_UNSUPPORTED:
Log.d(TAG, "Discover Services Error - P2P isn't supported on this device.");
break;
case WifiP2pManager.ERROR:
Log.d(TAG, "Discover Services Error - An Error Occurred");
break;
case WifiP2pManager.BUSY:
Log.d(TAG, "Discover Services Error - Manager is currently busy");
break;
}
}
}); mManager.discoverServices(mChannel, new WifiP2pManager.ActionListener() {
@Override
public void onSuccess() {
// Success!
Log.d(TAG, "Discover Services Good");
}
@Override
public void onFailure(int code) {
// Command failed. Check for P2P_UNSUPPORTED, ERROR, or BUSY
switch(code) {
case WifiP2pManager.P2P_UNSUPPORTED:
Log.d(TAG, "Discover Services Error - P2P isn't supported on this device.");
break;
case WifiP2pManager.ERROR:
Log.d(TAG, "Discover Services Error - An Error Occurred");
break;
case WifiP2pManager.BUSY:
Log.d(TAG, "Discover Services Error - Manager is currently busy");
break;
}
}
});
Original comment by Han...@gmail.com
on 10 Jun 2014 at 3:11
Original issue reported on code.google.com by
eug...@wearableintelligence.com
on 29 Jan 2014 at 11:55