I installed PlaceAutocomplete in my application and get latitude and longitude from it . Everything works perfectly.

An example of a screen as I want to add a button to auto-locate. search with gps button

 Intent intent = new PlaceAutocomplete.IntentBuilder(PlaceAutocomplete.MODE_OVERLAY).build(this); startActivityForResult(intent, AUTOCOMPLETE_REQUEST); 

Now I would like to add a button that automatically locates how to do this?

  • But is it not shown on the picture? center right - iFr0z 2:19 pm
  • @ iFr0z the fact that the screenshot is an example, and that on the githaba project from this screen is just a search engine, I just need Google to receive data from lat and lon - Jack
  • I just do not understand why in the question of PlaceAutocomplete , if you need a completely different functionality, and that's why nothing is indicated on it. What is the actual problem? - iFr0z
  • @ iFr0z in question is it, since at the moment I have only found a method through it to get a list of cities when I enter and then parsit the coordinates from it, but if there is another method, I will be happy - Jack

0