-
fechoxLikes 0Problem Description
Hello,
What would be the best solution to open an URL by clicking a button using cocos2d-js for Android?
I tried this: http://discuss.cocos2d-x.org/t/how-we-can-open-a-link-click-on-a-button-in-cocos2d-x-javascirt/15375
but I got a compilation error: Error running command, return code: 1
Thanks
-
Sonar Systems adminLikes 0
Have you added the Java code.
This reply has been verified.
-
fechoxLikes 0
Yep I had added the java code but it didn’t work, but I’ve worked it out using cc.sys.OpenURL.
Thanks anyway for looking at it :)
This reply has been verified.
-
Sonar Systems adminLikes 0
Great to hear :D
This reply has been verified.
Login to reply