public static void showAddressOnMap(Context mContext,String address){
  address=address.replace(' ','+');
  Intent geoIntent=new Intent(Intent.ACTION_VIEW,Uri.parse("geo:0,0?q=" + address));
  mContext.startActivity(geoIntent);
}

public static void showAddressOnMap ( Context mContext , String address ) { address = address . replace ( ' ' , '+' ) ; Intent geoIntent = new Intent ( Intent . ACTION_VIEW , Uri . parse ( "geo:0,0?q=" + address ) ) ; mContext . startActivity ( geoIntent ) ; }
use to show address location pin on map .
