Do you have an example of doing this with Uno?
String url = "http://www.example.com";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
Do you have an example of doing this with Uno?
String url = "http://www.example.com";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
I think what you’re looking for is Fuse.Native.Launcher.LaunchUri(Uno.Net.Http.Uri uri)
. Or <Fuse.Native.LaunchUri />
if you’re doing this from UX.
This seems to work from JavaScript:
var launcher = require("FuseJS/Launcher");
[...]
launcher.uri("http://www.example.com");
Please note that these APIs are so new that they are undocumented (and might change). You might also have to update to get them.