Android Question How to Remove a Webview from Screen

Bradley James Marks

Member
Licensed User
Longtime User
All,

I have just started to experiment with viewing webpages via Basic4Android.


I have a small test application that has a button to open up a URL.


This works nicely with the code as shown here.


‘~~~~~~~~~~~~~~~~~


Dim WWW AsWebView


WWW.Initialize("")


Activity.AddView(WWW,0,180,75%x,50%y)


WWW.LoadUrl("http://webpages.ABC.net/AndroidTest.html")


‘~~~~~~~~~~~~~~~~~

I would now like to use another button to clear the WebView from the screen.

I can’t seem to figure out how to do this.

Thanks,

Brad
 
Top