suppoose I have my current location which is changeable and I dont know the hard code value of the latitude and longitude. now I have a string from where I want to get the Address object from that string using getFromLocationName() method, I have used this code:
address = coder.getFromLocationName(strAddress, maxNum);
but this returns list of address from allover the globe, but I want the results near to my locations come first, and then rest of the world, how do I sort it? I have found another method like this:
getFromLocationName (String locationName, int maxResults, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude);
but I dont know what to put in these latitude longitude parameters to fulfill my wish. Anyone?