I’m using Android O Developer preview 4 –
Google Pixel XL
And seems like the new features such as:
gps location providers. I’ve tried it while was moving in the car. So I have
bearingthemselves but don’t their accuracy.
Am I missing something?
See docs here
these method will not work depending on the API level of the device you are running/debugging on.
Can you check what API level your Google Pixel XL is?
Check what value you are getting when you try to use getSpeedAccuracyMetersPerSecond()
Go through the definition of getSpeedAccuracyMetersPerSecond(). If that is going to return you 0.0, then you will keep getting false irrespective of what location provider you use
@InsFi, Check this sample code I wrote. I had some trouble before.
I implemented the LocationCallback, read the whole post so you get an idea.
I have a pixel phone and it works well.