Android Question link in b4a??

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,
Please could you explain what you mean about a "link" ? Does what you need a link like in HTML ? Or perhaps something else ? If this is the case, where should the link be available ?
B4A creates real apps not HTML ones, reason why I do ask more information. Many thanks
 
Upvote 0

lemonisdead

Well-Known Member
Licensed User
Longtime User
Please, don't be sorry, you're new to that as we all were :)
So, if you want to open the browser to a specific URL from a View inside an Activity, you should use an Intent.
Some "already available" intents can be used directly from the Phone library : https://www.b4x.com/android/help/phone.html#phoneintents

The basic example is
B4X:
StartActivity (PhoneIntents.OpenBrowser("http://www.google.com"))

So it should be called from the Click's event of the View you want to react
 
Upvote 0

Similar Threads

Top