Questions tagged [sensors]

Use this tag for questions related to issues with sensors equipped in devices, such as: Ambient light (ALS), Accelerometer, Back-illuminated sensor (Backside Illumination, BSI or BI), etc. Note that 'compass', 'gps', 'gyroscope', and 'proximity-sensor' have their own tags.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

How to stop apps from reloading when connected to android auto and ambient light changes?

Android Auto has an annoying behavior where many apps reload when the ambient light changes, e.g. When you drive through a tunnel. This is annoying if you're reading something and the app reloads. How ...
0
votes
1answer
27 views

How do Android EMF detectors work?

Searching the play store for emf detector shows a bunch of apps that can measure the electromagnetic radiation level and they do seem to somehow work. What is the operating principle behind these ...
0
votes
0answers
190 views

Difference between Android sensors (acceleration, gyroscope, rotation vector)

I have an Android 7 phone and I have written an Android application for recording the following sensor values: Accelerometer (Sensor.TYPE_ACCELEROMETER) Linear acceleration (Sensor....
0
votes
0answers
32 views

Using Bubble Level App on Android Phone

I downloaded Bubble Level on my Samsung Galaxy Android phone, but I don't have a clue as to how to use it to calibrate my gyroscope/accelerometer. I know how to level my dishwasher with it, but not my ...
0
votes
1answer
56 views

Is it possible to access Face ID sensors raw data?

My Honor 10 has facial recognition capability in the dark, I suppose it works like Apple's Face ID which would rely on and IR camera and an Infrared pattern/dot projector. So, since the Settings app ...
0
votes
1answer
342 views

Send fake sensor value to an Android real device

Is possible to simulate an event on a Android real device? More precisely, I want to test an application which does something if a particular temperature value is detected. Is there an adb command, ...
0
votes
0answers
190 views

Game Rotation vector in Android

How to know if Game Rotation Vector on your phone is of acceptable quality or not supported at all? I am trying to find out which phone is better for a game that involves lot of rotation. Does the ...
0
votes
1answer
3k views

How to stop uncorrect counting of my steps on Huawei Health app?

I have Huawei Mate 9 with Huawei health app preloaded. I travel most of the time by trains. I noticed the Huawei health recogizes any shaking in the train as steps while I am just standing or sitting. ...
0
votes
0answers
41 views

How to disable sensors on-demand to reduce power consumption?

Nowadays, any Android device has a big sensor amount implemented. It is true that most of the sensors do not require a considerable amount of power for their operation. But the sum of the power ...
2
votes
2answers
266 views

Do different phones have different accelerometer quality? Is there a way to measure it?

I'm creating an Android application that basically detects the vibration of a car on streets and saves the data in a file that I'll analyze later. But I'm curious to know if there's such a thing as an ...
0
votes
1answer
578 views

Xiaomi Mi A1 - Touch screen, capacitive buttons, fingerprint scanner dead

A week ago all the input sensors (touch screen, capacitive buttons, fingerprint scanner) on my Xiaomi Mi A1 died, completely out of the blue. The device had never been rooted, and was running the ...
0
votes
0answers
25 views

How To Transmit (text/tweet) Temperature and Humidity Data From a Samsung S4

I'd like to be able to use my Samsung S4 as a wireless temperature/humidity for a climate controlled storage unit. Does anyone know of a way to have that data texted/tweeted from the phone?
4
votes
1answer
6k views

Disable magnetic screen on/off *without* Xposed?

Long story short, looking for a way to either disable the behaviour of screen turning on/off in reaction to magnets, or disable the Hall sensor (the sensor responsible for the reaction) altogether. ...
1
vote
0answers
10k views

Is there a way to install a Magnetometer or Compass Sensor in a phone?

I found out a little too late that my new phone (Motorola Moto G4) does not have a compass sensor in it. I love this phone otherwise, but I have apps that I use quite a bit that require a compass. ...
0
votes
2answers
602 views

S-helth in my Samsung Note 5 'none rooted' android 7.0 Nougat, is not working

S-helth in my Samsung Note 5 'none rooted' android 7.0 Nougat, is not working, I tired so many methods... but no use my phone is not rooted, but I get following message every time I open s-helth, that ...
1
vote
0answers
884 views

Calibrate accelerometer?

I'm developing an app that is supposed to measure vertical accelerations, and in the process I've discovered that the accelerometer seems to be uncalibrated. When the phone is lying perfectly ...
1
vote
0answers
29 views

Does no mention of GPS (on selling site) mean there is no GPS? [closed]

I'm looking at the AT&T LG Phoenix 2. It does not mention GPS on either Best Buy nor AT&T, and only mentions a cryptic "GPS Service for location accuracy" on LG's site. (Though phonearena.com ...
1
vote
0answers
121 views

Where is the compass chip on the Nexus 6p?

I just replace the screen+lcd on my nexus 6p and the compass stopped working (this is not just a calibration issue, it looks like the compass chip is dead). I think that I might have damaged the ...
0
votes
0answers
27 views

Is my device's acceleromoter working as it should?

I recently installed Asphalt Nitro, a racing app that supports using the device's "gyroscope" for steering. My device being as cheap as it is, it doesn't have a gyroscope, so I assume Asphalt is using ...
1
vote
1answer
5k views

“Significant Motion sensor” same as accelerometer?

I am trying to understand better the "Significant Motion" sensor: I know that I have accelerometer. Does it mean that the device also supports "Significant Motion sensor"? According to https://source....
1
vote
2answers
285 views

Why isn't the touchscreen pressure reading being put into use by Android?

Just now I discovered the "Pointer Location" dev app on Android, which tells how much pressure is being applied on the point on the touchscreen. They even have it since Android 1.0. I know there may ...
1
vote
1answer
57 views

What exactly is a “Sensor” [closed]

I know this questions sounds kind of stupid but I don't get it. My question is "What is a sensor?" The answer is obvious "In the broadest definition, a sensor is an object whose purpose is to ...
0
votes
1answer
3k views

send fake accelerometer or multitouch signal to an application on Android x86

I have this challenge: I use proto.io to make demos of application I will develop, but this time I have to run it on a PC running Androidx86, connected to a touchscreen (no multitouch). Proto.io ...
0
votes
1answer
171 views

Screen permanently black with broken proximity sensor and Proximity Sensor Accelerometer App

My phone's proximity sensor is broken and constantly signals "covered". The screen turns black when I'm called. I installed an app Proximity Sensor Accelerometer to solve this and played around with ...
1
vote
0answers
773 views

Need to invert Accelerometer Axis

I need a way to flip the x-axis of my accelerometer (When the value would be positive, I want to make the output negative, and vice-versa). Currently, if I tilt the tablet into portrait mode (or ...
3
votes
1answer
3k views

Google Maps shows constantly rotating direction despite other compass apps working correctly

Google Maps reports rotating direction (0.5 rotations / minute) with stationary phone. The compass is calibrated and works correctly in compass-specific apps. https://www.youtube.com/watch?v=...
1
vote
0answers
686 views

How to invert and tweak the Android sensors like gyroscope, accelerometer, etc.?

I am experimenting some VR stuff and I need to know how to invert the gyro sensor and other sensors like accelerometer. Is there any kind of app that can do this? I would like to find an app that can ...
0
votes
1answer
5k views

Difference between a gyro sensor and a compass sensor?

Some Android devices feature a gyro (gyroscope) sensor. Some only have a compass sensor. Besides a gyro being 3D and a compass being 2D, what are the differences between a gyro sensor and a compass ...
0
votes
1answer
2k views

Send “step” sensor event from ADB

My smartphone has sensors those: Step Detector | Qualcomm | 0x0000001e | on-demand | no batching support | last=<0.000000> Step ...
0
votes
1answer
258 views

Accessing environment sensor data from a web page (HTML/JS/PHP)

Is it possible to fetch the temperature info on the device from a web page using html/javascript/php? Or would an app be required to do this?
5
votes
1answer
13k views

Can i fake having a gyroscope?

I recently started playing 'Pokémon Go', but for the AR/VR to work a gyroscope is required. Is it possible to simulate/fake a gyroscope using the sensors already in the phone? I have a Vodafone smart ...
2
votes
1answer
1k views

How to calibrate accelerometer sensor on Google Nexus 6P?

when building an application for Android, I've noticed that the rotation vector sensor gives readings that are off. The phone's rotation is reported a little bit tilted. When investigating, I found ...
1
vote
0answers
86 views

How can a camera takes 8MP pictures in a SoC with 5MP support only?

In general specifications of Mediatek MT6572, it supports up to 5MP camera, but this product Yezz Andy A4M is supposed to support 8MP camera which is theorically not possible unless the camera is ...
1
vote
1answer
4k views

List body sensors available on Android devices

How can I list body sensors available on Android devices?
12
votes
4answers
2k views

Why doesn't Android compass react to magnet?

I downloaded Compass program for Android and tried to bring strong magnet close to it. The pointed remained stable, as if there was no magnet nearby. Here is the video proof on YouTube. I have ...
-1
votes
1answer
2k views

Measuring temperature using built-in laser in Nexus 5x

I know it's possible to measure temperature using a laser, and Nexus 5x phone has laser-based focus. So it might be possible to use reading of the laser input and output to gauge temperature at what ...
1
vote
2answers
906 views

Every Sensor Stopped Working

Recently I have discovered that literally all sensors on my Note 4 suddenly stopped working. This include the proximity sensor as well as the gyroscope sensor and GPS, etc.: Screenshot (click to ...
0
votes
1answer
405 views

How to remap device's sensors to touch screen?

I want to play Moto Racer on Fpse (psx emulator) with device's sensors. I installed Tincore but I have no clue on how to remap the sensors to touch the screen. In my head you had to remap the ...
1
vote
1answer
206 views

Light sensor values differes from device to device - are the readings reliable?

I have launched an onboard sensors reading application on 2 phones: HTC M8 (Android 6) and Motorola Moto G (Android 5). Those phones lays on my desk one just next to the other. And light sensor's ...
7
votes
0answers
203 views

Disable android Sensor only for Call

I'm using device GT i 9082, Android 6 AOSP ROM. My phone has a problem. While answering/dialing call, putting phone near to ear the screen goes off - this works fine but when taking phone off the ear ...
1
vote
1answer
220 views

apps fail to access orientation & magnetic sensors

I've just started using a Doogee Nova Y100X Android-based phone (it's android 5.0). It seems that my apps can only access some of the phone's sensors: accelerometer seems to work, proximity and ...
2
votes
0answers
387 views

Compass only working in GPS status app, not in any other apps

On my Nexus 5 (Android 6.0) the compass is working fine in the well known GPS Status & Toolbox app, but not in any other app like Google Sky Map. To debug the problem, I installed a dedicated ...
3
votes
1answer
110 views

How to prevent tablet working when laid flat?

My son has the bad habit of putting his tablet flat on the floor (even though it has a hard-shell case with built-in stand) and leaning over it, which is an ergonomic nightmare. No matter how much I ...
0
votes
0answers
1k views

Can I fake phone sensors data?

Context : Most of my LG G3 sensors are broken following a water damage. The main problem is the broken auto-rotation sensor that prevent me of taking photos in landscape mode. I known some ...
0
votes
1answer
41 views

Can my Android phone detect when it is in the shade?

Is there any way I can get my Android phone to tell me when I am in the shade? These days the sun is pretty damaging for my skin and was curious about how I could measure this. Maybe if I put it in ...
2
votes
0answers
591 views

Using PC to control Android (ex : using mouse or keyboard to tilt, rotate, emulate gyroscope, etc)

Is there any way to input fake sensor data from PC into your android phone (not the opposite)? Like using WASD from PC to make your android phone thinking they are being tilted, rotated, etc even ...
0
votes
1answer
11k views

Google Sky Maps does not follow pointing direction. How can the sensors be calibrated?

I have a new Lollipop device (Moto G 2. Gen) and wanted to use Google Skymaps. This worked like a charm on my old device. Now the display is not following the movements of the phone in the right way. ...
1
vote
0answers
39 views

Sensors values change / jacl

Is there any way to hack, overwrite x,y,z and other values of sensors? I mean I want to write a bot to sensor based games to test them. But I cannot change the source of games or stock api of the ...
1
vote
0answers
353 views

How can I set the Accelerometer Sensor Range?

The Accelerometer Sensor is set to a Range of 2 - 4 g on most devices. There is no option to turn it up to 8 or 16 G, which my sensor and most others are capable of. I found some information but can't ...
1
vote
0answers
1k views

Sensors Start N Stop Working

I own a Galaxy S4 I9505 device. Earlier I was running the stock based Custom ROM (Imperium 16.1, Android 4.4.2) on my S4 and there was no problem at all. That ROM gave me supreme performance, ...