Open Source • Background Tasks: Itoo 🚀

@SlowBro There is a lot of confusion in your blocks, it looks like you are putting blocks together without understanding what you are doing

Have you seem my shake it example? Run app in background, that fires an alarm whenever phone is shaking - #4 by Taifun

Use that example and restart from there
You create the process only once on button click

It starts the background process... somehow the process must start...and after starting the process then the sensor is activated to listen in the background

Taifun