Questions tagged as 'gps'

1
answer

Distance in meters between two coordinates using JavaScript

Can you help me with solving a problem? I need to calculate the distance in meters between two GPS coordinates. But I need to do this using pure JavaScript. The context of this is that my application needs to validate the coordinate of a cust...
asked by 01.11.2017 / 02:37
1
answer

Why is the onLocationChanged of the LocationListener so inaccurate?

I'm working with Android gps. I'm using LocationManager.GPS_PROVIDER and it's giving me very bad points, a long way from my location. Has anyone worked with this tool? it's normal? Thank you in advance.     
asked by 25.07.2016 / 21:50
1
answer

Monitor real-time users IOS [closed]

Someone would know how to respond to the best way to get a real-time location of a user via GPS in IOS, I'm not sure if it would be correct for me to get the user's location every 10 seconds and make a request with the Web Service updating your...
asked by 14.12.2015 / 20:54
1
answer

Get permission status when user has given runtime location access permission on Android

I'm picking up location data using LocationManager on Android and would like to know how I can get the action only if the user allows the app to access your data location. For example, using the code below, I can pick up according...
asked by 31.10.2018 / 00:51
1
answer

How to calculate distance traveled by me in swift

I am trying to calculate the distance I travel between my starting point, until the moment I stop my race / change of screen. Can you help me? Below are the most relevant parts of the code. @IBOutlet weak var mapa: MKMapView! var gerenciadorLo...
asked by 20.04.2017 / 14:53
1
answer

Configure GPRS module

I'm developing a project that aims to get the location of the GPS and send via GPRS to the server. But I want to know how to configure the APN so that it can be accepted chip from any operator in the GPRS module? while ( start_GPS() == 0); w...
asked by 18.06.2016 / 04:02
1
answer

How do I get markers near the user's location? [closed]

Good evening Who knows the Tinder application knows that a map is not shown, but knows that it takes the location of the user and uses it to look for people who are nearby within a certain radius. I would like to do the same thing in my Andro...
asked by 10.09.2015 / 04:39
1
answer

Google play services and setInterval

I'm trying to use google play service to get the user's position. The problem is this, I have dynamic time interval for sending this position to the server. However, LocationClient does not respect this interval, regardless of the value it has,...
asked by 05.12.2014 / 17:39
0
answers

Android - GPS_PROVIDER

I'd like to know why I can not use GPS_PROVIDER . It works with NETWORK_PROVIDER , but I need GPS . public class MainActivity extends AppCompatActivity { private TextView textLati, textLong, textCidade, textEstado, textPais,...
asked by 08.08.2018 / 15:35
0
answers

How to get GPS coordinates and GPS speed using Objective-C or Swift?

#import "GetLocationViewController.h" #import "LocationDetailViewController.h" #import "SetupViewController.h" #import "CLLocation+Strings.h" @interface RoutePoint : NSObject { NSString* number; } @property (nonatomic, copy) NSString *speed; @e...
asked by 14.06.2018 / 15:19