thebossforme / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

OI Flashlight: Camera flash does not work on all devices #469

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In OI Flashlight, use menu > Preferences > Use camera flash (turn on).
2. Go back and press to enable camera light.

What is the expected output? What do you see instead?
The camera flash works on certain devices:
* Google Nexus One.

It does not work on other devices:
* Acer Iconia Tab A500
* Samsung Droid Charge
* Motorola Droid Bionic

Please list other devices below for which it works or does not work.

Either we find workarounds to make flashlight work on other devices, or we 
present a dialog that flashlight may not work on all devices.

Original issue reported on code.google.com by peli0...@googlemail.com on 4 Jan 2012 at 11:37

GoogleCodeExporter commented 8 years ago
Here's a workaround for Samsung Epic:
http://stackoverflow.com/questions/3878294/camera-parameters-flash-mode-torch-re
placement-for-android-2-1

Here it is mentioned that we would need a surface view for the camera preview:
http://stackoverflow.com/questions/5715293/torch-application-android

So I guess one needs to implemet a surface view and start the camera preview 
(even if we don't want to show the camera preview to the user) in order to 
start the flash on many devices.

Original comment by peli0...@googlemail.com on 7 Jan 2012 at 11:45

GoogleCodeExporter commented 8 years ago
Does't work on my Motorola Atrix 4G, but a different app does: 
https://market.android.com/details?id=com.intellectualflame.ledflashlight.washer
&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5pbnRlbGxlY3R1YWxmbGFtZS5sZWRmbG
FzaGxpZ2h0Lndhc2hlciJd

Original comment by philipha...@gmail.com on 5 Feb 2012 at 9:15

GoogleCodeExporter commented 8 years ago
Does't work on my Galaxy Ace, but a different app does: 
https://market.android.com/details?id=com.andronicus.torch

Original comment by li3sh...@gmail.com on 8 Feb 2012 at 8:42

GoogleCodeExporter commented 8 years ago
Doesn't work on my Nexus S running Android 4.0.3 and OI Flashlight 1.1.

Original comment by j.e.m.jackson@gmail.com on 25 Feb 2012 at 7:54

GoogleCodeExporter commented 8 years ago
I can confirm that the LED doesn't work on the Nexus S.

Android 4.0.4
OI Flashlight 1.1

Original comment by jeremiah...@gmail.com on 2 Apr 2012 at 5:38

GoogleCodeExporter commented 8 years ago
The LED does not work on my Nexus S with Android 2.3.6 and OI Flashlight 1.1.
Maybe a solution is here : 
http://stackoverflow.com/questions/5017455/how-to-use-camera-flash-led-as-torch-
on-a-samsung-galaxy-tab

Original comment by ordiman...@gmail.com on 26 Jul 2012 at 7:24