Android Question avoid showing url in webview

jlam

Member
Licensed User
Longtime User
HI All,

How can I avoid displaying the url in webview (after/during load)?
Thanks
 

jlam

Member
Licensed User
Longtime User
What I mean is that. After webview has loaded the url. A message is displayed such as "http://www.google.com". I would like that the webview not to display this message.
Hope it's clear.
Thanks
 
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
I don't recall the Web view showing the url. can you post a screen shot?
 
Upvote 0

jlam

Member
Licensed User
Longtime User
Hi,
Attached herewith two screen shot of my issue.
scr1.png is displayed before scr2.png. You will noticed that the 'http://www.google.com.au" message is displayed then the google site as per scr2.png.
I would prefer that the message not to be displayed.

Thanks
scr1.png
scr2.png
scr1.pngscr2.png
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I would say you have an ToastMessageShow(url,true) in the sub webview1_pagefinished??? Remove this line from this sub.

stop. I think the toast-command is where you call the url somewhere... i suppose it is in the sub where the webview1.loadurl(url) comand is....
 
Upvote 0

jlam

Member
Licensed User
Longtime User
I would say you have an ToastMessageShow(url,true) in the sub webview1_pagefinished??? Remove this line from this sub.

stop. I think the toast-command is where you call the url somewhere... i suppose it is in the sub where the webview1.loadurl(url) comand is....
 
Upvote 0

jlam

Member
Licensed User
Longtime User
Thanks DonManfred.
You are spot on. Copied some code from an example and did not pay enough attention. My bad.
 
Upvote 0
Top