Android current location

add code to gradle file

add permission in manifest

create button for fetching location. create three textview which shows latitude,longitude,address

interface image

xml code

final code

output

Last updated