Use Intent to open links and apps in sketchware

1) On a sketchware project add a button.
2) In that button click event add a ADD SOURCE DIRECTLY BLOCK.
3) paste the below code:-

Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse("market://developer?id=<developer name>"));
startActivity(i);



4) Thank you. Enjoy app making...

Comments

Popular posts from this blog

How to make a website in 2019 with no investment.

Make a layout with rounded corners in sketchware

Add menu in actionbar in Sketchware