Android Question When I run #StartAtBoot: true, the title and description appear 2 times (Solved)

jose luis gudino

Active Member
Licensed User
Longtime User
Hi everyone

When I run #StartAtBoot: true, the title and description and name of the application appear twice. When I restart the phone and start the service and the information that I put in nNotify.SetInfo does not appear correctly.

B4X:
Sub Service_Create
    basedatos
    Dim nNotify As Notification
    nNotify.Initialize2(nNotify.IMPORTANCE_LOW)
    nNotify.Icon = "icon"
    nNotify.Vibrate = False
    nNotify.Sound = False
    'this is the info info
    nNotify.SetInfo("CONTROL", "Sistema de Seguridad", Me)
    Service.StartForeground(1, nNotify)
    lock.PartialLock
End Sub

I show in the image the information that shows

Captura.PNG


Thank
 
Last edited:
Top