언어 설정

Menu
Sites
Language
How to get steps, GPS location and speed on Gear S2 (non 3g)

Hello,

How can I get steps, GPS location and speed on Gear S2 (non 3g)?


I don't see how getting steps would even be possible, as I'm unable to find any examples for this and API documentation seems to be very limited when it comes to getting steps. I've written code to get GPS location and speed, but I'm not sure if I'm doing this correctly. GPS location stays the same and speed is also always 0. I'm not even sure if phone can provide GPS and speed data to Gear S2 by bluetooth.


Maybe someone could help me out by providing short examples?

Thanks in advance! :)

Responses

3 댓글
Yasin Ali

Hello,

When I watched Samsung site ( http://www.samsung.com/us/explore/gear-s2/ ), I found in section
Key Specs->Bluetooth Specs->GPS Sensor = nil .

So I think your divice does not support the GPS Sensor. Only 3G model supports the GPS Sensor.

Thanks.

Testinen

That's weird. While doing some tests, this actually gave me GPS location couple of times. I didn't check if those coordinates were accurate.

Vladyslav Prysiazhnyi

Hello,

You can use location manager but, only if your gear S2 connected to Mobile device, because there is no embedded gps sensor on Gear S2, it uses mobile device GPS.

You may have problems with GPS using HYBRID_METHOD or GPS_METHOD if device is in the building. GPS retreiving works good outside building.


You can read guide how to retreive GPS location and speed here

Also You can read this sample program.

This short example.

And also this, this and this code snippets about GPS.