Android Question [SOLVED] Trigger a Widget Update From Main

konradwalsh

Active Member
Licensed User
Longtime User
Hey
I have a project with a widget
For testing purposes, I put a refresh button on the widget

If I press the fresh button, it successfully calls
B4X:
rv.UpdateWidget

But if I try to use

B4X:
SPWidget.rv.UpdateWidget

from main it wont work and also gives an error:

(RuntimeException) java.lang.RuntimeException: RemoteViews should be set by calling ConfigureHomeWidget.

I am testing this in Release mode.

I have read all the threads and download samples to see how others have done this but I still can't get rid of this error
 

Similar Threads

Top