Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. pistonep
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by pistonep

    • Android, Flic2 and background...

      Hi,
      I m a currently trying to develop an application on Android that responds to Flic2 click.
      It works well when application is in foreground and responds during certain time when application is in background.
      But after one hour or so in background, the application stop responding to click (Flick Button led blink orange instead of green).
      I do know about Phone killing background app so :

      • I have a foreground service that uses : PARTIAL_WAKE_LOCK
      • I have set my app to NO RESTRICTION in battery settings
      • I have set my app to START when device start

      Still... it s not working..
      Can someone help me with that ? Is it a flic config problem ? Is it android's OS fault ? Is it a coding issue 😞
      Thanks for your help

      posted in Developers
      pistonep
      pistonep