Flic Home

    Community

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

    Zwooosh

    @Zwooosh

    0
    Reputation
    420
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Zwooosh Unfollow Follow

    Latest posts made by Zwooosh

    • RE: Best way to detect button connection in own app

      @Emil Thank you very much for the detailed explanation!

      While I am able to fix these problems using force-closing or updating myself, less tech-savvy users using my app might not. This was the main reason I wanted to display a button-connection status.

      I was already using the getConnectionStatus(), but I think using the FlicManagerUninitializedCallback will solve some of the problem's I'm running in to.
      It's also good to hear there might be a way to get pending connection info in the future.

      As for the problems with the updated app: It used to update and reconnect without any problem, but last update I was signed out of the application. I had to manually login again to get it working. I'm not sure why I had to log in again (this wasn't the case before), but after I did the buttons automatically started working again.
      (I am using FlicBroadcastReceiver and FlicButtonCallbacks to get click events.)

      posted in Developers
      Zwooosh
      Zwooosh
    • RE: Best way to detect button connection in own app

      @anton Good point, totally forgot to mention that...
      I am using the Android SDK.

      posted in Developers
      Zwooosh
      Zwooosh
    • Best way to detect button connection in own app

      I've been trying to find a reliable way check the connection status of a Flic-button in my own app.
      Every time the Flic app is updated or force-closed, my own app still thinks the Flic-button is connected (but the button is unresponsive).

      This is fixed by starting the Flic app up manually, but since I'm using the button as an alarm this is not a feasible solution.

      Does anyone know a good way to check if the flic button service is still active when opening my own app?
      I want the user to see a simple status message telling him if his Flic-button is connected/disconnected upon opening the app.

      Any help would be much appreciated!

      posted in Developers
      Zwooosh
      Zwooosh