Android get current City, State, Country name

Shubham Mahalkar
1 min readApr 20, 2020

--

  1. Add required location permissions in your manifest file

2. Add this code in your activity_main.xml file

3. And here is our MainActivity.java

4. Now run your application in real device and enable GPS

5. Output

Happy Coding :)

--

--