I am testing this on Android 12, and this definitely works, you will of course require 'INTERNET' permission in the manifest too, which you have probably done already:
jIntentManager1.SetAction('android.intent.action.VIEW');
jIntentManager1.SetMimeType('text/html');
jIntentManager1.SetDataUriAsString('https://www.reuters.com');
jIntentManager1.StartActivity();
I tried the above (thank you!) and what happens is that the web page opens within my app - embedded in my app's current view. What I want however is to open the web page externally, in the default web browser, not within my app.
Note:
1. I tried adding <quotes> and <intent-filter> tags to my manifest file, but I was not able to make it work - I'm probably doing it wrong.
2. If I call "if jIntentManager1.ResolveActivity then jIntentManager1.StartActivity() then nothing happens.
3. Could it be that I must do something in the manifest to ensure that ResolveActivity returns true? Something that complies with the new security requirements introduced with Android 11? And if not in the manifest, where?
4. It's ok if e.g. YouTube opens in some other way. I just want to open generic plain web pages in the default browser. I don't know which browser may be installed on the user's device. If I knew it, I guess I could call that. But then again, there must be a way to open generic web pages with the default browser...