Git Product home page Git Product logo

pedometer's People

Contributors

alfonsorr avatar alonsolp avatar alvarogzp avatar anthonytex avatar avandorp avatar dbf256 avatar devpilot avatar dotwee avatar felix2yu avatar i3ck avatar j4velin avatar kazuh avatar mcgivergim avatar naofum avatar naxa777 avatar newjorg avatar nikanorov avatar ogr3 avatar oxidfox avatar saraiva1989 avatar stankochetkov avatar sweetlion avatar victorenator avatar yoasif avatar zenoven avatar zygimantus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pedometer's Issues

Doesn't start counting after reboot

After a reboot today it just stayed on 0 steps.

Export to CSV, uninstall, install , import fixed it.

Race condition when starting the daemon?

App seems to stop to stop counting when phone is in deep sleep or so

I have a Samsung Galaxy S5 with Cyanogenmod 12.1 nightly (from 24th October 2015). When I watch the app while the screen is on the steps are counted pretty precisely. But I have found out that the counting does not work anymore when there is no other app running in the background. It worked as I recorded a GPS track with Osmand or while counting steps with the other app called "Pedometer" from F-Droid (I'm using F-Droid as the repo for effectively every app on my phone) which also keeps the phone slightly busy.

Could it be that the step detector and counter does not function in deep sleep mode on some devices? Or could it have something to to with the circumstance that I have no GApps installed and removed some other proprietary elements with "freecyngn" (https://github.com/mar-v-in/freecyngn)? Is there any possibility to get more information by the use of the logs?

Running not counted

I've noticed that steps are not counted when running. Google Fit however does. Is this possible to get from the android STEP_COUNTER sensor? If not, how does Google Fit get it? Can Pedometer do something similar to what Google Fit does?

Jumps to 2 billion + steps

Recurring issue. Continues to occur even after clearing data and wipe and reinstall of the app. It will randomly jump to over 2 billion steps for the day after about 6 days of perfect and accurate operation. No correlation to activity (such as riding a bike or running). Only fix is to delete data in the app info. Possible that even backups are corrupted. Motorola droid maxx

Steps stop counting after some days.

I can't exactly reproduce it at will, but it seems that the pedometer stops counting steps after some days of uptime.
So, after normal operation (normal counting) for 3 or 4 days, on the next day I realize that the counter has stopped counting steps. And this doesn't fix itself the next day, it remains stuck.

If i open the app and start shaking the mobile up and down, it still won't count any step.

The current uptime on my Nexus 5 is around 900 hours.

I tried:

  • Closing the app
  • trying to disable/enable the notification from the settings
  • shutting down the service from android settings
    all the above don't seem enough to start the counter again.

Any ideas?

how to record the hurry step?

hi,j4velin:
I want to record the hurry step,the hurry step is user walk two steps in 1s,please give me some idea?
thanks

App crash

Steps to reproduce:

  1. Go to settings
  2. Click account button, choose logout (if you already signed in)
  3. Click account button and logout again, it crashes.

Automated export via Tasker

Thanks for the app!

I would love a way to automate the export of the pedometer data. I think if you expose an intent, I can set up Tasker or some other tool to hit it so you don't have to build a whole UI around scheduling an export. I don't know much about Android development, but I poked around the AndroidManifest.xml and didn't notice any intents for exporting.

Number of steps for the current is very high after rebooting

Hi!

Every time my phone reboots (for example because the battery is too low), the number of steps for the current day is very high. See what happened on Tuesday:
screenshot_20160609-071056

Is anybody else getting this issue? I am using Pedometer on a Galaxy S6 / Lollipop.

Pause pedometer

Is it possible to add a start/stop function to the pedometer? to only track steps when needed?

Restart counter at midnight

Great work on the library, I've tried 3 other apps that attempt this and they are not nearly as accurate when counting, this is really good and almost shake-proof too!

I am not sure where I'm supposed to run the code that will reset the counter to zero when I choose, it gets reset to zero on reboot but I want to reset to zero at midnight and save to shared preferences whatever value I last ended up with, any idea? Thanks again

Since last version, still counting today's steps with yesterday

I don't think it reset the daily count to zero at midnight or something. It's now saying I had 7143 steps yesterday and 10,221 today though I usually have only around 3000 by this time. I'm pretty sure when I woke up this AM I checked it and it was still at around 7143 rather than 0.

I'm using latest version from play store; the About link doesn't have a version number in it so I can't confirm that directly. I'm on a Nexus 5, stock with root.

Unable to import into Android Studio

Hi i am unable to import this project into Android studio.
I am getting this issue.

image

If i comment key.properties it is showing error in next line
image

After i comment those both lines it is showing
image

But if i try down load it is showing "packages Unavailable"
image

i done manually like http://i.stack.imgur.com/AP9LZ.png

after that also i am getting error like below
image

Even i am getting this error
image

Please help me to resolve this issue

## If possible please share eclipse source code.
I am very new to Android Studio. :(

-2147473648 steps to go

I've installed Pedometer from the Market on my Nexus 5. But as mentioned in the reviews, the notification bar shows "-2147473648 steps to go" and no counting is apparently occuring.

Noom Walk on the same device is behaving properly.

Lollopop api

hey there first of all nice work and secondly i want to ask how to run on lollipop its not working there giving error .. this app requires a dedicated hardware step sensor

Pedometer doesn't sync steps with Google Fit, if no internet at midnight is available

Hard to formulate this in English, so I'm writing in German:

Bei mir war es in letzter Zeit so, das ich mein Nexus 5 über Nacht in den Flugmodus gesetzt habe und somit vom Internet kappte. An den Tagen, an den ich über Nacht Flugmodus hatte, synchronisierte Pedometer die Schritte nicht. Zum Beispiel:

12 Dez. auf 13 Dez.:
Flugmodus war drin
-> Schritte vom 12ten wurden nicht synchronisiert.

Ist das ein bekanntes Problem?

Greets,

The record of steps is ridiculous!

My cell phone is nexus 5, so I installed Pedometer. Because it can use the hardware step detection sensor of the Nexus 5. The number of step in the Pedometer is 17,803.

In the same time, I wear a wearable band. The number of steps in the band is 2377.

I set 0.95 meter per step in the Pedometer, So I walked 16.91285 km during several hours. Is it ridiculous?

screenshot_2015-01-09-15-10-48
screenshot_2015-01-09-15-14-47

Adding Korean translation

<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">

<string name="app_name">피도미터</string>
<string name="goal">목표</string>
<string name="step_size">보폭</string>
<string name="about">정보</string>
<string name="account">계정</string>
<string name="goal_summary">현재 목표: %,d 걸음</string>
<string name="step_size_summary">현재 보폭: %1$.2f %2$s</string>
<string name="sign_in">목표달성과 리더보드 기능을 사용하려면 구글 계정에 로그인하세요</string>
<string name="signed_in">%s 로그인됨</string>
<string name="export_summary">.csv 파일로 자료 저장</string>
<string name="export_title">내보내기/백업</string>
<string name="import_summary">기존에 저장된 자료 불러오기</string>
<string name="import_title">불러오기/복원</string>
<string name="notification">알림 표시</string>
<string name="set_goal">목표 설정</string>
<string name="set_step_size">보폭 설정</string>
<string name="sign_out">로그아웃</string>
<string name="file_cant_read">오류: %s 읽을 수 없음</string>
<string name="error_file">다음 파일에 접속 중 오류 발생: %s</string>
<string name="error_external_storage_not_available">오류: 외부 저장소가 없음</string>
<string name="data_saved">자료 저장됨: %s</string>
<string name="entries_imported">%d 개 항목 불러옴</string>
<string name="entries_ignored">%d 개 항목은 올바른 자료를 포함하지 않으므로 무시되었습니다</string>
<string name="entries_skipped">%d 개 항목은 이미 해당 기간동안의 자료가 존재하므로 건너뛰었습니다</string>
<string name="sign_in_necessary">로그인 필요</string>
<string name="please_sign_in_with_your_google_account">이 기능을 사용하려면 Google+ 계정에 로그인하세요</string>
<string name="steps">걸음 수</string>
<string name="text_color">글자 색깔:</string>
<string name="background_color">배경 색깔:</string>
<string name="settings">설정</string>
<string name="achievements">목표달성</string>
<string name="leaderboard">리더보드</string>
<string name="faq">FAQ</string>
<string name="goal_reached_notification">목표 달성 완료! %s 걸음 이상</string>
<string name="notification_text">%s 걸음이 남았습니다</string>
<string name="total">합계</string>
<string name="notification_title">피도미터가 측정중입니다</string>
<string name="your_progress_will_be_shown_here_soon">진행 상황이 여기에 곧 나타납니다</string>
<string name="average">평균</string>
<string name="record">기록</string>
<string name="total_last_7_days">지난 7일간 합계</string>
<string name="average_last_7_days">지난 7일간 평균</string>
<string name="total_this_month">이번달 합계</string>
<string name="average_this_month">이번달 평균</string>
<string name="file_already_exists">파일이 이미 존재합니다. 덮어쓸까요?</string>
<string name="about_text_links">제작자는 Thomas Hoffmann (<a href="https://www.j4velin.de">www.j4velin.de</a>)이며 <a href="https://github.com/blackfizz/EazeGraph">EazeGraph</a> by Paul Cech 그리고 <a href="https://github.com/attenzione/android-ColorPickerPreference">ColorPickerPreference</a> by Sergey Margaritov 가 사용되었습니다.\n\nPedometer는 소스 코드가 공개되어 있습니다! 소스 코드와 모든 기여자들을 다음에서 확인하세요.<a href="https://github.com/j4velin/Pedometer">GitHub</a>.\n\n</string>
<string name="about_app_version">앱 버전: %s</string>
<string name="since">%s 이후로</string>
<string name="start">시작</string>
<string name="stop">중지</string>
<string name="close">닫기</string>
<string name="no_split_active">활성화된 구분 측정 카운터가 없습니다. 시작을 눌러 지금부터 걸음 수를 측정하세요.</string>
<string name="split_count">구분 측정</string>
<string name="pause">일시정지</string>
<string name="resume">재개</string>
<string name="ispaused">피도미터가 일시정지되었습니다.</string>
<string name="pause_on_power_title">충전중에 측정 일시정지</string>
<string name="pause_on_power_summary">기기가 충전중일때는 측정하지 않습니다</string>
</resources>

Export format: What kind of timestamp is the data?

Hey,

I want to use the data I can export with the export functionality to create some graphics for my walking behaviour. Though I don't know what kind of timestamp you are using. It is not Unix timestamp, as this

$ date --date "@1454281200000"
So 3. Mai 10:00:00 CEST 48054

shows (1454281200000 is a timestamp from the export).

What kind of timestamp are you using?

Duplicated resources

:processFdroidReleaseResources/home/krt/src/fdroiddata/build/de.j4velin.pedometer/build/intermediates/res/fdroid/release/drawable-xxhdpi/ic_launcher.png: error: Duplicate file.
/home/krt/src/fdroiddata/build/de.j4velin.pedometer/build/intermediates/res/fdroid/release/drawable-xxhdpi-v4/ic_launcher.png: Original is here. The version qualifier may be implied.

Missing repository definition

I think you are missing a repository definition like...

repositories {
    jcenter()
    mavenCentral()
}

...for the actual app-dependencies. The overall structure should look like:

buildscript {
    repositories {}
    dependencies {}
}

apply plugin: 'com.android.application'

android {}
repositories {}
dependencies {}

Set default compileSdkVersion to 23

Current build gradle sets compileSdkVersion 22 when not other specified, however, you use Build.VERSION_CODES.M, which is only available with SDK >= 23.

How to distinguish the different user login

hi,j4velin:
I build this project success and add user_id column for steps table in database,but when I login a different user, pedometer cumulative display. such as: A login my app steps is 10,B login steps is 20,when A login again,step has been changed 30;how can I fix this question?
thanks

Widget not updating on S7edge

The subject says it. Installed version 1.4.3 from F-Droid, added a widget, widget remains static at the count it was when added, but touching the widget to open the app shows that the counter has indeed incremented.

Looses memory on reboot

I just had an unscheduled reboot and all steps from today were wiped out.

Is it possible to make it more robust?

average without current date

Let's say in last 10 days i did ~10000 steps everyday (I want to keep my avg 10000).
I think it dies not make sense to count unfinished current day in week average.
It is demotivating to see ~9000 week avg after midnight if I spend a lot of my energy to do 10000 everyday. Don't you agree?
I believe a better way will be to:
uncommitedSteps = steps since last midnight till now
stepsLastWeek = steps since 7 days ago midnight - uncommitedSteps
weekAvg = stepsLastWeek / 7

BTW, the app is awesome, and huge thanks for sharing the code!

Steps don't make it into history

My step counts have been accurately (I assume) tracked since I installed the app a little over a week ago. But the next day, those step counts are sometimes not visible in the graph.

I installed Pedometer 1.3.3 on a Nexus 5 running Android 4.4.4.

For about a week it worked great, reporting my approximately 3-10km of walking per day as 3600-11200 or so steps, which seems about right. My walking habits have not changed, and the counter has continued to behave correctly (AFAICT). But the history graph has not: the graph shows (from Tuesday): 6869, 7304, 7418, 2998 (plausible; I may have taken an easy day here but I don't remember), 179 (nope), 0 (this is Sunday, which does not actually make an appearance in the bar graph, although I walked at least 7 km), and 6743 (probably correct).

Curiouser and curiouser: this morning, the values from Friday onward were all less than 200 or so (I seem to remember, but can't swear, that Sunday made an appearance at something like 1 step), and I'm not sure why the graph decided to start showing one more correct value. I did not clear Pedometer's cache or reboot (last reboot was Monday around noon-ish), but I did export the data to a csv file, which may have been responsible for the change in display???

This looks like a duplicate of bug 40, except that those seem to have been closed. Resurfacing of old bug or a whole new one?

I haven't looked at the code, but here are some noteworthy events around the time the bug appeared:

(1) It's been installed for a little over a week, and it seems it throws out data after that long (the bar graph is only good for a week (which is disappointing, but that's another bug)). Is it throwing out the wrong data?

(2) My phone crashed on Saturday (I think), and I know that on a crash-and-reboot the pedometer probably won't save the steps. But it's been failing ever since. I rebooted in the normal way on Saturday after the crash, just in case anything was still awry.

(3) Daylight Savings time switchover happened early Sunday morning. Confusing to the app?

(4) Sometime around Friday I calibrated my step size using the GPS (by concurrently running Runtastic) a couple of times, and changed my step size first to 92, and then to 90, cm. Possible trigger?

Thanks!

Here's the history. Note the first entry. Is that my Sunday data?
-1;6710
1414036800000;4205
1414123200000;3108
1414209600000;11714
1414296000000;4964
1414382400000;11938
1414468800000;6869
1414555200000;7304
1414641600000;7418
1414728000000;2998
1414814400000;179
1414990800000;6743
1415077200000;0
screenshot_2014-11-04-12-30-54

Continual achievements are difficult

The continual achievements have to be obtained by having an average of 7.5/10/12.5k steps since application install (after 10 days), but I would suggest it should be any running period of 10 days as opposed to since the app was installed. If you aim for the 12.5k one then you have to reset everything to give you a chance unless you are already very close to it.
Thoughts?
Thanks for the great work

Dashclock plugin doesn't work

It doesn't update steps counter anymore, could you please fix it?
I am using latest pedometer with last Dashclock on nexus 5 4.4.3

Major bug

Pedo doesn't really mean feet, it means kids. You're measuring kids. That's fucking weird.

And it doesn't even work, it's just tracking steps or something. I tried to measure my nephew with it and the app was all like "you've walked 10 steps in the last 10 days"

I couldn't measure shit.

count resets after 10ish steps

Count continually resets to 0 after 11 steps. None of the intervening numbers ever appear in app (ie, oscillates between 0 and 11). Restarting phone fixes problem

Nexus 5, most recent app version

Daily statistics

Thanks for the great app.

I'd like to see a daily statistic in order to see the steps I made in which hour. A line diagram would be nice...

Feature request: show all the data?

The history graph is only good for a week. Given that a year's worth of daily data would consume 0.0004% of a 32G phone's storage, and Moore's Law, there seems to be little reason to limit the history at all. Any possibility of showing the rest of the data? And ideally graphing it per day/week/month/year or even 3d graphs (e.g. week+year+colour) depending on the user's selection?

Dark theme

Hi, I would really like to see a dark theme be introduced.

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.