wonjsohn / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

No GPS (remote_gps) events catched by implementing GpsStatus.Listener.onGpsStatusChanged method using mobile paired gps #529

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Implement GpsStatus.Listener
2.Override onGpsStatusChanged method
3. Try to catch any onGpsStatusChanged event 

   public void onGpsStatusChanged(int event) {
        Log.d(TAG, "onGpsStatusChanged event: " + event);

        switch(event) {
            case GpsStatus.GPS_EVENT_STOPPED:
                        ............
                break;
            case GpsStatus.GPS_EVENT_SATELLITE_STATUS:
                ............    
                break;
            case GpsStatus.GPS_EVENT_FIRST_FIX:
                Log.d(TAG, "GPS fix gotten");
                ............
         }
         .............
    }

What is the expected output? What do you see instead?
The expected output should be any remote_gps event

What version of the product are you using? On what operating system?
XE17.2 - Android - Fedora

Please provide any additional information below.

No way of catching remote_gsp events like GPS_EVENT_STOPPED, 
GPS_EVENT_SATELLITE_STATUS or GPS_EVENT_FIRST_FIX using mobile paired gps.

Of course, It has been tested having gps signaling. A LocationListener 
interface has been also implemented in order to receiving Location 
notifications by overriding LocationListener.onLocationChanged method.

Original issue reported on code.google.com by anderm...@gmail.com on 28 May 2014 at 11:31

GoogleCodeExporter commented 8 years ago
Hello,

Thanks for the report! Could you confirm that you have the MyGlass app 
installed and running on your phone? The GPS signal will only be transferred 
through the connection Glass has with the phone app.

Also, could you confirm that you are indeed receiving location updates even 
though you don't receive status update?

Thanks!
Alain

Original comment by ala...@google.com on 28 May 2014 at 3:50

GoogleCodeExporter commented 8 years ago
Yes, I have MyGlass installed and running on my phone.

I can confirm I'm receiving location updates (from provider: remote_gps)  
despite off I'm not receiving status updates.

Regards.

Original comment by anderm...@gmail.com on 28 May 2014 at 3:59