@walter,
need ur help ! this is not related to ur apk.
am using cm7 rc1.5, when in camcorder mode, the screen by default is set with very high brightness, though i hv set auto-brightness. In camera mode, auto brightness wrks, its not very bright. confirmed that this not a bug, but expected behavior.
Now is there a way i can decompile camera.apk and change the default camcorder 100% brightness to use auto-brightness ? what files do i need to modify etc etc.. Or any other way i can change the default brightness behavior.
Tried decompling using apk manager, it hd loads of files.
found this under \projects\RC1.5Camera.apk\smali\com\android\camera\VideoCamera.smali
.field private static final DEFAULT_CAMERA_BRIGHTNESS:F = 0.7f
Googling took to android code page
// The brightness settings used when it is set to automatic in the system.
// The reason why it is set to 0.7 is just because 1.0 is too bright.
private static final float DEFAULT_CAMERA_BRIGHTNESS = 0.7f;
Changing the value 0.7 to lower, will that fix or ?? Am not sure, that am on the right path
I tried using LGcamera, it has check option to set full brightness, but it didnt had any effect checking/unchecking it
thanks for your time.