93 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
50
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 ...
0
votes
0
answers
113
views
How to perform functionality in the Flutter app even if the app is closed?
I make a step counter app in this app when my app is open or open in background it works perfectly but when I close my app the step counting is not working it stops.
I have try to perform this using ...
1
vote
0
answers
176
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
1
answer
90
views
How to properly initialize Stream in initState()
Im trying to implement flutter package ‘Pedometer’ using this example.
Im calling provider methods from initState() in my first page loaded.
Problem is pedometer listener/stream not working on ...
1
vote
0
answers
202
views
Pedometer package's stepCountStream, listened in a Foreground Service does not trigger onData when phone is sleeping
I'm developing a Flutter app using pedometer package to track steps of the user. I want to count steps when app is closed as well, so I used flutter_background_service package as well in order to use ...
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 ...
0
votes
0
answers
133
views
How to implement pedometer functions in Android? [duplicate]
I need to implement pedometer-like functions in my Android app. I need step count, distance walked, and average walking speed. I could certainly compute average walking speed myself and I could live ...
1
vote
1
answer
150
views
Why does StepCount sensor doesn't works on emulators and also on physical devices?
Hey i'm beginner to flutter and i'm trying to create a step counter app but i get this error on iOS and android emulators and on my physical device ( galaxy s9 ) as well.
Here's my code:
import 'dart:...
0
votes
1
answer
485
views
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 ...
1
vote
1
answer
4k
views
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 ...
1
vote
0
answers
212
views
expo react native pedometer code is not working in android device
Hi am trying to create an expo react native screen with pedometer. There are no problems with my code and my device fulfills hardware reaquiremetns as well but the code is not showing footsteps. I ...
0
votes
1
answer
468
views
Sensor Step Counter and Step Detector not working
I have a very simple app which have a button and a label.
I initialize my sensor like below-
public void InitSensorService()
{
sManager = Android.App.Application.Context.GetSystemService(...
0
votes
1
answer
305
views
Example from pedometer package not working?
I have installed the blank flutter app with ONLY pedometer package :
dependencies:
pedometer: ^3.0.0
And paste this source, compiled without errors, but in-app :
Step Count not available
I ...
2
votes
0
answers
189
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....
0
votes
1
answer
371
views
Pedometer for Expo React Native
Is there a best recent pedometer library that supports the expo react native project? I'm now using expo-sensors. however, it appears that it is not yet supported on Android. Thanks ahead of time.
...