Android Question Can I use a webview in a widget w/auto-refresh?

JohnC

Expert
Licensed User
Longtime User
I normally would just test this out myself, but it seems that my version of B4A (9.01) does not work with the available widget example code.

I am hesitant to update B4A and deal with all the "gotchas" of doing such, only to find out what I can't use webview in a widget.

I might be willing to go through all that hassle if I know for sure I can use webview in a widget.

So, does anyone know if I can use a webview in a widget and have it "refresh" every minute or so?
 

DonManfred

Expert
Licensed User
Longtime User
I don´t think you can use a webview in Widgets.
I remember that Widgets are limited to a few views available.

But honestly i used Widgets the last time in 2016/17 or so.

From the WIDGET-Tutorial:
Widgets do not support all views types. The following views are supported:
- Button (default drawable)
- Label (ColorDrawable or GradientDrawable)
- Panel (ColorDrawable or GradientDrawable)
- ImageView
- ProgressBar (both modes)
 
Upvote 0
Top