主要代码
HttpClient httpclient = new DefaultHttpClient();
HttpGet get = new HttpGet(url);
HttpResponse response = null;
get.addHeader("Referer", "http://www.xxxx.com/");