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
1 answer

Can an android app dominate on hardware resources?

I am actually studying mobile security and I am focusing on hardware protection, so, I wonder, if is it possible an app can access to mobile hardware resources, and dominate on them, so, no access to any hardware resource by other apps only if …
Bers
  • 1
  • 3
0
votes
1 answer

How to implement Wiegand Protocol in Android app

I need to get data from external Hardware like Access Control Devices (RFID-Reader, Fingerprint Reader) through Wiegand Protocol in my android application.I have searched lot but didn't get any useful info. Please help if anyone have any idea.Thanks…
Divya SIngh
  • 129
  • 1
  • 11
0
votes
0 answers

How to programmatically fetch the hardware details of GPS module, WiFi Module, Vibrator etc from a android device

I want to see the Hardware related details of GPS module, WiFi Module, Vibrator, Fingerprint scanner etc from a Android device. These all are hardware part that present inside a Mobile device. Manufacturer Serial number of hardware. Range Usage of…
Anuraj R
  • 524
  • 2
  • 8
  • 24
0
votes
1 answer

Difference between android.hardware.Sensor and Fitness.SENSORS_API

I'm looking for the difference between android.hardware.Sensor and Fitness.SENSORS_API in term of performance, simplicity. Because I saw on Sensor API doc: The API exposes data sources from hardware sensors in the local device and in companion…
Maxime
  • 643
  • 10
  • 21
0
votes
3 answers

Android no on screen keybord ( only voice )

I have a Huawei P9. I unlocked the bootloader : fastboot oem unlock CODE and I installed custom recovery : fastboot flash recovery twrp-3.1.0-0-frd.img I restored the phone to factory settings from phone settings and , from TWRP , wiped the cache…
0
votes
1 answer

Android custom ROM: force software decoders

I'm building a ROM from AOSP, running on Nexus 5X (bullhead). I wish to completely disable hardware audio/video decoders and make the platform route everything through software - to work exactly the same as on emulator. I've tried editing…
0
votes
0 answers

Open Serial connection from Java running on PC to android device

I've been looking around and I'm not sure if this is possible through just software. I have a jar that I've built that scans for a serial device and connects and sends data. I can do this easily to an arduino. But I am also needing to access an…
user1738539
  • 874
  • 2
  • 11
  • 23
0
votes
3 answers

How to enable vibration from Android 7+

I have to enable vibration only on devices with Android 7+. In previous versions we could simply do: AudioManager aManager = (AudioManager)…
0
votes
1 answer

Android CameraControls / Camera Zoom / SurfaceView issues - what's the reason?

I'm still on my way to implement few camera1 features, and now I've faced a ZOOM concerned matter, which is about that, although I've included zoomControls in layout, and created a clickClisteners, no matter this after running program, the…
ArturS
  • 723
  • 1
  • 6
  • 19
0
votes
1 answer

How to gain control of trackball in Nexus One Android

I'm kind of new in android AOSP development, and I'm trying to click to the trackball and launch an app already installed (Camera App). I'm looking at the policy.androdoid, but i just doesn't understand how to gain controls of the hardware buttons…
eljamz
  • 106
  • 8
0
votes
1 answer

Bluetooth Communication flow in Android

I am trying to understand the communication flow from Bluetooth stack to Bluetooth Chip for Android. I found documentation regarding Bluetooth for Android here. However, it does not describe communication in detail, especially from Bluetooth stack…
Pravy
  • 2,165
  • 5
  • 22
  • 28
0
votes
3 answers

Android; are there any changes between 2.1 and 2.2 that developers need to be aware of with backwards compatability?

I've created a few applications that have been targetted against 2.2 I'm thinking to invest in a cheap handset to try these out (thus far only used emulator). The handset I want is running verion 2.1 of Android. From a code point of a view, is there…
Jimmy
  • 16,123
  • 39
  • 133
  • 213
0
votes
1 answer

Android/Linux: Log (power) key usage on lower system level

I'm not searching for a particular piece of code rather than a hint where to start my research. What I want to do might be an easy task for an experienced android developer. I simply want to log all hardware button interactions on a lower level than…
xxtesaxx
  • 6,175
  • 2
  • 31
  • 50
0
votes
0 answers

Is there an Android emulator that emulates hardware components?

I am looking for an Android emulator that emulates the hardware components of the virtual device, such as CPU, memory, battery and so on. I need to know the usage of these components made by an application and how it changes over time. Can I do it…
0
votes
0 answers

Android device boot into the operating system when USB power adapter is plugged in

I would like to have my Android device boot into the operating system when I plug in the USB power adapter. Solutions are available on SO that involve editing "/system/bin/lpm" as shown below. #!/system/bin/sh /system/bin/reboot Variations on the…