Google Place Selector does not launch on Android phones Mi

I am facing a problem with Google Place Picker in Android Redmi Phones version 5.1.1. I am using the following code for launching the Google Place Picker. try { PlacePicker.IntentBuilder builder = new PlacePicker.IntentBuilder(); startActivityForResu

Change the fuse location setting during service execution

Hi I am integrating location service in my application. And for that I am using Google's fuse location service. My implementation is as follows : public class LocationNotifyService extends Service implements LocationListener, GoogleApiClient.Connecti

Android will not stop the intention of GPS

I want to ask for the GPS location, even when the app is in the background. Therefore I used a PendingIntent as follows: final Intent intent = new Intent(this, LocationReceiver.class); mLocationIntent = PendingIntent.getBroadcast(getApplicationContex

Invalid value for marker text passed to custom view

I am developing an android application which displays a map. When it loads, it displays some addresses and sets markers for them. When I click on any marker it should display a value in a custom view. But the custom text which is received from a json

Android How to getLat () and get Long ()

Im trying to mail a user my long and lat and im getting nullPointerException: Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference I guess that the method getLastKnownLocation() returns null bec

Warn me when the user is in my position in Android

I am looking for an easy way to check if a user is at my location (50m) radius if notify me. Right now I have a service running every two minutes getting position of each user comparing it and then notifying if user in same location. Can this be done

Android gets the user's position after rebooting the device

In my app I'm trying to find the position from the device. My Code work's great: boolean isGPSEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER); boolean isNetworkEnabled = locationManager.isProviderEnabled(LocationManager.NETW

Android: stop the service

I am trying a demo in which on start button i start a service. This service run in background fetch GPS location and send it to server. The code is as follow: Main Activity public class MainActivity extends Activity implements OnClickListener { @Over

Do I have to register my request for location services?

Do i have to register my application to Google's console for using location services or can i still use that service without registering while testing my application on AVD or my phone?You need not to register anywhere for using location services. Re

using asyncTask to update LocationListener

im already looking for the aswer in this forum but none working, im creating an android apps and im trying to get coordinate update from locationlistener in asyncTask (my asyncTask job only to update the latitute and longitude) while the main thread

find the location of any place through the text in android

i am new to android development .i want to develop an application in which location of my phone should displayed through text. (not via. latitude & longitude or via map view). i mean it should display location in words ...... like ...[your location:

My Android app does not exist when I press the Back button

I have an application where I check if User has GPS and Wireless Location enabled on device or not.If it's not enable then I startActivity to enable them .My code for this is: if (!locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER) || !l

Determine the speed of a vehicle using GPS in Android

I would like to know how to get the speed of a vehicle using your phone while seated in the vehicle using gps. I have read that the accelerometer is not very accurate. Another thing is; will GPS be accessible while seated in a vehicle. Won't it have

to obtain service location data?

I try to make a locationing service but somehow i cant make it work. Lat and Lng are always NULL. I had some exceptions on locManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locListener); so i put it inside a run() method, now

Background service with localization headset in android

I am creating a background service that will run in its own process. It should allow me to listen if the device location has changed. I should be able to change criteria like the distance moved before notifying the UI. How can I do the same? I have a

Android simulator gps provider

My code snippet is: mLocationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); if(mLocationManager.getProvider(LocationManager.GPS_PROVIDER) != null) { mLocationManager.removeTestProvider(LocationManager.GPS_PROVIDER); } mLocati