I have an android game that uses LibGDX. In it, I have some buttons for opening URLs in the browser via:
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://myURL/"));
startActivity(intent);
And that seems to work fine...
The problem is that I'm trying to port the game to run on iOS with RoboVM and can't figure out how to setup something similar.
With the RoboVM bindings, I assumed I'd probably want to be using the openURL() method:
openURL (UIApplication application, NSURL url, String sourceApplication, NSObject annotation)
But besides the NSURL, I don't know what I need to be passing for other 3 parameters. And couldn't find any examples online on how to use it.