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


    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.