android-hardware

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 another SO question that gives the following lines of code: InputMethodManager imm = (In...

Droid's mediaserver dies on camera.takePicture()

On Motorola Droid, Firmware 2.1-update1, Kernel 2.9.29-omap1, Build # ESE81 When attempting to take a picture, mediaserver dies with a segmentation fault. I've tried putting takePicture in a timer and running it a few seconds after camera initialization to check for race conditions, but no change. Just calling Camera.open() doesn't ...

Samsung i7500 Galaxy - speakers, calling problem after listening music

I've been listening music on my Samsung i7500 Galaxy with headset plugged to the device. After listening I've plugged headset out and now while I call to somebody I see there is a call on the device screen, but either me, either person whom I am calling to, doesn't hear the other person. While I plug headset again I can hear everything (...

How to take control on preview of image programmatically?

Hi All I have added camera in my application for capturing image and saving it into phone memory or SDCard. I want to change color combination of image (captured by camera ) while it will show preview of it. can anyone help me for this. I am using following piece of code for activating camera into application ImageView TakePhotoButton =...

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 present, sound effects are still generated). The game uses a SurfaceView to draw the various ...

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 any major changes between 2.1 and 2.2 that could potentially cause me an issue? I unde...

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 and where to start. Any help, source code example or something like that will be really h...