location Questions

8

Solved

I recently added get location function. When I try to show longitude and latitude, it returns zero. This my LocationListener class: inner class MylocationListener: LocationListener { constructor...
Chomp asked 30/8, 2017 at 10:39

22

I need to get my current location using GPS programmatically. How can i achieve it?
Decolorant asked 3/10, 2009 at 10:59

4

Solved

I have a program in which latitude and longitude values of a location are stored in a database, which I download. I want to get the distance between these coordinates, and my current location. ...
Isogloss asked 1/8, 2013 at 1:38

4

Solved

I need to detect weather IPhone is in Airplane mode or Not, i have done much research and i found no direct way to achieve that . My App has the functionality of Calling a Number and When an Iphone...
Deictic asked 4/5, 2016 at 10:40

3

To enable "Allow all the time" location permissions in an Android app, how to launch the location settings for the app in the Android settings? I have seen how to launch the Android setti...
Yen asked 14/5, 2023 at 6:41

7

Solved

I'm developing an android application which deals with capturing location coordinates with GPS. I'm also getting the last known location details (via locationManager.getLastKnownLocation(LocationMa...

6

Solved

I'm looking to do something similar to the way Uber handles pinch zoom events. No matter where you pinch on the screen, it keeps the map centered and zooms in on the center location. Is there a way...
Scissure asked 30/3, 2015 at 17:3

8

Solved

please shed some light on this situation Right now i have two array having latitude and longitude of nearby places and also have the user location latiude and longiude now i want to calculate the ...
Chamfron asked 8/11, 2011 at 11:22

3

As of Android 11, apps targeting SDK 30+ will not show a user an option to grant background location permission to an app more than once. If not initially granted, it requires users to go to a sett...
Fellmonger asked 7/10, 2020 at 15:3

1

We get user\friends location as follows --> location = {id = 104048449631599; name = "Menlo Park, California";}; On our side, location is split into city and state. In our database we store the ...
Sheepskin asked 16/4, 2013 at 18:38

9

Solved

I have found the answer for this for objective-c but Im having a hard time doing this in swift. I have used this to get the country code for the current location: let countryCode = NSLocale.cur...
Quinones asked 28/2, 2016 at 12:31

2

const dt = new Date('2017-12-12'); console.log(format(dt, 'YYYY-MM-DD')); The above code logs 2017-12-11 in the US, but 2017-12-12 in India. I followed this github thread here and tried out thin...
Dunagan asked 9/1, 2018 at 16:38

7

I need to monitor user's locations using a background service, and then load them and show the path to the user. Using an activity, it was quite easy to get GPS locations, but when I got to do it v...
Sessile asked 12/1, 2012 at 0:24

9

Solved

I have a simple form which is inside IFRAME. When user click on SUBMIT, it redirects to a specific page on my server. The function I use for the redirect is header ('Location: mypage2.html'); ex...
Manservant asked 6/6, 2010 at 18:28

2

After a lot of reading and fighting with it myself I have to ask my better peers. I have a behavior that I cannot explain with FusedLocationClient. I want to get the location (only one instance) ...
Peonage asked 30/1, 2019 at 10:2

1

Change the view of map according to view of map in flutter app.
Brasher asked 11/1, 2023 at 3:21

4

Solved

I want my program to display the users location on the map. It was working at first then randomly stopped so i added the code below to try to fix it but I'm having problems. Thanks in advance! o...
Frenzy asked 2/8, 2016 at 17:24

11

Solved

I've been doing some research about CoreLocation. Recently, I encountered a problem that has been covered elsewhere, but in Objective C, and for iOS 8. I feel kinda silly asking this, but how can ...
Publicly asked 18/1, 2016 at 18:50

16

How can I store the user's current location and also show the location on a map? I am able to show pre-defined coordinates on a map, I just don't know how to receive information from the device. ...
Philippopolis asked 13/8, 2014 at 21:43

3

I have the following Firebase Database structure, "-KSupX7CppMD1zbqIy0y" : { "addedByUser" : "zQpb7o18VzYsSoTQtT9DNhOqTUn2", "content" : "Post 1", "cost" : "20", "duration" : "Weekly", "latit...
Statehood asked 30/9, 2016 at 12:55

0

Suddenly the Flutter app started crashing on open. It was working earlier. Sharing the runtime crash log - Fatal Exception: java.lang.IncompatibleClassChangeError: Found interface com.google.androi...
Kiowa asked 9/11, 2022 at 13:10

10

I'm trying to mess around with the Maps API V2 to get more familiar with it, and I'm trying to start the map centered at the user's current location. Using the map.setMyLocationEnabled(true); state...
Nucleotide asked 25/8, 2013 at 2:39

2

Solved

I'm developing a Qt5 application for Android (with CMake!) and currently I'm trying to read location data using Qt's QGeoPositionInfoSource. All of my application is doing fine so far but when I ru...
Harlequin asked 14/2, 2017 at 22:17

4

Solved

So after finally getting my head around Xamarin.Forms DependencyService I have nearly got it returning the device's current location. my interface public interface ICurrentLocation { MyLocation ...
Felice asked 1/9, 2014 at 8:21

2

im having a hard time with this error because everything used to work perfectly now its says that its deprecated. Can someone help me with error cause nothing its working, I have tried the new code...
Foremost asked 12/10, 2021 at 13:22

© 2022 - 2024 — McMap. All rights reserved.