With help of sensorManager I am reading accelerometer reading. Currently slowest setting ie SENSOR_DELEY_NORMAL ,accelerometer reads around 10 times e ...
With help of sensorManager I am reading accelerometer reading. Currently slowest setting ie SENSOR_DELEY_NORMAL ,accelerometer reads around 10 times e ...
I'm creating an android app which uses a telematics SDK to start recording driving activity when the SDK picks up that the user is driving. The SDK ru ...
My problem is that my pedometer only counts the steps when I have the app open. As soon as I leave the app, it stops counting. The goal of the Andro ...
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 applicat ...
Accelerometry data including gravity can be retrieved both on Android and iOS phones: On iOS raw accelerometry data can be retrieved through CMMot ...
I want to know how much area my finger covers when I touch the phone screen. I used many sensors for some events. I compile my code with Android Studi ...
I'm trying to read the accelerometer and/or geomagnetic sensor in a Java android app to determine the device orientation at one point. But the sensor ...
I am doing a step counter project in an android studio with Nexus5X API29. I need to use sensors for this. I wrote the sensor codes as below, but it s ...
I've made a service that regularly broadcasts counted steps from both the STEP_COUNTER and STEP_DETECTOR sensor. In one app I made it worked flawlessl ...
I made simple stepCounter based on step counter sensor. I know that not everyone phone have this kind of sensor, so I've secured my code by Toast mess ...
I am trying to detect whether user is indoor or outdoor using Acceleromter, magnetic field and light sensor. I am using the following method: Registe ...
I'm trying to make an app to display phones roation in degrees, but onSensorChanged is not getting called. The text in the textView isn't changing and ...
I've been researching how to read step count in my Android app, and found two completely different ways to do it in the documentation: Using SensorMa ...
I have implemented a step counting class that seems to work ok, however I am instantiating it from the main activity and everytime the main activity i ...
The definition of 'roll' in android is: angle between a plane perpendicular to the device's screen and a plane perpendicular to the ground See ...
I want to collect data from the accelerometer, gyroscope and magnetometer all at once. I am currently using the SensorManager service which is based o ...
I bought a Huawei Watch 2 because I'm working on an app that reads steps and heart rate. Before opting for the Google Fitness API, I wanted to try acc ...
In my main activity I start a service. In that service, I try to get the sensor manager but I get the following exception The error doesn't occur i ...
I would like to collect the magnetic field vector (i.e. x,y,z in microteslas) from the TYPE_MAGNETIC_FIELD Position sensor and put it in the same coor ...
I am trying to display multiple sensor readings on screen (accelerometer, magnetometer, etc.) in its own line of text. I can change the text onscreen ...