B4A Question Very strange Error while using PhoneIntents.OpenBrowser(...) (drawer) - Mike1970 (first post)    Jan 29, 2021 the value stored in cd.Link is visible in the logs, first line in black, it is the result of the “Log” in the “ItemClick” sub
however I tried also without the /, no difference.
and it shouldn’t make any difference. B4A Question Email Function - Based on Erels OAuth Mechanism fails in bigger app - DaOel (first post)    Dec 27, 2023 This link is used here: #if B4A Dim pi As PhoneIntents StartActivity(pi.OpenBrowser(link)) I am very uncertain what the problem might be. As one project works and the other is not I think a good approach would be to somehow extend the small project until it is similiar to the big project. B4A Question OpenBrowser - Samsung - DonManfred (first post)    Jan 04, 2017   (1 reaction) Cast the Object to a string first
Try
Sub ListView1_ItemClick (Position As Int, Value As Object)
dim url as string = value
Dim pi As PhoneIntents
Log("Value: " & url) '= http://www.gazzetta.it/Calcio/Serie-A/Inter/04-01-2017/joao-mario-punta-champions-ancora-possibile-credo-nell-inter- B4A Question how can I switch & display between two open app. - DonManfred (first post)    Jul 04, 2018   (2 reactions) You can use PhoneIntents to open the browser and navigate to a url. Dim p As PhoneIntents StartActivity(p.OpenBrowser("http://www.b4x.com")) I don´t know a way to programatically switch back. B4A Question Button Click Not Opening in Browser - Erel (first post)    Mar 13, 2019   (1 reaction) See the inline help. Also available here: https://www.b4x.com/android/help/phone.html#phoneintents_openbrowser B4A Question PhoneIntents Error (intent://...) - drgottjr (first post)    Jul 17, 2021 i can't tell you for sure how to solve your problem, but i think i can make
some suggestions as to why you have a problem.
first, webview basically has nothing to do with the crash. i'm responding
only because i enjoy every time someone blames webview for something.
it appears that you understand B4A Question Display an HTML Page on a Website - Intelemarketing    Oct 06, 2020 I have found this which opens a website (Phone Library Required) - No Problems Dim p As PhoneIntents StartActivity(p.OpenBrowser("http://www.b4x.com")) What I would like to do seems so simple, but does not work - I want to display MyPage.html which is on my website The code below just t B4A Question How to catch ActivityNotFoundException ? - Erel (first post)    Jan 03, 2023   (1 reaction) Try
StartActivity(p.OpenBrowser(...))
Catch
ToastMessageShow("The app is not installed on your phone!",False)
End Try B4A Question How to open a link using default app - mscientist33    Oct 09, 2021   (1 reaction) I need to open a URL link using a button with the phones default app for web browsing. Is this possible?
"edit"
Figured it out. Using:
Dim ph As PhoneIntents
Dim i As Intent
i = ph.OpenBrowser(URL)
StartActivity(i)
If this isn't the best way, please let me know. B4A Question link in b4a?? - lemonisdead (first post)    Sep 16, 2018   (2 reactions) 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#phon Page: 1   2   3   4   5   6   7   Powered by ColBERT |