Hi,
I'm trying to make an app that automatic turn on/off flash after a mount of time. I used CameraEx class with very small preview panel and set transparent activity too. I created TurnOn/TurnOff sub in Main and call them in Service module by CallSubDelay. Now it works if my app is in foreground but it crash if I close it (the Service still running).
Anyone tried it before please share your input. Thank you so much.
I'm trying to make an app that automatic turn on/off flash after a mount of time. I used CameraEx class with very small preview panel and set transparent activity too. I created TurnOn/TurnOff sub in Main and call them in Service module by CallSubDelay. Now it works if my app is in foreground but it crash if I close it (the Service still running).
Anyone tried it before please share your input. Thank you so much.