Randel Fordberg Randel Fordberg - 5 months ago 38
Android Question

How can I open a web page in App Inventor

I have a webviewer which is the main application andbelow the webviewer is a button. I would like to open a web page in the user's web browser when the button it clicked. How can I do this in App Inventor?

Action: android.intent.action.VIEW
DataUri: http://example.com

The above as instructed in the documentation isn't working.


Add ActivityStarter to the screen and configure its properties:


Leave the other properties empty.

enter image description here

On the same screen, configure the event handler of the button to call the activityStarter1.StartActivity:

enter image description here

By pressing the button, the web browser is opened with the page http://example.com

enter image description here