Hi,
I had a running program based on Erels example (http://www.b4x.com/android/forum/threads/physical-activity-recognition-detection.42481/#content), but now the sergvice does not start.
What should I check?
I had a running program based on Erels example (http://www.b4x.com/android/forum/threads/physical-activity-recognition-detection.42481/#content), but now the sergvice does not start.
B4X:
Sub ar_Connected (Success As Boolean)
Log("Connected: " & Success)
ToastMessageShow ("Connection to the service: " & Success,True)
' This works
End Sub
Sub Service_Start (StartingIntent As Intent)
' it never reaches this line!
If StartingIntent.Action = "activity_recognition" Then
...
end if
end sub
What should I check?