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
1
vote
0 answers

A physical Accelerometer exists but virtual Significant Motion Sensor doesn't exist

I have an Xperia Z phone which runs Android 5.1 on. When checking the sensors that are present I get the below results: mSensorAccelerometer: {Sensor name="MPL Accelerometer", vendor="Invensense", version=1, type=1, maxRange=19.6133,…
efkan
  • 12,991
  • 6
  • 73
  • 106
1
vote
1 answer

CMPedometer's steps history is different than the Health App

I am retrieving the past 7 days using CMPedometer's method : queryPedometerDataFromDate:toDate:withHandler: but the results are different that the Health App, and our users are complaining, of course. Here are the result from the query : ( iPhone 6s…
xGoPox
  • 674
  • 8
  • 23
1
vote
0 answers

Pedometer "Unable to parse message when checking for availability!"

I'm using pedometer in an iOS app. And I'm getting 2 message in the console log. [Generic] Error on message reply (Connection invalid) [Pedometer] Unable to parse message when checking for availability! I didn't find anything related in Apple…
Cristiano Alves
  • 233
  • 1
  • 13
1
vote
0 answers

CMPedometer : queryPedometerData stuck to 9251 value

I query the CMPedometer, i've done lot of test with differents Date() and CMPedometer.queryPedometerData never return more than 9251 steps. For exemple if I query for each day (Date() to Date - 1, -2 ... 10) when 9251 steps is reached all my next…
Makaille
  • 1,636
  • 2
  • 24
  • 41
1
vote
1 answer

Accessing pedometer in UWP app

Here's pedometer sample for UWP. It works fine on my phone. However, in my custom app, I cannot get it to determine whether the pedometer device can be accessed. It always gives me DeviceAccessStatus.Unspecified status. Here's the standard code:…
Donatas
  • 317
  • 1
  • 5
  • 18
1
vote
1 answer

Cannot convert value of type error in Swift

I'm pretty new to Swift, so I'm following a tutorial on how to make a pedometer app from this page: http://shrikar.com/ios-swift-development-step-counter-app-using-pedometer-data/ However, that was from a while ago, so I've been working on updating…
1
vote
1 answer

Unusual step counter reading

I am trying to build a step counter app for android using the accerlerometer of the mobile. Without restarting the mobile, it gives almost accurate reading. That is for each steps, it increments the value by 1. When the mobile is restarted, the step…
Mehrab Zaman
  • 67
  • 2
  • 2
  • 8
1
vote
1 answer

Step counter in Android

Recently I tried to make an app which gives user step count. And came across step count and detector which was introduced in Android 4.4. but I can't find a way to do step counting hourly basis. I am new to this any guidance will be highly…
Preeti Wadhwani
  • 305
  • 1
  • 3
  • 15
1
vote
0 answers

Android TYPE_STEP_COUNTER sensor does not work while screen off

I'm developing an app to detect and count the steps. I used TYPE_STEP_DETECTOR/COUNTER sensors. Everything works fine but when the screen turns off, no more step detects. I tried to solve this problem by using wakeLock =…
Pedram
  • 11
  • 1
1
vote
0 answers

Is CMPedometer historical data lost on upgrade to iOS10 or a Restore?

Does anyone know if CMPedometer historical data is normally lost on OS upgrade or phone restore? It is still there in Health Kit, but a pedometer query returns 0 from previous dates pre OS upgrade. Thanks in advance if you know about this.
richc
  • 1,648
  • 5
  • 20
  • 48
1
vote
2 answers

async Pedometer.GetSystemHistoryAsync API for Universal apps crashes

I'm trying to throw together a simple app that uses pedometer data on a Windows 10 phone. I normally live down in kernel-land, and this is my first time using most of the c# async stuff, so I'm wondering if I'm missing a core concept here. My first…
Katie
  • 1,260
  • 10
  • 20
1
vote
0 answers

Develop a pedometer as a web app?

I wanted to ask if it is possible to develop a pedometer in a web app. I want to get the data from the phone (on iPhone the app is called Health). I don't want to do it over Google Maps with gps because of the battery life and the roaming. I didn't…
Meternios
  • 45
  • 7
1
vote
1 answer

Pedometer is not working in iPhone 5

The step counting using pedometer is not working in iPhone 5. It working well in iPhone 5S and higher devices. Does the iPhone 5 has M7 coprocessor?
Neenu
  • 6,848
  • 2
  • 28
  • 54
0
votes
1 answer

Is there any way to count the stairs climbed up with a smartphone?

I am working on a delivery app that the company charges clients based on the number of stairs that the delivery agent has to climb. It's probable that the agent cheats and collects the stair fee in cash without reporting it to the company. I wanted…
0
votes
1 answer

Retrieve step count and sleep data for a flutter based project on Android and iOS

I'm working on an application in health & fitness space and one of the requirement is to retrieve activities data (step count and sleep data to begin with) from wearables. My understanding is that I will be able to get this data from Google Fit and…