public static String toGetUrl(String url,Bundle params){
  if (params != null) {
    if (!url.endsWith("?")) {
      url=url + "?";
    }
    for (    String key : params.keySet()) {
      url=url + key + "="+ params.getString(key)+ "&";
    }
  }
  return url;
}

public static String toGetUrl ( String url , Bundle params ) { if ( params != null ) { if ( ! url . endsWith ( "?" ) ) { url = url + "?" ; } for ( String key : params . keySet ( ) ) { url = url + key + "=" + params . getString ( key ) + "&" ; } } return url ; }
returns get url with appended parameters .
