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
4
votes
3 answers

Android emulator Hardware Renderer issue

I work for the complete day on the Eclipse and run the apps on Emulator. But Unexpectedly sometimes the emulator Hangs up and continuously showing the error message. The Logcat is showing problem in HardwareRenderer.java However, Restarting the…
Vivek Warde
  • 1,936
  • 8
  • 47
  • 77
4
votes
1 answer

Android: Check if device has Touch support

Is there any way to check if an Android device (phone) has Touchscreen support or not? So if device has touchscreen I can fire a method where the user can choose something via touch, and if not then he can choose via hardware button input...
belosand
  • 129
  • 3
  • 14
4
votes
1 answer

Connect a new hardware(RF card reader) to android device

I am trying to understand one concept in android devices that is, connecting a new hardware to an android device. How is ir achievable. without bluetooth. suppose I have one RF card reader and I want to read RF id cards using that hardware and i…
user1808762
3
votes
2 answers

How to make sure an android device application supports hardware feature

I am developing an application which uses camera extensively. What I wish to do is that if a device or tablet does not have camera it my application should not get installed on it. Checked the in android manifest but only checks when…
nilMoBile
  • 1,932
  • 4
  • 15
  • 20
3
votes
1 answer

How to develop legacy Android app (api>=10) with android studio?

I'm trying to develop an app for my (very) old Android phone with Gingerbread, api 10. But with android studio as IDE the problems seem to go on forever: in project wizard, only api>=14 is supported so I choose 14 and want to change later on I…
3
votes
1 answer

Which AVC profile/level will be set in Android MediaCodec if we don't set this value manually?

In Android ACodec.cpp setupAVCEncoderParameters, it reads profile and level from msg(msg->findInt32("profile", &profile)/msg->findInt32("level", &level)), the msg appears to be coming from format in MediaCodec.configure(). So, I think we can set…
mewo1234
  • 311
  • 3
  • 10
3
votes
0 answers

How to register a non-canonical hardware controller as an inputDevice in Android?

my problem is a little tricky. I should connect an external controller to Android system and make it available for third party apps. Unfortunatly, the controller just sends 3 kind of signal: accelerometer, pressure and of course battery level.…
Dan A
  • 43
  • 4
3
votes
0 answers

Phone Microphone sound live recording and playing with phone speaker didn't work well

I try to develop as loudspeaker app. Audio input is built in phone mic. Audio output is built in phone speaker. I developed that app but didn't work well. I said "Hello" to phone mic didn't response. I tried next time blow the air to phone mic.…
B M
  • 1,863
  • 1
  • 25
  • 40
3
votes
1 answer

Different Box2D body speeds on different devices

My problem is documented in this: Video Background speed and animations are running at the same speed while items, who are thrown by that black guy, move slower on the white device... Well yeah, white phone is older, but that is not the problem, i…
3
votes
5 answers

How to stop the android soft keyboard from ever coming up in my entire application

I'm developing an application on a hardware device that has a built-in hardware keyboard that does not slide out so is always visible (like a blackberry). Therefore, I NEVER want the soft keyboard to display for my entire application. I'm aware of…
JohnnyLambada
  • 12,700
  • 11
  • 57
  • 61
3
votes
1 answer

How to clear count badge after clearing data and uninstall application in android?

The problem is when I install application and use it, it shows count badge on application icon. Now when I un-install application (while count badge is being displayed on application icon), and re-install the application, it again shows badge count…
duggu
  • 37,851
  • 12
  • 116
  • 113
3
votes
2 answers

MediaRecorder.AudioSource.VOICE_RECOGNITION is available or not

I'm working on a project in which I have to use an Android Development Board, just like following, to record audio via MIC, specifically speech. PandaBoard BeagleBone Black AM335x Evaluation Module For my audio, from MIC, I want it to be filtered…
3
votes
7 answers

Is it possible on Android to send SMS, Email and make a Phone Call on pressing the start button?

Is it technically feasible to do the following in Android on pressing the phone start button. Lets say the user's phone is off. When the user presses the on button, then the following happens: Send SMS Send Email Make Call Currently, I tried to…
Muhammad Maqsoodur Rehman
  • 33,681
  • 34
  • 84
  • 124
3
votes
2 answers

What is the fastest Android camera image format?

I'm grabbing images from an Android camera using onPreviewFrame(). I only really need the grayscale portion of the image, which I'm passing as a byte array to some native code. On the newer OS versions that I'm supporting, both YV12 and NV21 preview…
squidpickles
  • 1,737
  • 19
  • 27
3
votes
1 answer

Android accelerometer sampling rate random spikes

I am doing experiments on sensor sampling in Android. I'm sampling the accelerometer sensor at 10HZ via the native API in Android. I'm using two different galaxyS3 (4.0.4 and 4.1.2) and two xperias (2.3.4) for testing. On the galaxyS3 4.1.2 I…
hanswe
  • 113
  • 3
  • 7