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
11
votes
7 answers

Maximum output amperage from USB Smartphones

The Output voltage from an USB port is 5v, and it can't be changed, isn't it?! But what is the maximum amperage that I can drain from a smartphone? It depends on the battery, hardware or is limited by the OS? There is difference between…
Apoleo
  • 2,045
  • 2
  • 21
  • 37
11
votes
2 answers

android.hardware.Camera$EventHandler.handleMessage

I am writing a program in which I am taking picture, then want to store picture into sd card and finally trying to resize existing image (and then over writing same with old one). My code works fine almost on all the devices but facing this issue…
Sophie
  • 2,594
  • 10
  • 41
  • 75
11
votes
2 answers

How can I launch an android app on upon pressing the volume up or volume down button?

I have a requirements in a personal safety app where a user has to launch an app as soon as possible via pressing the volume up or volume down button. What is the procedure to add this functionality?
Muhammad Maqsoodur Rehman
  • 33,681
  • 34
  • 84
  • 124
11
votes
1 answer

NullPointerException in HardwareRenderer

I wish I had more information about this error but I just don't. I have a tool called BugSense(Now it is Splunk MINT) that sends crashes to a remote server and this is all I'm getting: java.lang.NullPointerException at…
fernandohur
  • 7,014
  • 11
  • 48
  • 86
10
votes
1 answer

FlashLED intensity controls

I am looking for help in Android camera LED Flash for changing intensity of it like this app. I have checked following link but i am not getting exact result from it. Can I change the LED intensity of an Android device? How to turn on camera flash…
NIKHIL
  • 2,719
  • 1
  • 26
  • 50
9
votes
3 answers

Camera preview is fine but front camera produces very dark photos

I built a custom camera using the Camera 1 API and for some reason it produces very dark pictures (only on the front camera, the back camera works perfectly fine). The camera preview shows the camera as it should, with the correct brightness - it's…
eyes enberg
  • 556
  • 1
  • 8
  • 30
9
votes
1 answer

Capturing a photo from only one lens, in dual-camera phones?

Dual-camera smartphones are relatively new in the market, but I was wondering if a camera app could explicitly choose to use only one lens, or to manually retrieve separate input from each lens. I couldn't find any Android API documentation that is…
Yoav Feuerstein
  • 1,925
  • 2
  • 22
  • 53
9
votes
2 answers

Android: How to integrate External BarCode Scanner device connected via USB to Android Application

I am developing POS application for shop. The Shop keeper can use any brand of BarCode Scanner devices. I need to get the details of the scanned item. Is there any library file available for the same. FYI External barcode scanner is connected to…
Sridhar
  • 2,228
  • 10
  • 48
  • 79
9
votes
2 answers

Set mouse position in software

I am using an Android Stick (http://www.geekbuying.com/item/Uhost-2-Dual-Core-TV-Box-Mini-PC-Android-4-0-4-RK3066-Cortex-A9-1-6GHZ-1GB-RAM-4G-ROM-with-Bluetooth-WIFI-Skype-XBMC---Black-312467.html) for building an application. The application uses…
Vishal
  • 3,178
  • 2
  • 34
  • 47
8
votes
2 answers

Android O HIDL not available

I have problem with Android O HIDL. The failure log shows it can't find out the service. However I can see it by adb shell ps -A | grep fingerprint system 18758 1 17408 3276 pipe_wait 7c79e93e08 R…
Jack Fan
  • 2,143
  • 3
  • 18
  • 25
7
votes
2 answers

Disable hardware keys android rom

I want to disable the Home, Menu and Back button in my custom AOSP rom. I´ve seached on the internet, and saw i can disable buttons after a succesfull build in the key layout files found in out/target/product/generic/system/usr/keylayout. The file…
user3506467
  • 377
  • 1
  • 4
  • 12
7
votes
1 answer

Android logcat logging only info level on real device. Cannot get debug messages, not even unhandled exceptions

I am developing for android for some time, and so far I didnt have any problem with logcat. Until now, i have new phone for development, Huawei Y300 (Y300-0100) and in logcat there is no messages from DEBUG level. This is problem, because I don't…
everis
  • 316
  • 4
  • 11
7
votes
4 answers

Two screens/monitors with Android?

I want to develop an Android application which uses two screens to display information. For example: One screens shows the app, the other screen some information about the current app status. My question: Does android support two monitors/screens?…
whitenexx
  • 1,350
  • 2
  • 25
  • 53
6
votes
1 answer

How to check for StrongBox Keymaster hardware availability before key generation?

I am looking for a solution where I can use StrongBox hardware if present in the device to store my cryptographic keys. Currently, I am creating keys having setIsStrongBoxBacked(true) method in KeyGenParameterSpec builder, and when the …
Sachin Chauhan
  • 356
  • 1
  • 11
1
2
3
14 15