The GDK developer guide states:
Local providers obtain location data from the Glass hardware such as GPS_PROVIDER and NETWORK_PROVIDER.
However this doesn't seem to be the case. I tried logging all available providers with:
Log.d("LocationDebug", mLocationManager.getAllProviders().toString());
The result is:
[remote_gps, remote_network, network, passive]
So no local GPS. If I try anyway with the following code:
mLocationManager.requestSingleUpdate(LocationManager.GPS_PROVIDER, this, null);
The app crashes and the following gets logged:
java.lang.IllegalArgumentException: provider=gps