Intent filter URL Get content

On create


try{ 
Intent intent = getIntent(); Uri data = intent.getData(); 
url = data.toString();

//pass url string to another activity if needed

 } catch (Exception e){
}

Parse URL content


Uri uri = Uri.parse(url);
String server = uri.getAuthority();
String path = uri.getPath();
String protocol = uri.getScheme();
String id = uri.getQueryParameter("id");
Download SW Editor Download SW Editor