Questions tagged [pedometer]

A pedometer is a device, usually portable and electronic or electromechanical, that counts each step a person takes by detecting the motion of the person's hands or hips. Because the distance of each person's step varies, an informal calibration, performed by the user, is required if presentation of the distance covered in a unit of length (such as in kilometers or miles) is desired, though there are now pedometers that use electronics and software to automatically determine how a person's step varies. Distance traveled (by walking or any other means) can be measured directly by a GPS tracker.

Used originally by sports and physical fitness enthusiasts, pedometers are now becoming popular as an everyday exercise counter and motivator. Often worn on the belt and kept on all day, it can record how many steps the wearer has walked that day, and thus the kilometers or miles (distance = number of steps × step length). Some pedometers will also erroneously record movements other than walking, such as bending to tie one's shoes, or road bumps incurred while riding a vehicle, though the most advanced devices record fewer of these 'false steps'. Step counters can give encouragement to compete with oneself in getting fit and losing weight. A total of 10,000 steps per day, equivalent to 8 kilometres (5.0 mi), is recommended by some to be the benchmark for an active lifestyle, although this point is debated among experts. Thirty minutes of moderate walking are equivalent to 3,000-4,000 steps as determined by a pedometer. Step counters are being integrated into an increasing number of portable consumer electronic devices such as music players, smartphones, and mobile phones.

From Wikipedia: https://en.wikipedia.org/wiki/Pedometer

91 questions
15
votes
3 answers

Pedometer (Step Counter)

I am developing a Pedometer Android application to count number of steps taken and using the steps calculate the distance covered and calories burned. I have followed the tutorial Create a Simple Pedometer and Step Counter in Android and done…
Harry .Naeem
  • 1,245
  • 3
  • 20
  • 33
13
votes
1 answer

Incorrect endDate in CMPedometerData

I design app with CMPedometer and have one strange problem. I have logs from my client and i look this CMPedometerData, that i think really incorrect and i cant understand why this is so [2017-04-11 20:16:34 +0000] CMPedometerData, startDate…
Nikita
  • 154
  • 1
  • 13
6
votes
1 answer

Flutter: how can I permanently register a sensor (and never unregister it?)

TL;DR how can I have an Android sensor permanently running/active/registered for my app, even if I close it? Objective: I'm making a Flutter application that counts your steps using the pedometer package, which uses the built-in sensor…
5
votes
1 answer

Pedometer with Daily steps counter using flutter

I am trying to build a basic fitness app using flutter. The app has two main features: Daily steps counter graph of historical data (number of steps each day) I use the pedometer plugin to retrieve data from the sensors of the phone. My problem is…
Ron Badur
  • 1,873
  • 2
  • 15
  • 34
5
votes
3 answers

CMPedometer SIGABRT crash iOS 10?

I have an app I am testing on iOS 10 Beta 3 currently, and for some odd reason whenever I execute this one method, it seems to be crashing on the startPedometerUpdatesFromDate line below: if (!_pedometer) { _pedometer = [[CMPedometer alloc]…
SimplyKiwi
  • 12,376
  • 22
  • 105
  • 191
4
votes
0 answers

How to get CMPedometer data in Step by Step count?

I'm currently working in an Healthcare Application, which requires to track user step count as they walk holding their phone. I have made use of CoreMotion framework and CMPedometer to track step count and it works fine. However, the callback…
Vincent
  • 41
  • 3
4
votes
1 answer

How to get Pedometer Step Count data Same as SHealth in Gear s2 (Tizen 2.3.2)?

I know already tizen pedometer step count of day can get from "tizen.humanactivitymonitor" in case of web application. but I fail to get it in web app on real gear s2 device. And also I try it with Native System sensor API. but I can not found the…
pius lee
  • 1,164
  • 1
  • 12
  • 28
3
votes
1 answer

How get step count from background app using JobScheduler

The Android docs for the STEP_COUNTER sensor are a bit confusing. According to this: Android Sensor doc I should always register the STEP_COUNTER sensor because otherwise the step counter sensor will not count at all. That is all fine and works as…
3
votes
1 answer

pedometer is not working in background mode in ios 13 only

I have an app that just counting steps in Active State and Background Mode with CoreMotion CMPedometer. It works fine on ios 12.4.1 ios 13: steps counting doesn't work in Background Mode, but work in Active State. I haven't any errors and in…
rng13
  • 111
  • 1
  • 6
3
votes
0 answers

Having trouble with the Expo Pedometer in iOS, has there been changes?

I've been working on a cross-platform app built with Expo and I've been having trouble with the Pedometer in iOS. It works fine on android, but on iOS while it does ask for permissions it fails to retrieve values with a promise rejection. I've tried…
AkhinLinks
  • 51
  • 5
2
votes
0 answers

Android STEP_COUNTER sensor is null (Samsung Z Flip)

I am currently developing a Application to track Steps. In order to track steps i am using the following Sensor of the phone: Sensor.TYPE_STEP_COUNTER This worked fine for all devices I tested it with. But, it started to fail after updating "ONE UI"…
Seokang
  • 33
  • 5
2
votes
0 answers

Can we remove or ignore the gravitational force on the accelerometer values?

I have been creating an application on Flutter, using a package "sensors_plus" to retrieve step count when a user is walking or running ([https://pub.dev/packages/sensors_plus]). It is giving me the values of mobile sensor accelerometer but the…
2
votes
0 answers

Flutter schedule a task for specific time like midnight for pedometer app

I am simply developing a pedometer app with flutter backed by firebase. pedometer package is used for detecting steps but we need to update current steps to 0 at midnight. Using workmanager and background_fetch approaches can be used for every 15…
Muhtar
  • 1,506
  • 1
  • 8
  • 33
2
votes
2 answers

Pedometer package in flutter doesn't work with some devices

I used the pedometer package version ^1.2.0 in my flutter app and I noticed that it doesn't work with some devices like Samsung A30 and others, the version I used doesn't need any permissions and it worked on my device OPPO F7 (Used Android 10) so…
2
votes
0 answers

problem after boot device (restart or shutdown) in flutter

I'm working on a health application with a step-counting feature. I'using pedometer 1.2.5 https://pub.dev/packages/pedometer/versions/1.2.5 the app is working just fine while the app is not terminated or removed from memory. so I need a way to make…
Adham Elnagar
  • 143
  • 1
  • 10
1
2 3 4 5 6 7