737 questions
0
votes
0
answers
48
views
Android LocationManager doesn't set speed to 0 when the device stops moving
I have a simple app that displays the user’s current speed, and I’m using FusedLocationProviderClient for this. When I start the app and begin moving, everything works fine the speed updates correctly....
1
vote
1
answer
145
views
Android ARCore Geospatial Device Movement
I started out using this sample project https://developers.google.com/ar/develop/java/geospatial/quickstart.
I am able to place the anchors and view them in the ar view and on the map view as ...
0
votes
1
answer
346
views
React Native Photo GPS Exif Extraction
I am designing a React Native app for Android. The purpose of the application is to be able to upload an image, and it is placed on the map based on its GPS coordinates stored in the EXIF information. ...
0
votes
0
answers
54
views
React Native GPS Location Detection Issue on Android & iOS
I am working on location detection using GPS in a React Native app. However, I am encountering issues on both Android and iOS:
Android: Works only with exact location (ACCESS_FINE_LOCATION), not ...
0
votes
0
answers
41
views
Re-register geofences
Based on Android docs Re-register geofences only when required:
The app must re-register geofences if they're still needed after the following events, since the system cannot recover the geofences in ...
0
votes
1
answer
113
views
navigator.geolocation.watchPosition does not use gps (any alternatives ?)
I'm trying to access the user's location on my webpage, but the location I get is very imprecise and does not use GPS. I have already checked the permissions in my browser (Firefox) and system (...
1
vote
1
answer
75
views
GPS snooze on Android 12
What has been discovered is that if Android is left with GPS location listener running indoors where there is no coverage for several hours, then GPS enters a snooze mode: snooze we loose
The GPS ...
-1
votes
1
answer
154
views
Smooth GPS tracking with google maps
I am working on a vehicle tracking application, and im trying to get the moving animation of the car smooth, with no "jumps" and a continous movement of the map with the current location.
...
0
votes
0
answers
124
views
Android location mean sea level not set
I want to access the mean sea level of an location using .NET MAUI with native Android calls:
Permissions.RequestAsync<Permissions.LocationWhenInUse>().Wait();
var locationManager = (...
0
votes
1
answer
148
views
NEO-6M GPS module loses its accuracy on arduino uno
I have a NEO-6M GPS module and I want to use it for date,location and time.
Now, when the NEO-6M is set default to 115200 baud rate and when I use ttl converter to get signals from the GPS module it ...
1
vote
0
answers
221
views
Android Emulator GPS Location Not Working
I've been unable to get GPS location emulation working on any of the Android emulators.
I've tried multiple Android emulators and APIs but haven't managed to get the GPS emulation to work. When ...
1
vote
0
answers
92
views
GPS updates (satellites) in background - FusedLocationProvider vs LocationManager, Device Power Saving vs App's Battery Unrestricted, Android version
So depending on which API we use (FusedLocationProvider or LocationManager), battery mode (Device Power Saving or Battery Unrestricted for an app), Android version, the app may not receive GPS updates ...
1
vote
0
answers
42
views
GPS Map Camera app with automatic upload to database
I want to an app that has features available in GPS Map Camera app (gpsmapcamera.com).
I want to an app that has features available in GPS Map Camera app (gpsmapcamera.com). Apart from that, once the ...
1
vote
2
answers
250
views
How to extract gps coordinates from an ImageView in Android Studio
I have an android app in which I want to display the GPS Coordinates of an ImageView, that I get from the users image uploads. My Code looks like the following:
package com.example.app;
import ...
1
vote
1
answer
75
views
What does the `et` timestamp stand for in the Android Location object? [duplicate]
I got the following location object from LocationResult, and I was wondering what the et timestamp is?
Location[fused 37.421998,-122.084000, hAcc=12.236 et=+3d16h46m21s252ms alt=154.0 vAcc=1.6407026 ...
0
votes
0
answers
130
views
Keep GPS Location Alive w/ Device Owner App
We have a device owner app installed on a Samsung A13. The device is relatively low powered. The app has the necessary permissions and we've programmatically disabled battery optimizations for the ...
1
vote
0
answers
104
views
ActivityResultLauncher provides Result Cancelled as ActivityResult even when user turn on the location
I am redirecting user to the location service setting when the location is turned off of the device using below code,
private void turnOnLocation() {
Toast.makeText(getApplicationContext(), &...
-1
votes
1
answer
282
views
Turn on(Enable) GPS programmatically in flutter - android
I have 2 scripts where i try to enable GPS but none of them seem to work , so how i can enable GPS for a foreground - background task for some minutes and then close it again ? (not manually but ...
0
votes
1
answer
64
views
Getting updated latitude longitude in background without internet on android
I want to build location tracking android app that can save coordinates of user every minute in background, our app works fine on devices with offline google maps but on devices where we don't have ...
1
vote
1
answer
2k
views
Android Studio GPS "libmagtsync.so"
I want to retrieve the GPS position of my cell phone. Using Android Studio,
the position is not displayed. In Logcat, I have these messages in red:
E/QT: [QT]file does not exist
E/FBI: Can't load ...
1
vote
0
answers
254
views
Getting gps location updates from native/jni in Android?
I know that GPS location using Java can be obtained on change in the following way. I know that this excludes checking and asking for permissions, but for this example this is irrelevant.
Full ...
3
votes
0
answers
532
views
Shiny.net with MAUI.net not getting locations
I am having trouble getting location tracking working with shiny.net. I can do it in foreground, but setting it up to send location data to a delegate is not working.
I am importing the relevant ...
0
votes
1
answer
1k
views
Coordinates from the expo-location are not accurate
I have a big problem with expo-location package accuracy.
Based on this example https://github.com/byCedric/office-marathon I was trying to write an app tracking my car's position during drive.
...
1
vote
1
answer
56
views
Kotlin errors whith GPS programming
I'm doing a tutorial and I'm working with Android Studio Giraffe. The project worked until I added GPS funtionality. When compiling, many errors appear that I cannot interpret. One of them is the one ...
1
vote
1
answer
92
views
How can I set sensitivity for my gps tracker?
Could you please help me? I have a task to make a GPS tracker that would pass GPS data to Firebase. But the key point is that the tracker should have the following sensitivity - 60 meters (10 for test ...
0
votes
1
answer
48
views
GPS-Tracking cant be stopped with LocationManagerAPI
I have written this composable function to track the users position.
@SuppressLint("MissingPermission")
@Composable
fun GpsTracking() {
val ctx = LocalContext.current
val ...
1
vote
3
answers
3k
views
NET MAUI how to check if GPS is enabled or force enable
I need the gps to be enabled while using the app.
Can I force the gps to be enabled, or can I check somehow is it enabled.
thnx
1
vote
0
answers
124
views
FusedLocationProviderClient doesn't work with PRIORITY_BALANCED_POWER_ACCURACY (no satellites), only with PRIORITY_HIGH_ACCURACY
Previously in my app I have been using PRIORITY_HIGH_ACCURACY for FusedLocationProviderClient:
private fun getLocationRequest(): LocationRequest =
LocationRequest.Builder(prefsManager....
0
votes
1
answer
71
views
Location is not returning anything for API below 23 (APIs 21 and 22)
My location service is working very well on APIs >=23 but it show nothing for APIs 21 and 22. This is my location method (Note that I am using fragment):
/*if (!Permissions) { //location permission ...
0
votes
1
answer
67
views
How can i push location data from LocationService to HomeViewModel?
I'm trying to push location data from LocationService to HomeViewModel. I was trying to use Dagger to inject this data, but the value is always null. I don't have any idea how to do it.
My ...
0
votes
1
answer
218
views
Why geolocator package return different decimal position(Latitude,Longtitude)?
My question is about the difference between decimal places when using ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION
what I know is that ACCESS_FINE_LOCATION is more precise than ...
2
votes
2
answers
364
views
Rotating Emulator Window while replaying Location Routes
ive noticed that the window of my Android Emulator will rotate while im replaying a route from the Emulator Menu.
The window rotation matches the bearing of the GPS signal.
Ive confirmed this is ...
0
votes
2
answers
1k
views
Android foreground service stops Requesting updates for locations after some days
I have an endless foreground service that request locations updates every 10 sec, in parallel, it sends this locations and others informations to a database.
I managed to update the location while the ...
2
votes
0
answers
445
views
Fetching location updates using Kotlin Flow
I am new to Kotlin Flow. Currently I am using LocationManager to get user Location updates like below:
private var locationManager: LocationManager? = null
locationManager = mContext?.getSystemService(...
0
votes
0
answers
22
views
GPS is receiving latitude and longitude although no connection should be available
my problem is that I receive on my Android mobile phone gps coordinates (lat & lng) although there must not be any connection - in the bathroom behind thick walls even calling someone does not ...
1
vote
0
answers
470
views
Android Location drift - analyze if user is moving or it is a simple GPS drift
So I'm using HIGH_ACCURACY to retrieve location data from my phone using FusedLocation solution. I'm already checking accuracy of this data and speed, but what I want to achieve is to understand if ...
1
vote
0
answers
359
views
Is there a way in Flutter, to detect whether my Application is added to the Power Saving Mode / Ultra Power Saving Mode in Android?
We are developing a GPS live tracking application for a company through Flutter.
We understand that even if added to run as a background service, Chinese Roms, kill the applications when added to the ...
0
votes
1
answer
874
views
Add gps localisation on android app, using Plyer Kivy Python
I have prepared a simple code to look for the available cars close to my localisation. It works with hardcoded values, but I can't get the localisation module from Plyer to work. Now that I added the ...
1
vote
0
answers
160
views
MapBox location.speed is always 0
I have the following problem.
I receive in my LocationChangeListeningCallback latitude and longitude but getting the speed is not possible. It is always 0.
Here is my code (I hope I have not omitted ...
0
votes
1
answer
529
views
Why some android devices receive the data from a 10 Hz Bluetooth GPS modul (NMEA) not every ~100ms but more like 200-300ms?
I'm developing an GPS Bluetooth App (NMEA parsing from a 10 Hz GPS modul) and I have the following problem:
Some devices/Android versions receive the bluetooth NMEA data not like every ~100ms (in a ...
0
votes
1
answer
934
views
ESP32 Connected to GPS module. No serial out unless holding down reset button
I'm new to Arduino and I'm having some trouble. I have a 16E TTL GPS module connected to the RX and TX pins on my NodeMCU ESP32 board and have a simple Arduino sketch i wrote to output the data to the ...
-1
votes
2
answers
141
views
Ionic : GPS is not detect sometimes
I have one issue on my app. I have used GPS for getting lat and lon some times when clicking function GPS not detected app. So it's need to restart application. After restarting application GPS ...
2
votes
0
answers
99
views
NETWORK_PROVIDER and GPS_PROVIDER both returning NULL on some GoEdition devices after Nov23 2022
This might help someone one day.
Background
Around Nov23rd2022 our team started receiving complaints from users, about our app that does attendance by ensuring that users can only work in designated ...
0
votes
1
answer
1k
views
Android Google Maps Offline - my location is not shown
I am trying to use Google Maps for Android, offline (always and forever).
Surprisingly, I can't find any question here that asks or solves this issue specifically.
When I use a new offline phone, both ...
1
vote
0
answers
56
views
An Idea for an app but I don't know if kivy capable of that
I have some problem and I'll list them here:
Emulator for iPhone and Android, how can I build an app for iPhone/Android using kivy but I have not emulators open source to see how my app works and ...
0
votes
0
answers
70
views
What is the ip or url used by android GPS sensor to detect location?
I'm creating android application on custom handheld device and I'm using vpn service secure connection to our servers, I have a problem that vpn server blocks all urls except one I specify and thus ...
0
votes
1
answer
377
views
get location coordinates without GPS
My question is can you get location coordinates latitude and longitude using WIFI or any other source when location is off or disabled. Basically I want to get current location when the GPS is not ...
0
votes
1
answer
312
views
DJI-SDK retrieve x,y Coordinates accurately. GPS is too inaccurate
I am trying to create an application with AR that will display objects hovering right on top of the drone to help the user flying experience (e.g. show an arrow or gimbals on your AR-goggles that ...
0
votes
1
answer
62
views
Need to get updated location/data from onLocationChanged
Just a warning: I'm really not proud of this code that I've written, but I just need it to work anyhow. Don't judge me too harshly.
Hey everyone, I'm programming a speedometer android app, and I'm ...
0
votes
1
answer
503
views
How to solve problem with gps permissions on Android versions 12?
GPS service is not enabled on Android versions 12 and above.
Everything worked correctly on earlier versions
I have read this documentation,
but I'm not sure if I have a problem with android:...