38 questions with no answers
1
vote
0
answers
49
views
onSensorChanged() isn't work only pedometer
The intent of the code I created is that whenever the data from the Pedometer changes, the data is passed in real-time via the onSensorChanged() function.
However, even though data is being collected ...
1
vote
0
answers
175
views
The Pedometer from expo-sensors in react native does not work in the react-native-background-actions it does not watch any new steps
call of the function came from another file and here is some details:
const options = {
taskName: 'steps counter',
taskTitle: 'Counting steps',
taskDesc: 'Track your steps in the ...
0
votes
0
answers
36
views
Assigning sensor information to image coordinates
I'm developing an indoor navigation application. I want to move the arrow sign in the field with the information I obtain from the device's sensor. If we think of the area as a room, as you move ...
2
votes
0
answers
186
views
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....
3
votes
0
answers
416
views
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 ...
2
votes
0
answers
3k
views
Pedometer with Time - Flutter
I need to count the steps a user does and the TIME for each step!
I tried to use a pedometer from Flutter but I am facing already some problems. I can't restart the pedometer and the counter seems to ...
0
votes
0
answers
85
views
How to keep track on date and update document in firestore ( Pedometer )?
I'm working on a personal project on a pedometer integrated with firebase but I'm not so good with date. Don't know if you can help out with this... What I'm trying to achieve will be a situation ...
0
votes
0
answers
202
views
React native pedometer is not a counting
Hi everyone I'm trying to make an pedometer app. I installed theese packages.
"react-native-pedometer": "^0.0.7",
"react-native-pedometer-ios-android"//then i deleted it
&...
1
vote
0
answers
238
views
Android Pedometer showing incorrect steps
I have created a simple android step counter in Java. I have the step counter working but for some reason when I boot up the application it starts off at 62000 steps. I have not hardcoded this value ...
2
votes
0
answers
168
views
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 ...
0
votes
0
answers
2k
views
What algorithm can I use to count steps using Accelerometer and Gyroscope?
I need to count steps using data from Accelerometer and Gyroscope from a cellphone.
What algorithm can I use considering I have these data? Where my Accelerometer describes the velocity of the device,...
1
vote
0
answers
1k
views
How to calculate time calories burnt while counting steps using STEP_COUNT_SENSOR
I am new to android and working on an application like pedometer. I have calculated total steps using Step Count Sensor , Now I want to calculate total time and calories burnt. Step count sensor ...
0
votes
0
answers
143
views
How to connect the data created from CMPedometer to Firebase?
I'm trying to create a healthcare application and am using Core Motion's CMPedometer to obtain live step count. However, I wanted the step count to be uploaded in real time to Firebase, as well as to ...
2
votes
0
answers
519
views
Having trouble with built Expo Android app build, pedometer/google fit permissions not working
I have built my app which includes a the expo pedometer app.
The pedometer works in expo, but has issues when built/standalone.
Knowing from the expo docs that I needed to configure OAuth for google ...
1
vote
0
answers
408
views
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, -...
1
vote
0
answers
205
views
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", ...
0
votes
0
answers
569
views
Swift walking distance calculated
I want to calculate walking distance after click button.I used CMPedometer for application but I don't want to use CMPedometer. I will make it with location info. I used core location framework but I ...
1
vote
0
answers
594
views
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 ...
2
votes
0
answers
386
views
Getting wrong steps history from CMPedometer
Recently I face a problem which is rare to appear
What I try to do is to get the number of steps per minute.
In my code:
let date = NSDate()
for i in 0...1000 {
dispatch_async(...