S susu Well-Known Member Licensed User Longtime User Jul 23, 2015 #1 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.
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.
S susu Well-Known Member Licensed User Longtime User Jul 24, 2015 #2 Alright, after spent hours with no luck. I searched on Google Play and found a good app. What a shame! Upvote 0
Alright, after spent hours with no luck. I searched on Google Play and found a good app. What a shame!
Johan Schoeman Expert Licensed User Longtime User Dec 28, 2015 #3 susu said: Alright, after spent hours with no luck. I searched on Google Play and found a good app. What a shame! Click to expand... Have you ever tried the project in post #1 of this thread? https://www.b4x.com/android/forum/t...ode-inside-the-b4a-project.48367/#post-301085 Upvote 0
susu said: Alright, after spent hours with no luck. I searched on Google Play and found a good app. What a shame! Click to expand... Have you ever tried the project in post #1 of this thread? https://www.b4x.com/android/forum/t...ode-inside-the-b4a-project.48367/#post-301085