I use standart notification. It works when the app is foreground. But it doesn't work when the app is background. What should I do?
Code:
Sub Process_Globals
Dim n As Notification
End Sub
Sub Activity_Create(FirstTime As Boolean)
n.Initialize
End Sub
Sub JobDone (Job As HttpJob)
Log("JobName = " & Job.JobName & ", Success = " & Job.Success)
If Job.Success = True Then
Select Job.JobName
Case "Job1"
'print the result to the logs...
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1P4AyR7
via IFTTT
Aucun commentaire:
Enregistrer un commentaire