1,614 questions
0 votes
1 answer
98 views
How to avoid continuous SensorEventListener callbacks
Android beginner, please make no assumptions! I created code that used a SensorEventListener to update a UI using a MutableDoubleState as an intermediary. This worked well with the event registration ...
1 vote
1 answer
392 views
How can i get the Yaw Pitch and Roll values from the Camera Pose of the ARCore?
I have this Java code using the ARCore Pose : private void updateCameraPose(Pose pose) { //float[] quaternion = new float[4]; //pose.getRotationQuaternion(quaternion, 0); ...
0 votes
0 answers
28 views
How to collect sensors data from mobile phone with user consent
I'm working on a feature where an algorithm process available data collected from user mobile phone. Any help on this is greatly appreciated. expecting integrating, configuring, collecting of data. ...
0 votes
2 answers
99 views
How to improve Acceleration/Distance measurement?
I'm experimenting with sensors in Android and decided to make an app to measure the distance by which the device moves, using the linear acceleration sensor. I came up with a following piece of code: ...
0 votes
0 answers
56 views
Incorrect data rate of sensor in QML
I'm developing a mobile application that's supposed to take samples with different frequencies from two sensors (accelerometer and gyroscope) and save the results as JSON files. Each JSON file ...
0 votes
1 answer
104 views
Does the integer type of sensors differ between smartwatches?
This might be a dumb question but i'm working on a project that uses smartwatch sensors either than the default accelerometer, gyroscope, etc.. sensors. So like PPG SDNN, PPG SPO2 and so on. My ...
0 votes
2 answers
214 views
How does the manifest gets parsed and processed by the Android OS?
In the Android manifest file, we use the uses-feature tag so that the app can use a specific hardware or a software feature. How does the Android OS handle this tag internally and gives the access to ...
0 votes
1 answer
224 views
Can I access the NMEA messages using raw_gnss package on Flutter?
For one of my projects, I am trying to access the GNSS NMEA messages using a Flutter app in my Pixel 5. The library I am using right now is raw_gnss (https://github.com/deven98/raw_gnss). I could ...
0 votes
1 answer
488 views
Rotate the app to landscape where app replies on sensors for rotation in mobile app automation
I am having mobile app which starts in portrait and then requires device to change orientation to landscape mode to continue. I was performing mobile automation on this app using appium 2 and appium-...
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
237 views
proximity sensor permission in android app
I am trying to design an app in Android Studio that uses the proximity sensor. I added the following code in the manifest.xml and it still doesn't ask for the permission when I launch the app: uses-...
1 vote
2 answers
115 views
LibGDX camera rotation does not work on Android
I have the orientation values from Android device RotationVector sensor expressed in degress as Yaw, Pitch and Roll angles. I want to continuously update the LibGDX Perspective camera rotation based ...
1 vote
0 answers
104 views
How do I use coroutines in my Kotlin code to read in phone sensor data one by one?
I'm working on a project where I'm trying to read sensor data from multiple sensors into a .txt file. I would like for the data to read in nicely so that it would be easy to read. Right now I've ...
0 votes
0 answers
46 views
There is a way to know if other application is using a sensor [Android]
I´m working in a POC in Android and I need to know if another application is using a sensor (moreover if it is starting or shutting down a sensor). Do you know if SensorManager does that? Perhaps ...
0 votes
1 answer
265 views
Samsung Galaxy Note 9: sensors: wrote an app that reads all sensors, asks for BODY_SENSORS permissions, displays heartrate, how to display SpO2?
I wrote a quick app that displays all sensors of an Android device. Mine is a Samsung Galaxy Note 9. With BODY_SENSORS permissions granted, I'm indeed able to read the heart rate (HeartRate sensor), ...