Camera : setDisplayOrientation function is not working for Samsung Galaxy ACE with Android 2.3.6

When I had a similar problem with the original Galaxy Tab running 2.2.1, I was able to solve it by doing the following: Camera.Parameters parameters = camera.getParameters(); parameters.set(“orientation”, “portrait”); parameters.setRotation(90); camera.setParameters(parameters); However, it looks like you may have already tried that exact combination, given that you have identical (but commented out) code above. However, the … Read more

Chrome’s remote debugging (USB debugging) not working for Samsung Galaxy S3 running android 4.3

My devices stopped working as Chrome de-activated the now depracated ADB plugin as it’s built in dev-tools now. I downloaded the SDK and followed the instructions at Chrome Developers. How ever I found the instructions served by Alphonso out not to be sufficient and I did it this way on Windows 8: Download Android SDK … Read more

Turn ON/OFF Camera LED/flash light in Samsung Galaxy Ace 2.2.1 & Galaxy Tab

I will soon released a new version of my app to support to galaxy ace. You can download here: https://play.google.com/store/apps/details?id=droid.pr.coolflashlightfree In order to solve your problem you should do this: this._camera = Camera.open(); this._camera.startPreview(); this._camera.autoFocus(new AutoFocusCallback() { public void onAutoFocus(boolean success, Camera camera) { } }); Parameters params = this._camera.getParameters(); params.setFlashMode(Parameters.FLASH_MODE_ON); this._camera.setParameters(params); params = this._camera.getParameters(); … Read more

MediaPlayer error (1, -1004) aka MEDIA_ERROR_IO trying to stream music on Samsung S3

The answer to this question turned out to be an issue on Android firmware installed on Samsung S III devices running Android 4.1.2. It seemed to have been something relating to the source of the stream, because some sources eventually played on the device, but the one we needed, never played. If you can get … Read more