j4velin / pedometer Goto Github PK
View Code? Open in Web Editor NEWLightweight pedometer app for Android using the hardware step sensor
Home Page: https://play.google.com/store/apps/details?id=de.j4velin.pedometer
License: Apache License 2.0
Lightweight pedometer app for Android using the hardware step sensor
Home Page: https://play.google.com/store/apps/details?id=de.j4velin.pedometer
License: Apache License 2.0
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?
My Android pedometer count in the notification window currently says '-7484 steps to go'
New update added split counter and it's working well, but german translation is missing.
I tried compiling with Android Studio it doesnt compile at all, and in Eclipse after some work it compiles but it crashes at start.
Steps to reproduce:
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.
: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.
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
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
Play store currently doesn't list this app and links to it result in "item not found", but all your other apps are there. Hope it's not serious.
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?
Stepcounter stopped working and resets to zero since the latest update.
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.
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
Thoughts about implenting a calories calculator? Just the same as the distance-summary, just for calories! Everyone loves calories-calculators! And are there any plans for Google Fit? Toughts about integrations? https://developers.google.com/fit/
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
hi,j4velin:
can you provide a apk for me to install,i want to look the effect.
thanks
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:
Any ideas?
http://codecanyon.net/item/pedometer-track-your-steps/16097038
(click Screenshots button for more obvious)
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
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,
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
I just had an unscheduled reboot and all steps from today were wiped out.
Is it possible to make it more robust?
When you travel around the world and your time zone changes, pedometer will delete all data and start from scratch.
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 {}
Current build gradle sets compileSdkVersion 22
when not other specified, however, you use Build.VERSION_CODES.M, which is only available with SDK >= 23.
Is it possible to add a start/stop function to the pedometer? to only track steps when needed?
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.
Google fit will be coming out soon. https://developers.google.com/fit/preview It would be nice if this app could support it. Is this planned?
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...
Hi, I would really like to see a dark theme be introduced.
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
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.
theres no R.java file in your project
"On foot" is reliably detected in about 30 steps:
http://developer.android.com/training/location/activity-recognition.html
This will prevent steps from being counted while driving and on bicycle.
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.
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?
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!
After a reboot today it just stayed on 0 steps.
Export to CSV, uninstall, install , import fixed it.
Race condition when starting the daemon?
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?
<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>
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
Hello, I want to get version: 1.4.3 source code, where can I find it?
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
Hi i am unable to import this project into Android studio.
I am getting this issue.
If i comment key.properties it is showing error in next line
After i comment those both lines it is showing
But if i try down load it is showing "packages Unavailable"
i done manually like http://i.stack.imgur.com/AP9LZ.png
after that also i am getting error like below
Please help me to resolve this issue
## If possible please share eclipse source code.
I am very new to Android Studio. :(
The history does not work it only shows between 0-5 steps for the last days
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.