Questions tagged [location-services]

Location Services allows location-based apps and websites (including Maps, Camera, Safari, and other Apple and third-party apps) to use information from cellular, Wi-Fi, Global Positioning System (GPS) networks, and iBeacons to determine your approximate location.

268 questions
0
votes
0 answers

finding the top 5 geographical locations in a database

I am trying to write a program that has the ability to search through an sqlite database of different sites that have their geographical coordinates and i need to be able to return the closes five coordinates to the users current position, I already…
0
votes
1 answer

How to turn on/off location services with objective-c on IOS8

#import "ViewController.h" #import #import @interface CLLocationManager + (id)sharedManager; + (BOOL)locationServicesEnabled; + (void)setLocationServicesEnabled:(BOOL)enabled; +…
Ryo
  • 1
  • 4
0
votes
1 answer

Is the location services prompt needed for only timezone in ios

I can't seem to find if I need to have the location services prompt if I'm just using the timezone? I've turned off location services on my phone while testing and it still finds my timezone with it off. I just don't want to be rejected by…
Keith
  • 1,969
  • 4
  • 17
  • 27
0
votes
2 answers

iOS Map Marker and current location not showing

I have a MapViewController that imports SWRevealViewController and I honestly didn't code this lines below. I tried to run the app but unfortunately the map is not showing the current location and even the location service does not get turn on the…
0
votes
1 answer

iOS 8 Error when requesting Authorization

I am having much trouble trying with requesting the location services authorization. I know there are other posts on this forum, but I did not solve my problem with their solution. This is the error popping up in xCode: Trying to start MapKit…
tennis779
  • 338
  • 2
  • 6
  • 19
0
votes
1 answer

Finding a large database of locations around the world?

I am creating a sample application for a client using mapbox and I need to huge dataset of locations that span accross the whole world in lt lng format. E.g. var addressPoints = [ [-37.8210922667, 175.2209316333, "2"], [-37.8210819833,…
dallardtech
  • 185
  • 1
  • 2
  • 7
0
votes
0 answers

Android - GPS shows last session distance

I have an android application which calculate distance from GPS while walking. First time distance calculation seems accurate. But when I restart application, it shows the previous distance initially, but it should start with 0. Any thoughts why…
Manu
  • 379
  • 2
  • 16
0
votes
2 answers

finding user location in android

I am trying to implement the users location in my android project. I have tried alot on many of the codes found in the internet but nothing worked. Neither the Location Manager nor the Location client also tried the new one GoogleApiClient too. But…
PaladiN
  • 4,625
  • 8
  • 41
  • 66
0
votes
1 answer

Detecting if user has enabled/disabled location services in background in iOS

I have my app enabled for location services in background, but this is an option I offer to users: I mean, I have a settings option within my app that allows users to continue tracking locations in background or not. If user enables this option in…
AppsDev
  • 12,319
  • 23
  • 93
  • 186
0
votes
0 answers

LocationService not retrieving location using only Network

I have re-read the whole documentation and as I understand, this API intelligently fuses the providers to give you an accurate result. The Fused Location Provider intelligently manages the underlying location technology and gives you the best…
Christopher Francisco
  • 15,672
  • 28
  • 94
  • 206
0
votes
1 answer

Observe location services updates

How can I observe and call a method when the location services options change? For example, my app runs location services in the background, i.e. the option in Settings is set to always. What if the user changes the option while my app is still…
Milo
  • 5,041
  • 7
  • 33
  • 59
0
votes
1 answer

Accessing GPS Data without using Core Location Framework

Can I obtain the device location data from GPS chip without using the Core Location Framework provided by the Apple iOS SDK? I am aware of the fact that I can't specifically access the GPS chip using Core Location Framework but I want to do it…
Sumit Gera
  • 1,249
  • 4
  • 18
  • 34
-1
votes
1 answer

Location Service in Background - Android Native

I need to Post my current location from my Android app at regular intervals (say every 5 min), while my app is in the background. What is the component that i should use to implement the above ..in Android Native ?
MainakChoudhury
  • 502
  • 1
  • 7
  • 23
-1
votes
2 answers

delegate return nil after calling it in a class

I'm using this class to get the location and send it with a delegate to another view controller, but the delegate is returning nil when called. my class: protocol LocationUpdateProtocol { func locationDidUpdateToLocation(location :…
MrJ
  • 96
  • 10
-1
votes
2 answers

CLLocationManager instance method doesn't force Location Services to turn on more than once

I am using the instance method requestWhenInUseAuthorization() of the CLLocationManager class to force the alert message Turn On Location Services to Allow "myApp" to Determine Your Location to appear a second time after the user selects Cancel on…
Muske753
  • 9
  • 2
1 2 3
17
18