Questions tagged [currentlocation]

Current Location refers to programmatically identifying the GPS location of a device, such as an iPhone app requesting information about its current location to display in a map or find nearby places, for example.

Current Location refers to programmatically identifying the GPS location of a device, such as an iPhone app requesting information about its current location to display in a map or find nearby places, for example.

See also:

221 questions
1
vote
1 answer

How to disable google map current location tracking after first loading android

I am google map apis for my current location. I am working on map application in which it first load current position then user can be able to point to any where on the map. My problem is that if i am moving, then my location is again and again…
1
vote
1 answer

Display current location without using CLLocationManager

I am new to iOS and I have a question about finding the current user location. I am reading in Apple documentation: Displaying the User’s Current Location on the Map Map Kit includes built-in support for displaying the user’s current location on…
Neli Chakarova
  • 660
  • 1
  • 5
  • 18
1
vote
1 answer

Get my current location with gps android

Hi I'm trying to get my location and use it to draw a path between my place and a specific location , I use GMapV2Direction class to draw the directions and this is my code public class MapsActivity extends FragmentActivity implements…
IKO dev
  • 11
  • 1
1
vote
3 answers

Get Current Location in background

I am currently working on a project which is include in get current location every 5 second. I create a service for that. But current location not getting. I try this link. But I am not getting current Location. public class Locfetching extends…
Jigar Shekh
  • 2,800
  • 6
  • 29
  • 54
1
vote
0 answers

How to get current location from background service with AlarmManager in Android?

I want to get the current location from a background service at a particular time like 10 minutes, 20 minutes, etc. and it automatically is stopped by alarm manager after 2 hours, 4 hours, etc. At first the service starts by a button, then it works…
1
vote
2 answers

Need Current Location of User in Android , Not Last known location

I am developing an android application in which i want to get users current location when application start, But when i start my application it gives the last known location when it start first time, But i want the updated current location of the…
Husnain Ali
  • 19
  • 2
  • 8
1
vote
5 answers

Android- Get current location but latitude and longitude return 0.0 (make wrong calculation)

I'm trying to make a simple program to perform distance calculations that will be shown in listview. I use GPSTracker from androidhive, and calling latitude and longitude fo my List Activity public class GPSTracker extends Service implements…
Bambang
  • 63
  • 1
  • 6
1
vote
1 answer

How to get current location using internet in xcode?

how to get current location using internet ? i'm making an application where i necessary need the latitude and longitude of user. Would anyone please tell me if i off the iPhone location service from settings and i want to get current location from…
zeeshan shaikh
  • 819
  • 3
  • 18
  • 33
1
vote
1 answer

Delay app until the user allows or disallows current location

Is there a way to delay code from running until the user has answered the current location prompt? My app fetches annotations and puts them on the map. When the app launches for the first time and the user allows current location it fails to fetch…
user1681673
  • 368
  • 1
  • 6
  • 28
1
vote
1 answer

Finding the Closest CLLocation

How do I find the closest location from the user? Basically, I have a bunch of CLLocation's, and I want to find the one closest to the user. I have retrieved the users current location but I want to find the closest CLLocation. How would I go about…
1
vote
1 answer

I have a Android App that I am building that uses Google Maps and when I try to get the current location the map is zooming in and out

Below is the Location Listener I am using and the method that calls it. When I run this the map is continuously zooming in and out. I am currently calling this from the onCreate in my activity. What is it I am doing wrong here? private void…
yams
  • 942
  • 6
  • 27
  • 60
1
vote
1 answer

Method to find current location without using google map api

Google map api's current location is not working in some environments.Is there any other service we can use to get the current Geo-location
mary j
  • 21
  • 3
1
vote
0 answers

Google map Current location Balloon overlay

I am creating Google map Current location Balloon overlay. I used android-mapviewballoons this code to show balloon. Here Current location display is working. When i click on marker, error will come(BalloonOverlayView 49,37 lines and…
Satya
  • 340
  • 7
  • 17
1
vote
3 answers

Google Maps API v2 Custom MapFragment + SimpleFragment

I need to create a simple application which contain 1. Custom MapFragment which can display current location (LocationListener?), two markers, etc. 2. Simple empty Fragments. The application must not use support v4 (sdk 11+) /…
1
vote
0 answers

Current User Location return Zero values

I use a global variable (declared as below )for latitude and longitude because i need to use them in other classes in .h class : extern NSNumber *MYGlobalVariableLat; extern NSNumber *MYGlobalVariableLong; Then in .m class: NSNumber…