Questions tagged [android-hardware]

Devices and platforms running the Android operating system.

android-hardware refers to all the devices and platforms that run or could run the Android operating system. That includes, but not limited to, smartphones, tablets, and computers.

217 questions
0
votes
0 answers

How to enable display touch senstivity programmatically?

I am developing an app where i need to enable/disable touch senstivity programmatically and it's a system app.I didn't find any such setting in Settings.java class. Does andorid provide any api to control touch senstivity? I have checked other…
Gaurav Singh
  • 1,177
  • 12
  • 16
0
votes
0 answers

Support Nantec SmartKey-like solutions via cross-platform mobile framework

Is there any cross-platform HTML/CSS/JS framework for developing mobile apps that would support (via direct API or some plugin) any smart-key like solution: My research so far: No! (am I missing something?) I've briefly checked Cordova, Ionic,…
trejder
  • 17,148
  • 27
  • 124
  • 216
0
votes
0 answers

Android Virtual Devices - hardware buttons not showing

Anyone know how to get Android Virtual Devices to show hardware buttons (back, home, etc..)? I can't get these show on the device. They only appear at the side in the menu bar.
0
votes
0 answers

Accessing device hardware programmatically

I'm looking to simply turn on and off a laser point which is a device hardware feature and use this within a kotlin andriod application. More boadly, how do you access non standard hardware (features not supported via andriod contexts) from within…
0
votes
0 answers

Turning android device screen on and off in 2022

There are tons of answers and question related to this on stackoverflow but google nearly deprecated all of the methods described. Turning screen off is easy but it seems turning it on is where google takes serious precautions. By turning on the…
hkn-a
  • 23
  • 5
0
votes
1 answer

While pressing HARDWARE button

I would like to do something while any hardware button is pressed (not after it is released).I know how to do it with a regular button, but how can I achieve it with a hardware button? This is the behavior I want to simulate using a hardware…
Erick Pro
  • 33
  • 5
0
votes
2 answers

Why I cant get the Device name even the device have Device name in android?

I made a condition that if the device doesn't have Device name it will get the Device model. But the thing is on some devices I'm getting the Device model even the device have Device name. Do you guys have an idea why I'm getting Device model not…
KiritoCode
  • 26
  • 2
  • 5
0
votes
0 answers

How to create a Bluetooth scanner in Android Studios and retrieving the scanned devices' hardware information

I have an assignment where I'm required to create a Mobile Application via Android Studios and one part of the aspect is to allow the phone to scan for nearby Bluetooth-enabled devices and retrieve the hardware of the device after the scan was…
0
votes
1 answer

Android- Kotlin: how can i measure and detect covered area by a finger touch on screen

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 Studio. They asked this question 11 years ago but the motionEvent.getSize() response is not working or…
0
votes
0 answers

Do Android device model variants have the same exact hardware?

I'm trying to better identify malicious users devices without using sensible data nor sign-in nor requesting dangerous permissions. With the latest Android privacy updates it is impossibile to retrieve any non-resettable hardware identifier. So I…
marcouberti
  • 96
  • 2
  • 4
0
votes
2 answers

How can I monitor temperature on a Samsung Galaxy S8 through code?

I'm trying to get access to the CPU temperature of Android devices, specifically the Samsung Galaxy S8 (for use with a GearVR) to be able to display it in the app interface. The TEMPERATURE and AMBIENT_TEMPERATURE sensors don't seem to be available,…
0
votes
0 answers

Understanding an Android TV box inside

I bought an android TV box . it was not working .When i first contacted the seller (Chinese) they send me a software and ask me to connect the android box to PC with USB to USB cable. But unfortunately my pc was showing , more power needed (than USB…
0
votes
0 answers

USB Connection problem for Android Lollipop

Currently I'm developing an app that requires two hardware to connect to the device via USB. I'm encountering an error where the app can see the two devices but the app can only establish a connection to the last hardware inserted to the USB hub.…
0
votes
0 answers

To Implement a DVD player functionality for Android Auto , Should I extend the TV HAL?

I need to add DVD Player support for Android Auto, I was wondering where would the DVD Player support code go , as I cannot find a HAL or supporting code for this. I was thinking about extending the TV HAL tv_input.h , which could break the…
0
votes
2 answers

Has anyone used Android6410 board for Android/Linux/WinCE development? Or recommend any other?

I'm trying to chose the ARM development board for education purpose. The goal is to learn how to run and play around with systems like Android (version 2.0 or higher),Linux, Windows CE. It must support touch-screen, Ethernet, USB host and device.…
kmalmur
  • 2,809
  • 3
  • 29
  • 37