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

iOS6 - MKMapView current location blue dot

In iOS6 (Google map) I am not seeing the current location which should be marked by a blue dot. When I run the same code in ios5.1 and previous versions, i am getting the blue dot marked in my current location. When I was searching for a solution, I…
sathiamoorthy
  • 1,488
  • 1
  • 13
  • 23
1
vote
3 answers

Android : map : how to alert when Current Location is out of screen

How can I find out, in an Android app, whether the "current location" marker shown on the map is outside the bounds of the currently displayed map?
top taps
  • 23
  • 4
1
vote
3 answers

How can i display Current Location in Android Google maps?

I want display Current location of the devices in Google maps how can i do it i am displying the normal map now .the following code display Lat and Lang positions of the devices how can i display the Adress in the map by using that lat and lang…
0
votes
1 answer

Get current location for every 1 minute or every 1km change using background service

I want to get current location for every 1 minute or every 1km change using background service. So I have written a service and my code inside the onStart() method of service is` if(lm==null) lm = (LocationManager)…
Prabhu M
  • 3,534
  • 8
  • 48
  • 87
0
votes
1 answer

Issue with 'Current Location' on iOS Google Maps App

In my application, I am attempting to give a user directions from her 'Current Location' to an arbitrary destination. To do this I send them to the Google Maps App on the iPhone / iPod passing the correct directions string. However, it seems that…
Justin
  • 464
  • 5
  • 14
0
votes
0 answers

How to get current location continuously in the foreground in android using kotlin?

I'm building an app the tracks the location of the device continuously, the location is only tracked when in the activity and stops when the activity is destroyed or closed. How do I get the current location even if the app gets minimized and also…
0
votes
1 answer

Related to google map for android mobile application

I am looking for a solution that when i search for a location and switch to that it must to be indicate my current location via any indicator or image. or When searching another location from current location then How to show the icon indicating the…
0
votes
0 answers

How to get Latitude and Longitude without internet?

I want current location (latitude and longitude) without internet.Please give me ideas if this is possible? I know, I have imported google services in the below code your text import com.google.android.gms.location.FusedLocationProviderClient; your…
0
votes
0 answers

How to change my position using the explore Edition of here SDK with flutter?

I'm using the explore Edition of here SDK to to truck location updates. I want that the map rotate and the indicator to move with my physical location changes. Unfortunately the indication is always in my current location. This is my code…
ASMA
  • 59
  • 1
  • 5
0
votes
0 answers

getLastKnownLocation is null when Myapp is Running in background in android 12

I wrote a program that when called I get contact information and location information of the person with api I used "BroadcastReceiver" for this. My problem is that when the program is open, it gives me the correct location and everything works…
0
votes
1 answer

Use Current Location to draw poly lines to a destination on Flutter

I have an application with a google map, the application gets my current location, there are two markers on the map, one point of the marker and the polyline are coordinates passed from a previous screen. I want the starting point of the poly line…
dicky
  • 1
0
votes
1 answer

How to get device location when a BTLE event triggers in broadcast receiver?

I am statically registering Broadcast Receiver for BTLE connection/disconnection events to detect when my bluetooth headphones connects/disconnects with my Android phone. I also want to record the current location of my phone to update to a server…
0
votes
0 answers

Current Location using FRAGMENT

Im Facing a issue with getting Current Location Using android java . when i Run my App in my personal phone i just see a normal map without any Current Location. and i can't get the permissions. But when i Run the App in Emulator i see just Toast…
0
votes
1 answer

Unable to get current (real time) location using FusedLocationProviderClient

After 2 days of struggle, I have been forced to ask this question. I have been searching StackOverflow but no solution seems to work for me. I don't know why. I am trying to get the current device location once: (a) the permissions have been…
awaqar
  • 149
  • 1
  • 6
0
votes
2 answers

is location detection required google play services android studio

I have built an app using location detection to get the current location I am using LocationManager and LocationLiastener the app works fine but when I tried to run it on advice without android play service it won't get the current Location and show…