All Questions
Tagged with google-maps-android-api-2 gps
49
questions
-1
votes
1
answer
458
views
Is there any possibility to get elevation without using mobile data and WiFi data in Android?
I want to get elevation(latitude, longitude and altitude) of the device in Android(using Java).
Is there any possibility to get above details without using internet?
Is there any possibility to get ...
2
votes
1
answer
746
views
In Google Maps, why is OnLocationChanged() not called again, when the app is maximized from its minimized state?
I am developing an Android Application. In that I integrated Google Maps in a Fragment .
My Problem
In the Map , in normal running state , OnLocationChanged function called by LocationListener and my ...
12
votes
4
answers
3k
views
GPS Location Fluctuating
I am drawing heart as a polyline on Google Map depends on radius(1 - 100 meter). Once heart is drawn, user needs to walk on that heart border and need to finish from starting to end (Walking start ...
0
votes
0
answers
598
views
smart-location-lib not working on api level 21 and above android
I am using smart location library. I am trying to get location using longitude and latitude. But my code is working perfectly in api 16. but I checked it on api 21. the same code isnt showing anything....
2
votes
0
answers
515
views
Geocoder APIs returning range of addresses
I am attempting to use latitude and longitude coordinates to resolve a specific address. Currently, the Geocoder APIs will occasionally return a range of addresses, even if the selected location is an ...
1
vote
1
answer
2k
views
Location is null even if GPS is turned on
I am working on google maps. I want to get the user location and show him on the map. I wrote a Locationlistener to get the user location.
public Location getUserLocation(){
try {
// ...
0
votes
1
answer
422
views
Mapping and Tracking in an android with google maps and receiving from a web server
I'm trying to develop a system that's able to map routes and track vehicles on the routes. The vehicles would be equipped with a raspberry pi and a gps module that would send the gps location long lat ...
0
votes
0
answers
23
views
location from getLastKnowLocation on google maps api for Android showing as 0,0 [duplicate]
We're trying to get the current location to show as a marker on the map, however it sets the location to 0,0 (long,lat) instead.
On the phone we get a notification saying "Searching for GPS" whenever ...
4
votes
3
answers
342
views
Every 1 Minute Gps LatLong Getting From Server Showing In Map as Marker. But Marker Geting Duplicating
1.In My app Gps LatLong is Getting from Server Every OneMinute. Saved in Shared Pref ,then getting the LatLong From shared pref Showing the Marker on the Map.
2.Every One Minute I want to Move the ...
0
votes
2
answers
559
views
Location is Returning null LocationManager.getlastlocation Gps Provider
I have searched and implemented every way out there to get my location. But the location is always null, no matter what i do. It's null. My application is almost complete and this is the only thing ...
0
votes
1
answer
49
views
GPS Location is being saved automatically without approval
Okay my problem is this:
I have two Activities, A and B.
In Activity A I have a webview which presents a google map with coordinates that are taken from a SharedPreferences DB file. if the DB file ...
0
votes
1
answer
77
views
Android : Get zoomed location without moving and draw a circle around it. (Not working)
I am working on an Android application in which I would like to display the users immediate location, not when the location has changed. Also, I would like to mark the area with a circle as soon as ...
0
votes
0
answers
1k
views
GPS not showing current location on map
I am facing a problem, I am trying to show current location on map. When I use wifi, it works fine, but when I turn the GPS on, it stops showing it, again I turn off GPS it works.. what shall I do, I ...
8
votes
1
answer
968
views
Android app with GPS voice directions
I'm trying to create a tourism app for Android.
I need the user be guided by voice. I've been looking at the googlemaps Android API but there's nothing about voice directions.
Do you know any ...
20
votes
4
answers
24k
views
Android Google Map how to check if the gps location is inside the circle
I'm trying to detect if a user is in the radius of a Marker , using the users gps location. I have the marker's coordinates, but I don't know how to calculate whether the user is in the area. I've ...