Eine App ohne Activity ist ein Service und Service Module können zumindest eine ToastMessage absetzen.
Du musst also beim Autostart einen Service starten.
Ich habe mal eben einen minimalistischen Service getestet:
B4X:
Sub Process_Globals'These global variables will be declared once when the application starts.'These variables can be accessed from all modules.EndSub
Sub Service_Create
ToastMessageShow("Das Programm wird sofort wieder beendet!", True)
EndSub
Sub Service_Start(StartingIntent As Intent)
EndSub
Sub Service_DestroyEndSub
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.