Skip to content

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

Notifications You must be signed in to change notification settings

dev-labs-bg/walk-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. :)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages