A asap74 Member Licensed User Oct 18, 2022 #1 hi you all, what is the best mode to navigate to a website url? i mean, i need to open a website inside my app. thank you.
hi you all, what is the best mode to navigate to a website url? i mean, i need to open a website inside my app. thank you.
Erel B4X founder Staff member Licensed User Longtime User Oct 18, 2022 #2 You are looking for a view named WebView. Upvote 0
A asap74 Member Licensed User Oct 18, 2022 #3 yeah, maybe i need this! i tryied: 'This event will be called once, before the page becomes visible. Private Sub B4XPage_Created (Root1 As B4XView) Root = Root1 Root.LoadLayout("MainPage") WebView1.LoadUrl("http:\\www.xxx.net") End Sub when launched i obtain this in my apk: page not found net::ERR_CLEARTEXT_NOT_PERMITTED thank u! Last edited: Oct 18, 2022 Upvote 0
yeah, maybe i need this! i tryied: 'This event will be called once, before the page becomes visible. Private Sub B4XPage_Created (Root1 As B4XView) Root = Root1 Root.LoadLayout("MainPage") WebView1.LoadUrl("http:\\www.xxx.net") End Sub when launched i obtain this in my apk: page not found net::ERR_CLEARTEXT_NOT_PERMITTED thank u!
A asap74 Member Licensed User Oct 18, 2022 #4 i found in another topic! CreateResourceFromFile(Macro, Core.NetworkClearText) in the manifest thanx Upvote 0
A asap74 Member Licensed User Oct 19, 2022 #5 is it possible in a webview to remove the title "main Page"? I ve not found a property to change or remove It. Thank you. Upvote 0
is it possible in a webview to remove the title "main Page"? I ve not found a property to change or remove It. Thank you.
toby Well-Known Member Licensed User Longtime User Oct 19, 2022 #6 B4X: Copy 'change title B4xpages.SetTitle(me, "new title") 'or remove it B4xpages.SetTitle(me, "") Upvote 0
A asap74 Member Licensed User Oct 20, 2022 #7 Hi you all, i ve this title the i m not able to Hide: Someone can help ? Thank you Upvote 0
toby Well-Known Member Licensed User Longtime User Oct 20, 2022 #8 At top of main B4X: Copy #IncludeTitle: False Upvote 0
M Mahares Expert Licensed User Longtime User Oct 20, 2022 #10 asap74 said: It Is showed anyway. Click to expand... You need to show your code and where you put the code. Your explanations as such are not clear. You also need to explain it a little bit more in detail Upvote 0
asap74 said: It Is showed anyway. Click to expand... You need to show your code and where you put the code. Your explanations as such are not clear. You also need to explain it a little bit more in detail
A asap74 Member Licensed User Oct 20, 2022 #11 ok, i'm sorry. now i've got it: #Region Project Attributes #ApplicationLabel: Genis #VersionCode: 1 #VersionName: 'SupportedOrientations possible values: unspecified, landscape or portrait. #SupportedOrientations: unspecified #CanInstallToExternalStorage: False #IncludeTitle: False #End Region #Region Activity Attributes #FullScreen: False #IncludeTitle: False #End Region the second includetitle was hidden. now it's ok. thank you very much Upvote 0
ok, i'm sorry. now i've got it: #Region Project Attributes #ApplicationLabel: Genis #VersionCode: 1 #VersionName: 'SupportedOrientations possible values: unspecified, landscape or portrait. #SupportedOrientations: unspecified #CanInstallToExternalStorage: False #IncludeTitle: False #End Region #Region Activity Attributes #FullScreen: False #IncludeTitle: False #End Region the second includetitle was hidden. now it's ok. thank you very much