I would like to log application errors to SQLite from this Starter code:
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
End Sub
All my SQLite related code is in my B4XMainPage, but I understand that that is not accessible from the Starter service.
In fact...
On multi pages app example Multi page B4XPages example there is only four modules, Main, B4XMainPage + Page2 + Page3 class module
Where is Starter service?
I thought the Starter module was indispensable, the entry point of the program, wasn't it?
In the example above, having to receive push...
Note: I'm playing around with #Extend to extend a B4A service directly with Android's AccessibilityService abstract class. Initially when the application is installed via the IDE, everything seems to work, and the inline Java routine onAccessibilityEvent calls the B4A's svc_accessibility...
Hi, everyone,
Starting a new project, introducing a database function in the Starter module, it's the first time I have the problem below.
At this lines
Sub Service_Start (StartingIntent As Intent)
Service.StopAutomaticForeground 'Starter service can start in the foreground state in some...
Hi Guys
Up to this point in B4A, I have always used the classic CallSubDelayed()/CallSub() as appropriate to call subs in Activities or Services. However, by mistake I called a sub (defined within a class) in the Starter service using the classic OOPs format Starter.objectName.subName - and it...
I know that we're supposed to place important vars in Starter so they are always around. But I have to ask why we can't place them in a code module instead? That's always around also, right? Or do vars in code modules get purged now and then by the OS? Or are there other problems?
(Why a code...
Hello all, i've been noticing this problem for a very long time, i have read all the threads that talk about Services, I stopped working on an app almost a year ago because i could not figure out why my Services were being killed and not re-started.
Basically i was working on an Email Client...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.