All Projects → dev-labs-bg → walk-detector

dev-labs-bg / walk-detector

Licence: other
An android app that notifies you when you are walking for selected period of time

Programming Languages

java
68154 projects - #9 most used programming language

walk-detector

An Android app that notifies you when you start walking by sending you a notification and playing a sound.

I made this app because I always forget to turn on the Charity Miles app when I go for a walk. And also I wanted to try the play-services-fitness API. The minimum Android version required is API level 21 5.0 (LOLLIPOP)

In the project I use:

How to run the project:

  • Get an OAuth 2.0 Client ID this is needed for developer authentication for the Fit App. The link describes how to generate it. Once generated it is not used anywhere. The servers know that the build is made on your machine because of the Certificate fingerprints you give them through the generation process.
  • Open the project in Android Studio
  • You will need Java 8. Update the Android plugin to 3.0.0-alpha1 (or higher) or add Retrolambda to the gradle.
  • In your gradle.properties file you need to add:
    RELEASE_STORE_FILE=<path_to_your_jks>
    RELEASE_STORE_PASSWORD=<password>
    RELEASE_KEY_ALIAS=<key_alias>
    RELEASE_KEY_PASSWORD=<password>
  • In order for the certificate to work you may need to Build signed APK from Build > Generate Signed APK > Create new / Choose existing

Please feel free to contact me if you have any questions. :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].