Skip to main content

All Questions

Tagged with
0 votes
1 answer
76 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. ...
Ravid Ofek's user avatar
0 votes
0 answers
35 views

Loss GPS EXIF Data for upload image via android app (WebChromeClient)

So, we build some android app (Android 10+) for website. And we have function to create item profile that base on GPS data of EXIF Image of during uploading image. On our app we use WebChromeClient ...
zwb8's user avatar
  • 11
0 votes
0 answers
95 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 = (...
Stevie's user avatar
  • 463
1 vote
2 answers
145 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 ...
player45899's user avatar
0 votes
1 answer
59 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 ...
user21193451's user avatar
0 votes
1 answer
56 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 ...
MUSTANGBOSS8055's user avatar
2 votes
1 answer
999 views

Issues with Plyers GPS module on Android 12 device

I've been having issues with Plyers GPS module, and cannot fix them. I've already tried advices from this Github thread - https://github.com/kivy/plyer/issues/657. I've tried modifying gps.py with ...
Chorche Wolloh's user avatar
2 votes
1 answer
572 views

FusedLocationProviderClient crash with java.lang.NullPointerException: parameter location specified as non-null is null

I'm using FusedLocationProviderClient in my app and it works fine to get user current location but suddenly I got this crash java.lang.NullPointerException: Parameter specified as non-null is null: ...
Amin's user avatar
  • 513
5 votes
2 answers
389 views

How to calculate angle beetween current direction and GPS point

I have 2 points (Android Location objects): current location and target location. Also I have a direction (in degrees) of my device. I wanna calculate an angle between target location and direction. ...
Vladislav's user avatar
  • 192
1 vote
1 answer
966 views

Location coming up as null in Android

I have this method that I am calling in the onCreate() and onResume() methods in my MainActivity. Basically, I'm using it so I can get the city name of my current location and set it to a string so I ...
Avishka Senanayake's user avatar
1 vote
1 answer
433 views

GPS status in android studio - API level 29

I'm writing an android app with android studio in java targetting API 29 devices. I've written a GPSReceiver (which extends BroadcastReceiver) and I need to know if GPS status has changed (i.e. add a ...
Delfina Martin's user avatar
2 votes
0 answers
73 views

Android - launch event on wifi detected or "location changed"

To my knowledge android (studio) currently only supports wifi detection and GPS detection with a timer that runs, for example, once a minute and checks the location and currently available wifi ...
Nuubles's user avatar
  • 197
-1 votes
1 answer
190 views

Android Java NullPointerException when trying to see if GPS is enabled [duplicate]

I'm a noob to Android (and not too hot on Java either). I am trying to make sure GPS & internet are enabled before launching the map activity in my app. I'm getting a null pointer exception when ...
fgadev's user avatar
  • 21
0 votes
1 answer
178 views

How to save location data in array in service and send that array to activity/fragment? [Android/Java]

I'm creating an Android program with Java and I need to get location every 5s (and I already did it using LocationServices and FusedLocationProviderClient). Everything works fine -> I mean logs are ...
user9376790's user avatar
0 votes
0 answers
697 views

FusedLocationProviderClient returns wrong latitude and longitude

Following the examples from google developers site, I use FusedLocationProviderClient to get de last known location. private FusedLocationProviderClient fusedLocationClient; // .. @Override ...
briast's user avatar
  • 317

15 30 50 per page
1
2 3 4 5
8