Android Question Location: Getting country name

Discussion in 'Android Questions' started by trueboss323, Mar 13, 2015.

  1. trueboss323

    trueboss323 Active Member Licensed User

    Hello, is there a simple way to get the country name using the device's location? For example
    Msgbox("You are in " & countryname &,"")
    Last edited: Mar 13, 2015
  2. mark35at

    mark35at Well-Known Member Licensed User

    You could use the lon and lat coordinates (obtained from GPS, wifi or 3G) and the reverse geocode them with google.


    will return the json below which you will need to parse.
    or you could use the library from Warwound
    DonManfred likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice