Android Question Non-UI Android app and work without display

EvgenyB4A

Active Member
Licensed User
Longtime User
Is it possible to launch non-ui app at Android when LCD is disassembled?
I want to use motherboard with Android OS installed without display for price constrained system.
 

EvgenyB4A

Active Member
Licensed User
Longtime User
I don't need to know if the LCD is disconnected. The LCD will never be connected. The question is the app will be launched and work like in B4J?
 
Upvote 0

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
If you have a foreground app running then the activity will probably be recreated when the screen size changes. Other than that I don't see how you will find out when the lcd is disconnected.
If you want b4a app run as b4r app run without display.
Yes you can do it, put all of your code logic's inside a service, and in top of service code:
B4X:
#Region  Service Attributes
    #StartAtBoot: True
#End Region
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…