It doesn't prints the address of the given lat and long on the emulator? Any Errors?
===

    

> The following code by i cant seem to display the toast message? Is there error with the code thanks.
> MyCurrentLocation is the activity name

    public class MyLocationListener implements LocationListener{
    		Geocoder gc = new Geocoder(MyCurrentLocation.this.getApplicationContext(), Locale.getDefault());
    		public void onLocationChanged(Location loc){
    			
    			try{
    				loc.getLatitude();
    				loc.getLongitude();
    			 List <Address> addr = gc.getFromLocation(loc.getLatitude(),loc.getLongitude(),1);
    			 String results = "";
    			 if (addr.size() > 0){
    				 results += addr.get(0).getCountryName();
    			 }
    			 Toast.makeText(getApplicationContext(),results,Toast.LENGTH_LONG).show();
    			}catch(Exception e){
    				
    			}