Android Question Turn on/off flash from service

Discussion in 'Android Questions' started by susu, Jul 23, 2015.

  1. susu

    susu Well-Known Member Licensed User

    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.
     
  2. susu

    susu Well-Known Member Licensed User

    Alright, after spent hours with no luck. I searched on Google Play and found a good app.
    What a shame! :D
     
  3. Johan Schoeman

    Johan Schoeman Expert Licensed User

    susu likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice