Android Question KeyValueStore in Home Screen Widget

Erel

B4X founder
Staff member
Licensed User
Longtime User
B4X:
Sub Process_Globals
    Public kvs As KeyValueStore
End Sub

'Called when an intent is received. 
'Do not assume that anything else, including the starter service, has run before this method.
Private Sub Receiver_Receive (FirstTime As Boolean, StartingIntent As Intent)
    If kvs.IsInitialized = False Then
        kvs.Initialize(...)
    End If
End Sub
 
Upvote 2
Top