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

Android hardware dev kits?

I'm faced with the task to write a driver for Android (OS 2.3 and 2.4) to interface with a sensor chip over either SPI or I2C. The device is intended to be used in Android smart phones eventually, based on either the Intel Medfield or the Qualcomm 8…
Daniel Gehriger
  • 7,339
  • 2
  • 34
  • 55
1
vote
0 answers

hardware signal processor API? (for extra Android processing power)

I understand that mobile SoCs have quite powerful ISP hardware (for camera), and DSP (for audio?). Is there a way to programmatically access this, for your own computation (e.g. with input data not coming from the camera)? This kind of thing is…
1
vote
0 answers

Where to put hardware resources in MVP

I have been making an app which uses some Android related hardware components, like, Microphone, Camera and Location. I heard about MVP and wanted to apply it in my app, so far I have been able to separate database and storage from activities, but I…
1
vote
0 answers

USB communication between Android and PC without ADB

I just want to know is there a way to communicate between PC and Android device without the need of ADB. Something like the Android device will become USB Host and read the data that PC send thought USB port. Is it possible? BTW I also want to ask…
user37616
  • 15
  • 9
1
vote
2 answers

Why is my Android Studio Generated Signed APK not working on some brands of Android Device?

Been having trouble with this one for weeks and searched throughout forums for solutions. I have an Android App that can be installed on some brands of devices but won't install on others. On some devices It keeps getting a package error every time…
Cedric
  • 21
  • 1
  • 4
1
vote
2 answers

How are Android sensor TYPE_LINEAR_ACCELERATION and TYPE_ROTATION_VECTOR implemented?

I have been searching for quiet some time for the algorithm used by the Android API to fuse raw data from different sensors to produce virtual sensors. How have they been implemented? Is the source code available somewhere?
1
vote
1 answer

Best way to compare hardware of different devices inside my app

I have an android aplication where I can acess some information about the device hardware, like number of cores, the clock of each one, etc. This aplication runs in a single thread. My app will have a decision tree inside it, and one of the…
EduardoMaia
  • 591
  • 1
  • 4
  • 17
1
vote
1 answer

MB300 phone: magnetic field sensor mounted incorrectly?

according to the android specs all the sensors must have their axes oriented the same way, as specified in: http://developer.android.com/reference/android/hardware/SensorEvent.html I have two Motorola phones: mb300 and motorola flipout. In the…
Roland
  • 7,525
  • 13
  • 61
  • 124
1
vote
0 answers

How to access the alert slider button in oneplus 3 programmatically?

I would like to have my own android program running in the background and respond to the alert slider of op3. But i dont know how to listen to the state of the alert slider or change in the state of the alert slider. How should i access it in the…
Shrijit Basak
  • 307
  • 1
  • 13
1
vote
1 answer

Android: Get mobile hardware information

I am working on app which tells the user about Device. I go through many questions on SO but didn't find the answer. I want to find Model Number Android Version Base band Version Kernel Version Build number RAM of my Mobile. I would really…
malik farhan
  • 159
  • 15
1
vote
1 answer

How does the home button or volume up/down button works (Android)? Does pressing this button generates a hardware interrupt?

I was wondering how does the home button or volume up/down button works in Android? Does pressing this button generates a hardware interrupt? I would like to execute a piece of code with higher privilege (in kernel) by pressing this home/volume key.…
1
vote
0 answers

Implementing an android service that reads a button sensor input on Arduino through bluetooth

I am trying to connect a button sensor on Arduino 101, to an Android App. The idea is to implement an app which connects to a Bluetooth hardware button on Arduino and then runs a service in the background that constantly listens for a Bluetooth…
1
vote
2 answers

What quirks should I look out for when developing for the Samsung Galaxy S?

I recently released a game on the Android market. It seems to be working fine for most people, but everyone using a Samsung Galaxy S is reporting the same problem: The graphics for the game are not being drawn on screen (though they appear to be…
fredley
  • 32,953
  • 42
  • 145
  • 236
1
vote
1 answer

Which Accessibililty event will get trigger when click back, home, menu buttons in android

i tried to open the app and some accessibility events got triggered but when i click back or home or menu button in android devices i can't get any accessibility event. is this possible to get some event when clicking button. if it is normal apps i…
user3546693
  • 364
  • 3
  • 18
1
vote
0 answers

Changing android camera params after startPreview()

Similar to this question, I'm trying to change parameters of the android camera after calling startPreview(). I'm processing video input frame by frame from the preview and need to adjust exposure settings in real time. lock() doesn't seem to be…