public Intent setDataAndType (Uri data, String type)
path = path.substring(6);
try
{
path = URLEncoder.encode(path, "UTF-8");
}
catch (UnsupportedEncodingException e)
{
e.printStackTrace();
}
String url = httpReq + path;
Log.e("", "url: "+url);
Intent it = new Intent(Intent