D
Deleted member 103
Guest
Hi,
Can someone tell me why the service is not finished?
In the sub "Activity_Pause" it should be terminated but will not (see screenshot).
Can someone tell me why the service is not finished?
In the sub "Activity_Pause" it should be terminated but will not (see screenshot).
B4X:
Sub Activity_Pause (UserClosed As Boolean)
If UserClosed Then
' Log("UserClosed=" & UserClosed)
mBBL.goWriteIniFile
PhoneAwake.ReleaseKeepAlive
'Bluetooth verbindung aufheben
Starter.bluetooth.DestroyConnection
If Starter.GPS1.GPSEnabled Then
Starter.GPS1.stop
Starter.GPS_On = False
End If
'Service beenden
StopService(Starter)
StopService(smAtomtime)
ExitApplication
Else
Starter.IsStartEnabled = tbtnStart.Enabled
End If
End Sub