Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ModPE.goToURL = function(url) {
- var ctx = com.mojang.minecraftpe.MainActivity.currentMainActivity.get();
- var uri = android.net.Uri.parse(url);
- var intent = new android.content.Intent(android.content.Intent.ACTION_VIEW, uri);
- ctx.startActivity(intent);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement