Get URL Contnents In Intent Filter - SK PROJECT HIVE BLOG

Get URL Contnents In Intent Filter

 


Hi guys wellcome to SK PROJECT HIVE BLOG In this post i will share with you a awesome Sketchware project.

With this project you can get any url content easyly .also you can search data in firebase with url id it very easy to make but now i will give you jast intent filter codes and .swb project.


Here is the codes,

Code 1-

try{ 

Intent intent = getIntent(); Uri data = intent.getData(); 

url = data.toString();

Code 2-


Uri uri = Uri.parse(url);

String server = uri.getAuthority();

String path = uri.getPath();

String protocol = uri.getScheme();

String id = uri.getQueryParameter("id");

Code 3-


} catch (Exception e){

}

Download SW EDITOR

Download Project

Getting Info...

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.