Android Question StartAtBoot - B4XPages

Nicolás Cieri

Active Member
Licensed User
Hello, I want to be able to run the code of my B4X Page, when my service starts after restarting the phone.
Maybe something like ...

B4X:
Sub Service_Create
Dim p As B4XMainPage = B4XPages.GetPage("MainPage")
    If p.IsInitialized=False Then
        Dim pm As B4XPagesManager
     ...
    End If
End Sub

Some idea?

Thanks.
 
Top