android-gps Questions

3

I have a rooted phone Samsung N7100 (kitkat 4.4.2). After 6 April 2019 I started getting locations with date of 1999 year. Sometimes locations come with a date of 2019, but after that the device s...
Failure asked 15/5, 2019 at 10:52

2

My LocationRequest is set to PRIORITY_HIGH_ACCURACY. But in xiaomi redmi note 5 device if i press the ok button in the location settings dialog it always returns 0 through onActivityResult() method...
Conciliatory asked 5/4, 2019 at 6:24

7

Solved

I made an app that have a request for camera and GPS, but when I execute I am getting this warning several times with less than 1 second of each other. W/Activity: Can reqeust only one set of pe...

5

I want to get my current location in the form of an address by GPS. I am using the android studio. It is saying that my application stops working. What is the error in it? Can someone help me ...
Obrian asked 10/9, 2019 at 3:5

5

I'm new on Android programming, I try to use the new Location Service for getting the user position, to do this i follow the official android developer guide but I don't understand why I'm not able...

2

Solved

I just tried updating the target and compile API level of our app to 29 (Android 10) and noticed that I cannot compile any more because LocationManager.addNmeaListener only accepts OnNmeaMessageLis...

5

private void turnGPSOn(){ String provider = Settings.Secure.getString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED); if(!provider.contains("gps")){ //if gps is disabled final ...
Kekkonen asked 20/4, 2017 at 11:39

0

I have an application where I set current location (using Google Maps). Every time I open Google Maps inside the application in Android Studio emulator, it sets location to Googleplex, Mountain Vie...
Haddington asked 14/10, 2020 at 13:18

0

The Problem I am working on the application which is listening for NMEA messages, to do so I am adding NMEA listener like this locationManager.requestLocationUpdates( LocationManager.GPS_PROVIDER,...

6

Solved

Due to GDPR, I am requiring to check the user's location - whether the user is from the European Union. Till now I have found these solutions - Get Country using the Phone's language configuration...
Thiamine asked 9/5, 2018 at 12:25

1

I am a beginner in android and I am not able to understand why I am getting error. When I am clicking on the home button(Bottom Navigation bar) then I am getting this error. I am using shared prefe...
Immaterial asked 9/4, 2020 at 16:30

3

Solved

I'm trying to get location updates in my android app when in doze mode, this used to work up to android 5.x. With android 6 and the advent of doze, no matter what I do, the updates stop at some poi...
Saffron asked 16/9, 2017 at 13:36

2

Solved

I am developing an application that I want to learn about the count of gps satellites. I am using the "onSatelliteStatusChanged" method for this, but it does not work. The piece of code that I use ...

2

In getting current location flow, I am using SettingsClient to check if location settings are satisfied based on current LocationRequest. Currently, my priority is set to HIGH_ACCURACY, which needs...
Joeannjoed asked 6/4, 2019 at 15:16

2

Solved

Below is my code, I am getting null subLocality always .... Geocoder geocoder = new Geocoder(this, Locale.getDefault()); List<Address> addresses = geocoder.getFromLocation(latitude,longitude...
Piacular asked 8/5, 2019 at 11:4

3

Solved

I want to detect if the user turned off the location at runtime. I can check if he turns it on or if the location was turned off by user before the app was started but I can't check if he turned it...

8

Solved

Is it possible to get the current location of user without using GPS or the internet? I mean with the help of mobile network provider.
Jodee asked 14/7, 2011 at 14:1

6

I have installed a fake location app and set my location different. Then opened Google Maps and Wechat app, Google Maps shows my location as what i set(fake) Wechat app ignores fake location and...
Figurant asked 11/5, 2016 at 23:48

3

Solved

In my program, it is needed to receive user latitude and longitude as soon as GPS is Enabled... I'm using onGpsStatusChanged to constantly check GPS Status and the checking works... The only proble...
Mudcat asked 16/10, 2016 at 6:24

1

Solved

I'm experiencing a strange problem where the FusedLocationProviderAPI does not give me a better Accuracy number then 10.0 meters. It starts like normal giving me a high number of, for example, 56 ...
Chaussure asked 1/3, 2018 at 7:34

1

I'm trying to show the Google Location Services (turn on GPS, network data, etc.) Dialog through lock screen. I'm using KeyguardManager to disable Lock screen. This works fine as my MainActivity i...

1

I am trying to test an Google Map based Android app using RoboScript on Firebase TestLab. By default location is disabled on TestLab devices. To enable them we need to simulate a click on OK button...
Julian asked 6/12, 2017 at 11:16

1

Due to the way our app works, I need to synchronously get the users current location. Our current implementation uses the com.google.android.gms.location.LocationListener to receive location update...
Sodden asked 24/10, 2016 at 13:43

1

Solved

I want to get the value of Longitude and Latitude of my current locatoin when offline and save the current location to its database. Is it possible to get the longitude and latitude of the device w...
Ingest asked 24/10, 2017 at 8:48

3

There may be similar questions regarding this topic,But I need your thoughts and suggestions on some specific requirement. Here is my need - We are developing one app which tracks User's trip. Th...

© 2022 - 2024 — McMap. All rights reserved.