Android Question html page navigator

asap74

Member
Licensed User
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.
 

asap74

Member
Licensed User
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:
Upvote 0

asap74

Member
Licensed User
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

toby

Well-Known Member
Licensed User
Longtime User
B4X:
'change title
B4xpages.SetTitle(me, "new title")

'or remove it
B4xpages.SetTitle(me, "")
 
Upvote 0

asap74

Member
Licensed User
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
Top