Check the code first
Success message is being shown when I'm clicking on Stop button. Nothing for Start, neither success not failure.
But service is being run and doing it's work well.
Need your help.:sign0163:
B4X:
Sub Start_Click
Try
StartService(SMSy)
Msgbox("Service Started", "")
Catch
Msgbox("Unable to start", "")
End Try
End Sub
Sub Stop_Click
Try
StopService(SMSy)
Msgbox("Service Stopped", "")
Catch
Msgbox("Unable to start", "")
End Try
End Sub
Success message is being shown when I'm clicking on Stop button. Nothing for Start, neither success not failure.
But service is being run and doing it's work well.
Need your help.:sign0163: