Coder Social home page Coder Social logo

Comments (4)

rodrigoarratia avatar rodrigoarratia commented on May 27, 2024

Not sure if it was this or the last update, but today I got all the data + heart rate with the Forerunner 235. Previously it was failing.

I removed all the watchfaces I had installed but weren't used, so I only have the one called "Rails" now, and worked perfectly last night.

from sleep-as-android-garmin-addon.

TheNetStriker avatar TheNetStriker commented on May 27, 2024

Thank for the hint. I had the same problem with the TimeStyle watchface. I also had to uninstall the watch completely to fix the problem.

I will try to contact the developer of the watchface. There must be some kind of background service that is causing this problem.

from sleep-as-android-garmin-addon.

TheNetStriker avatar TheNetStriker commented on May 27, 2024

Update: I still have the problem, even when no other apps are installed. I guess it just happens more often if other apps are installed.

I've tried to find out what is stopping the application by adding a debug log in the onStop method and logged the state. Here is the value of the state dictionary when the app is stopped:

{symbol (8391788)=>true}

Sadly I have no idea what this means and I also did not find anthing about this in the documentation from Garmin. Does anyone have an idea what this means?

Edit: I just found out that this number is the :suspend symbol. Also when the app is started again the number 8391787 is passed to the onStart state dictionary which is the :resume flag.

The only thing I found regarding this suspend symbol is the following from the API docs:

If true, the app has been suspended and the current state can be resumed at a later time.

But I've found no information how the app can be started again.

from sleep-as-android-garmin-addon.

TheNetStriker avatar TheNetStriker commented on May 27, 2024

I guess I found out what is causing the app to close.

Apparently the watch has a touchscreen gesture that closes the app when the touchscreen is covered completely with the hand. So when I place my arm on the screen during sleep the app just closes because of this gesture.

I've already disabled the touchscreen during activity, but then this gesture is still working. I have to disable the touchscreen compleletey to disable this.

Is it somehow possible to disable this specific gesture only?

from sleep-as-android-garmin-addon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.