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...
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
Post a Comment