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
2
votes
3 answers

How to get current location in ios in simulator?

i am using this code to get current location but not getting the correct result to get the current location in simulator, -(void)initLocationManager { locationManager=[[CLLocationManager alloc] init]; locationManager.delegate = self; if…
user6438311
  • 117
  • 1
  • 3
  • 13
2
votes
2 answers

swift - How to have google map view load smoothly upon application run

When the view loads on initial launch(tap of icon/run program), the google Map View starts in the united kingdom then teleports to my current location in a very abrupt manner. Nowhere in my code do I have any UK Coordinates that I would think would…
lifewithelliott
  • 1,012
  • 2
  • 16
  • 35
2
votes
0 answers

It is possible to find current location without GPS in swift?

I am trying to find current location using GPS. Now I am getting current location without GPS. Is it possible? Thanks in advance. func locationManager(manager: CLLocationManager!, didUpdateLocations locations: [AnyObject]!) { let location =…
Ravi Borad
  • 25
  • 4
2
votes
1 answer

Activity Recognition and Location Client Android

I am having difficulty making use of both Activity Recognition an LocationClient to fetch current location. I want to fetch users current location when the Activity recognition returns "IN_VEHICLE" But when i try to connect my location client it…
2
votes
0 answers

Update Markers on Location Change Google Map v2 Android

I want to update All Markers Text i.e. Marker with Red Circle in Image on Location Change. I tried the Idea of Removing all Previous Markers & adding all of them again with Updated Text.But Doing So gives me Error Of :::: Out Of Memory Exception And…
2
votes
0 answers

How to set and manage "current location" in text field?

In my iOS 7.0 app I need to display in a text field the current location... How can I let the user choose the device location instead of a classic address? can I use a small icon within the textfield or the user must type "current location" and my…
cicaletto79
  • 179
  • 1
  • 12
2
votes
0 answers

Get current location in offline mode using cell tower with less battery and high accuracy

I followed this and this links to get current location. Here without using Wi-fi and GPS getting current location but it is not updating when location changed, if I on GPS/Wi-fi it starting updating. Here I want to get updates with based on only…
Shailendra Madda
  • 20,649
  • 15
  • 100
  • 138
2
votes
1 answer

Android source code for locationmanager only?

I want to know how Geo Location is found through a Network provider without GPS in an Android application? How exactly is triangulation of cell towers implemented in code and how is latitude and longitude of the cell towers is obtained to get the…
2
votes
2 answers

Current Location updating not working in iphone Device

Working on application that needs to update current location in every second. for that i am using CoreLocation framework. My code is like AppDelegate.h @interface AppDelegate : UIResponder
Sarafaraz Babi
  • 480
  • 6
  • 18
2
votes
3 answers

How do i get the current location in the background mode in iPhone?

I am getting the current location using CLLocationManager and i am getting the latitude and longitude values of the current location. I haven't used the Mapview in my app. So whenever the current location is changed, that time i want to update the…
Pugalmuni
  • 9,350
  • 8
  • 56
  • 97
1
vote
1 answer

Is there any way to locate the current location of the user(browser other than mozilla and chrome)

My problem is to get the current latitude and longitude of the user. I have tried Geoloaction API, it works fine in Mozilla(3.6-tested) and google chrome as well. But fails in IE6,IE7(i tested only these versions) i think its because of the lack of…
arjuncc
  • 3,227
  • 5
  • 42
  • 77
1
vote
1 answer

Android Google maps get current location not working

I have a problem with obtaining the current user location. Code at first works but after some time it just stops showing the current location. I tried several approaches to this problem but with the same result. Here's my code: public void…
hyperN
  • 2,674
  • 9
  • 54
  • 92
1
vote
4 answers

How to get the user's current location by code in iphone app?

I want to get the user's current location from my iPhone app. I want to show the user's current location like country name, latitude, longitude information in my app. And also i want to show the location in Google map also. I have tried Google…
Gopinath
  • 5,392
  • 21
  • 64
  • 97
1
vote
2 answers

Custom icon and default current location icon on Map when needed in iPhone

I have an application where in I give user 2 options. 1. Select your current location through GPS 2. Enter your current location manually. What I want is When user has selected thh first option then I have to display the blue animated icon for…
Suresh Varma
  • 9,750
  • 1
  • 60
  • 91
1
vote
2 answers

Best way to get current address location Kotlin 2023

I want to create a current location button to get the current address of the user. Currently I am using fusedLocationClient.lastLocation but its slow and sometimes it does not work. Is there a better and updated way to get the current address from…
1 2
3
14 15