Giter VIP home page Giter VIP logo

android-pedometer's Introduction

Android app, that watches your every step

Pedometer is an application for Android phones.

Features

It counts your steps by using the sensors in the phone.

It calculates the pace (steps per minute), and can help you maintain a desired pace by speaking to you.

Changelog

New in v1.4 (2010-12-25):

  • Using built-in TTS
  • Fix binding to the service
  • Layout extends to the screen, supports various screen sizes
  • Adjust default sensitivity, add more options
  • Fix division by 0 bug

New in v1.3 (2010-04-25):

  • option for keeping screen always on
  • fixed TTS auto installation
  • fixed multiple activity starts

New in v1.2 (2010-04-25):

  • fixed to work on new phones (tested on HTC Desire)

New in v1.1 (2009-06-14):

  • calculate distance and speed based on user’s step length
  • calculate approx. calories burned based on step length & body weight
  • repeated voice notifications about any displayed value
  • pause and resume the service
  • reset all values

Installation

  • using the Market application on your phone or
  • by downloading the Pedometer.apk file and issuing adb install Pedometer.apk

FAQ

Question: How did you arrived at the formula for the step detection?
Answer: It’s completely a result of experimentation. I know this is lame, but this was a weekend hack I made just for myself.

Question: How does the step detection algorithm work?
Answer: Basically, it aggregates the sensor values, finds the maximum and minimum, and if the difference is bigger than a value (which depends on the sensitivity setting) then it counts it as a step. There’s is some additional optimization, which I arrived to through experimentation.

License

No restrictions. You are free to do anything with the source code.

Links

Pedometer at Google Code – screenshots, issue tracker
Comments from Market

android-pedometer's People

Contributors

bagilevi avatar

Watchers

 avatar  avatar

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.