Getting focus signal from camera - Xperia Z Q&A, Help & Troubleshooting

Hello,
just quick question. I'm trying to get into the camera API and need a specific function. I'm not into the Android programming - yet. But before I'm putting all my effort in learning how everything works I was wondering if the following is possible:
1.) Is it possible to get the actual value of the autofocus from the Camera of my Xperia Z (or any other Android Device, running 4.x)?
2.) Is it possible to set the value for the value of the autofus to a specif value? Like manual focus?
I searched a lot and I just found some functions to stop the autofocus or put in macro/infinity mode. Is there any possibility in putting it to a specific value? Or is the focus system hardware based? (manufactur specific)
Is there any ressource on how the autofocus of an android device works? I can't find anything.
Thank you very much in advance

Related

Landscape/portrait , Camera Problem

Hi Folks,
I am having a problem dealing with camera. I am calling the camera using CreateProcess and SendMEssage from my NativeApp, using Embedded VC++. Also I am trying to specify that the camera be launched in portrait mode. But it does not happen that way. But the same function call work good on the Qtek2020 / BlueAngel device.
Is there any straight forward api call or registry setting alteration that can help me accomplish this??
Thanks
Viswanath.

Camera not as good as Mogul?

Hi, I am coming from a Mogul and the camera wasn't great, though it did work in a pinch. Now I have a Sprint Diamond which I love, though the camera is so slow that I cannot take a picture or video without blur. I am not trying to complain as the phone suits my needs very well. The question is, can registry edits be made to improve the camera? Maybe speed up the process a bit?
By the way, thanks for this great site! I have learned so much already!
crizyal said:
Hi, I am coming from a Mogul and the camera wasn't great, though it did work in a pinch. Now I have a Sprint Diamond which I love, though the camera is so slow that I cannot take a picture or video without blur. I am not trying to complain as the phone suits my needs very well. The question is, can registry edits be made to improve the camera? Maybe speed up the process a bit?
By the way, thanks for this great site! I have learned so much already!
Click to expand...
Click to collapse
Good question my friend. Well search for the tool called Advance Config. by default ( and i dont know why) the phone is programmed to have a slight delay when you press the action button and when it actually take the pictures.
So install that app and search for the photo options, there you can set the details, activate another options.
Have fun,

Camera Performance On Different ROM's!?

I am interested in does Camera performance and quality may vary from rom to rom? Because I saw different camera settings in some roms? Like there is 5Mpix icon on stock rom but on others there is not and cooked roms I have tested have little blury pictures! Can someone give me more details on that,and If it has something to do with ROM tell me what is the best rom for cam!
REGARDS
camera performance depends only on Radio, not on ROM
Eraser85 said:
camera performance depends only on Radio, not on ROM
Click to expand...
Click to collapse
Newer the radio,better the camera? When will arrive new radio?
Eraser85 said:
camera performance depends only on Radio, not on ROM
Click to expand...
Click to collapse
lol... how is camera performance related to radio?!
Eraser85 said:
camera performance depends only on Radio, not on ROM
Click to expand...
Click to collapse
Thats simply not true. Different ROMs contain different versions of the camera application as well as different graphic drivers, so it is heavily depending on the ROM.
I can't imagine that the radio has any impact on the camera, but can't say that for sure.
stefan063 said:
Newer the radio,better the camera? When will arrive new radio?
Click to expand...
Click to collapse
See above. Furthermore it doesn't mean that a newer radio is a better radio. You have to choose the best one for you in your region and your provider. There may be big differences, so not the latest one is the best one!
akash_nu said:
lol... how is camera performance related to radio?!
Click to expand...
Click to collapse
It isn't .
johnpatcher said:
Thats simply not true. Different ROMs contain different versions of the camera application as well as different graphic drivers, so it is heavily depending on the ROM.
I can't imagine that the radio has any impact on the camera, but can't say that for sure.
See above. Furthermore it doesn't mean that a newer radio is a better radio. You have to choose the best one for you in your region and your provider. There may be big differences, so not the latest one is the best one!
It isn't .
Click to expand...
Click to collapse
I have latest but as for now it works great...But tell me please,I have Just flashed my HD with |BLAC|6.5|ROM|WWE| ★ EnergyROM HD 'Phoenix' (21731) ★ || Build date 2009/6/8 ||... What kind of camera and graphic drivers are there...doesnt say anything specific in CHANGELOG!!!??? And how does this rom compares with others in meaning of camera?Also...does mannila have some impact on camera details and picture,as also when will manilla V3.0 be available and from where can I download it?
REGARDS
Just for the sake of completeness: I don't know what drivers are included / applications are included, and which of those have any impact on the camera. I just wanted to describe why the ROM actually matters, and the radio doesn't in terms of the performance of the camera.
It depends on the Driver, some newer ROMs have used the D3 Drivers, refer to the sticky thread on "how to improve the graphic...", now actually still under testing "they have just make a cab programme" since 1 Jun (still very new)..
Some of the new roms has incoprated that whereas some have not.
stefan063 said:
I have latest but as for now it works great...But tell me please,I have Just flashed my HD with |BLAC|6.5|ROM|WWE| ★ EnergyROM HD 'Phoenix' (21731) ★ || Build date 2009/6/8 ||... What kind of camera and graphic drivers are there...doesnt say anything specific in CHANGELOG!!!??? And how does this rom compares with others in meaning of camera?Also...does mannila have some impact on camera details and picture,as also when will manilla V3.0 be available and from where can I download it?
REGARDS
Click to expand...
Click to collapse
There seems to be at least 2 camera types in the ROMS. From what I can gather the standard stock camera has a zoom function, the second is taken from the Topaz and takes better pics (not sure why, but they do seem a bit sharper), but it has no zoom. There is a development going to add zoom to the Topaz camera.
I found this info in the Dutty 3.7 Rom thread. Search for Camera. There is also video of the "Zoom development"
Can't find the references (too much info scattered throughout the forum), anyway if I'm not mistaken Radio does not only relates to the GSM/UMTS but also on camera, bluetooth, IRDA (when present) etc..
The camera application only communicates with Radio through drivers (which are responsible for making sure that high-level commands are correctly understood and efficiently executed by the underling hardware). That's why we still have a ****ty camera when's dark outside.. it's not something you can easily fix with software.. you need a fix also on the Radio part which affects the REAL camera performance..
You can also find confirmation in this if you simply think at the "ISO" settings in the newer camera softwares from topaz/rhodium.. it simply doesn't work because our radio hasn't this functionality (iso settings)
I thought that the reason that the camera is slower in the dark is due to the fact that it requires the device to do more post-processing before the frame is drawn on the screen, thus why lowering the brightness in settings improves fps, as less PP is needed.
My old nokia 6600 was much better at taking pictures in night mode.. and clearly wasn't any better than TouchHD, both in terms of raw performance (CPU) and hardware acceleration (GPU).
Keep in mind that if it was only a problem connected to processing power, ONLY the image on screen should be moving slowly but, as soon as you take the picture, it should come out nice. The truth is however different: pictures taken in low light conditions are always blurred, as if the shutter was being held open too long.
Another confirmation of this fact is that if you put your HD on the table and keep it from moving too much while taking a picture in low light, the resulting image is not blurry and, most importantly, there's no evident noise!
Even a digital reflex produces noise with high ISO settings (needed in low light..) but, in this case, the result image is not blurred!
To recap: our camera can't have access to ISO settings, so ISOs are always the same. When you decrease the brightness you are simply asking the camera to capture less light, allowing the shutter to close a little bit faster and giving less blurred pictures.. That's something softwares can't modify in any way and the only hope is a new radio which enables this.. (given that our camera physically supports dynamic ISO settings..)
Eraser85 said:
That's something softwares can't modify in any way
Click to expand...
Click to collapse
You know that the radio is also some kind of software?
It may be that the radio is some sort of interface between the camera application and the hardware, but that doesn't mean that the ROM hasn't any impact as you'll find the drivers and the camera application there ...
johnpatcher said:
You know that the radio is also some kind of software?
It may be that the radio is some sort of interface between the camera application and the hardware, but that doesn't mean that the ROM hasn't any impact as you'll find the drivers and the camera application there ...
Click to expand...
Click to collapse
Ugh, not really... Radio core does not interface with camera IC/hardware.
stepw said:
Ugh, not really... Radio core does not interface with camera IC/hardware.
Click to expand...
Click to collapse
That was a theory of Eraser85, not mine!

Best X1 Camera Settings

I've been playing around with the camera settings as I've realized that the X1 camera usually takes very dark photos indoors. I usually use Sport settings, auto-focus as this is the best picture setting for me. But the picture usually comes out dark.
I've tried Twilight setting, auto-focus, and found out that it's pretty good, clear and bright! However the default for Twilight setting is infinite-focus, which I must admit is very blurry.
Is there any registry or .cabs that can fix this default? It would be the best X1 camera setting: Twilight, auto-focus.
Unless someone has a better alternative?
Edit:
I've played around the registry\HKLM\Software\SonyEricsson\Camera but to no avail. Uncertain which one keeps returning the setting to infinite-focus during Twilight after re-opening X1 camera....
something new?
Would like to know the best settings for the x1
i have the R3a update but the framerate in bad light situations sucks
try to use Samsung Omnia Camera to get setting camera good
has someone done that before? is there a thread?
why does no one answer here? so many guys here have the x1...which settings you use for optimal pictures or videos? who tried the omnia camera cab or another one?
probably because not so many people use their x1 anymore. plus it's an old phone, meaning: literally every question has been already answered multiple times.
you can try that omnia-cam, but i doubt it works - different hardware. but try...
apart from that all you can do is play with x1-app, it's better than the htc-app that comes with sense-roms. for lagfree videos it's important that you have a good, fast rom (dynamics, x826). it could also make a difference if you save to main-storage or sdcard (sd being slower than internal memory).
hm the xperia is the phone i daily use so i dont wanne be the testperson^^
is there a thread about this samsung omnia camera-xperia x1?
My suggest:Buy a digital cameral! aha
hoh not funny kim jong il
there must be a solution,maybe in the registry (drivers\Builtin\Camera Sensortype

[REQ] X2 Camera Development Question...

Hey guys,
I need a hand, It is an easy task, but unfortunately I have no Xperia so i must ask for a little help here.
What I need is someone with knowledge of registry, shortcuts & arguments to lend a quick glance to their device.
I need to know what shortcut the camera button is calling, What the registry for the button is including any arguments.
Baiscally the X2 Camera works on other devices with out the lag of the HTC camera. Unfortunately the newer HTC devices use a touchscreen button or v-button to snap the pi, or start video.
I want to map a key on the TP2 to hook the X2 camera snap / start video functions, but I have no X2 to look at. If someone could please take a look at the registry settings for the buttons controlling the camera function & also any short cuts, you can open in note pad or post a copy sp I can see what arguments they are calling to get the picture to snap or video to start rolling.
Thanks Again!
i basically cant help you with what your requesting but...
im curious...
what's your goal on this?
sorry
I'm also just curios...
x2's camera is 8mp, there's no HTC device with more than 5mp. Does the x2 software work on a device with lower resolution cam ?

Categories

Resources