configuration of a Widget

Penguin

Member
Licensed User
Longtime User
If I try to Run my App the following message appears: c

Compiling code. Error
Error compiling program.
Error description: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.
Occurred on line: 6
rv = ConfigureHomeWidget ("WID", "rv", 0, "MyAppname",True)
Word: )

This is the Code of line 6:

B4X:
Sub Process_Globals
    Dim rv As RemoteViews
   
End Sub
Sub Service_Create
    rv = ConfigureHomeWidget ("WID", "rv", 0, "My Appname",True)
End Sub
 

Amalkotey

Active Member
Licensed User
Longtime User
Syntax:

B4X:
   rv.SetInfo("ScreenOn", "Enable display shutdown!", Main)

-Amalkotey-
 
Upvote 0
Top