Italian Avviare Service all'accensione

lock255

Well-Known Member
Licensed User
Longtime User
Salve a tutti, sto realizzando un app che richiede che quando si accende il telefono parta un service e che rimanga sempre in backgroud, avete qualche indicazione su come posso fare?

Ah mi chiedevo se è possibile installare un app senza che appaia nel menù delle applicazioni.
 

lock255

Well-Known Member
Licensed User
Longtime User
Intanto grazie per la risposta, da dove setto l'attributo #StartBoot?
 

Isac

Active Member
Licensed User
Longtime User
Nel Modulo Service


B4X:
#Region  Service Attributes
    #StartAtBoot: True

Ciao
 

lock255

Well-Known Member
Licensed User
Longtime User
Scusatemi ma ero convito di aver aperto la scheda del servizio, mentre in realtà ero sulla Main
Grazie ad entrambi
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…