I want to add a button by which the user can click and go to chrome or any other browser link

I want to add a button by which the user can click and go to chrome or any other browser link please, help me doing this activity please

You can either use the Activity starter:
https://appinventor.mit.edu/explore/ai2/activity-starter.html
Or use the ChromeCustomTabs to open your URL directly in Google Chrome :
https://docs.kodular.io/components/experimental/custom-tabs/

1 Like

I didnt understand pal please can u tell me clearly because I am still a starter

https://puravidaapps.com/tools.php

Better you can visit and learn the basics of using activity starter.

images

You can try with this blocks. Let me know , It works or not

2 Likes

Regarding the activity starter solution, you can set the Activity Starter properties according to the guide above:


Then call the Start Activity block. Your URL would be opened in the phone default browser, or show a list of the apps that supports your link to view it…
With the ChromeCustomTabs solution, you would just have to set the URL property to your URL :point_down:

Then use the Open Custom Tab block, to open your URL in a new chrome custom tab :point_down:

The chrome custom tabs component can be found in the experimental category, make sure to enable the Experimental components and properties setting so you can view it :slightly_smiling_face: See also here:

4 Likes

Yahoo i got it thank you buddy

1 Like

Remember to mark the solution