For Each ev As TransitionEvent In Starter.client.GetTransitionEvents(StartingIntent)
Log(ev) 'ignore
ToastMessageShow("" & ev, True)
Next
Service.StopAutomaticForeground
This code is never fired..
Any idea.. Even the Erel example, updated in May2020 ... doesn't trigger the event.
The service apparently starts, since this variable shows me "true", but I never receive an event.
B4X:
Dim activities As List = Array("IN_VEHICLE", "ON_BICYCLE", "ON_FOOT", "STILL", "WALKING", "RUNNING")
Wait For (Starter.client.RequestTransitionUpdates(activities)) Complete (Success As Boolean)
Log(Success)