Ya can do it like this.
Add a webview to your design, lets call it WebView1
make a file initially called whatever, banner1.txt in the Files folder of your project open it in notepad and write:
<html><body><img src="myanimatedgif.gif" /></body></html>
Save it, change its name to banner1.html
Copy your myanimatedgif.gif file into your files folder and remember to add them both to your project so that they don't accidentally get deleted.
In your Main code you put in the Sub Globals
Dim WebView1 As WebView
you don't need to .initialize it, that's done in the designer
then in your Activity_Create sub you put:
WebView1.LoadURL("file:///android_asset/banner1.html")
And thur ya have it! an animated gif in your app.
added: oh, oops, one more thing, in the designer, click on WebView1 and turn ZoomEnabled to False (or else you get some nasty resizing arrow buttons)
Add a webview to your design, lets call it WebView1
make a file initially called whatever, banner1.txt in the Files folder of your project open it in notepad and write:
<html><body><img src="myanimatedgif.gif" /></body></html>
Save it, change its name to banner1.html
Copy your myanimatedgif.gif file into your files folder and remember to add them both to your project so that they don't accidentally get deleted.
In your Main code you put in the Sub Globals
Dim WebView1 As WebView
you don't need to .initialize it, that's done in the designer
then in your Activity_Create sub you put:
WebView1.LoadURL("file:///android_asset/banner1.html")
And thur ya have it! an animated gif in your app.
added: oh, oops, one more thing, in the designer, click on WebView1 and turn ZoomEnabled to False (or else you get some nasty resizing arrow buttons)
Last edited: