Skip to content
项目

bagilevi/android-pedometer

在 GitHub 查看

bagilevi/android-pedometer has 842 GitHub stars and 442 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-24 09:34 UTC. Last push 2022-12-12.

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

一款用于统计步数的 Android 手机应用。

开发工具

README.md

原文

android-pedometer

No Maintenance Intended

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.

Question: In some other place, it says it’s licensed under GPL, but here it says “No restrictions”; which one is true?
Answer: The one attached to the source code applies, so for this version “No restrictions”. Previously it was under GPL, so some forks may still be under GPL.

License

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

Links

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

探索相关项目

加载中…