ContentResolver resolver = getContentResolver(); InputStream inStream=resolver.openInputStream(Uri.parse("http://www.baidu.com")));