Scotter Active Member Licensed User Mar 22, 2016 #1 Hi - I've created an Android app using B4A that merely opens the default browser to a specfic URL. I need to create the same app for iPhone using B4i. I'm on a Windows 8.1 PC and purchased the Hosted Mac Builder. Is there anything I need to do differently if all I did for the B4A app was this: Sub Activity_Create(FirstTime As Boolean) Dim p As PhoneIntents StartActivity(p.OpenBrowser("https://www.url.com")) Activity.finish End Sub Oh and regarding the "Libraries Manager" on the right. Do I need to check any of those libraries other than the default checked "iCore (version 2.52)"? Thanks for any help you can give! Last edited: Mar 22, 2016
Hi - I've created an Android app using B4A that merely opens the default browser to a specfic URL. I need to create the same app for iPhone using B4i. I'm on a Windows 8.1 PC and purchased the Hosted Mac Builder. Is there anything I need to do differently if all I did for the B4A app was this: Sub Activity_Create(FirstTime As Boolean) Dim p As PhoneIntents StartActivity(p.OpenBrowser("https://www.url.com")) Activity.finish End Sub Oh and regarding the "Libraries Manager" on the right. Do I need to check any of those libraries other than the default checked "iCore (version 2.52)"? Thanks for any help you can give!
JanPRO Well-Known Member Licensed User Longtime User Mar 22, 2016 #2 Hi, it's very simple: Code: Copy App.OpenURL("https://b4x.com/android/forum/threads/simple-app-to-open-browser.64960/") You don't need a extra library for it. Jan Last edited: Mar 22, 2016 Upvote 0
Hi, it's very simple: Code: Copy App.OpenURL("https://b4x.com/android/forum/threads/simple-app-to-open-browser.64960/") You don't need a extra library for it. Jan
Scotter Active Member Licensed User Mar 22, 2016 #3 JanPRO said: Hi, it's very simple: Code: Copy App.OpenURL("https://b4x.com/android/forum/threads/simple-app-to-open-browser.64960/") You don't need a extra library for it. Jan Click to expand... Thank you! In which sub do I place that code? In "Private Sub Application_Start (Nav As NavigationController)"? Upvote 0
JanPRO said: Hi, it's very simple: Code: Copy App.OpenURL("https://b4x.com/android/forum/threads/simple-app-to-open-browser.64960/") You don't need a extra library for it. Jan Click to expand... Thank you! In which sub do I place that code? In "Private Sub Application_Start (Nav As NavigationController)"?
S sorex Expert Licensed User Longtime User Aug 9, 2016 #5 @JanPRO , thanks for the hint. but how do you get back to the app without going to the home screen first via the home button? I don't see any return to app link Upvote 0
@JanPRO , thanks for the hint. but how do you get back to the app without going to the home screen first via the home button? I don't see any return to app link
Erel B4X founder Staff member Licensed User Longtime User Aug 10, 2016 #6 There will be a link in iOS 9+ in the top left corner. Upvote 0