[Q] Any way to switch camera on Kaiser? - Tilt, TyTN II, MDA Vario III Android Development

Hi,
I am trying to use Barcode Scanner but the quality of the camera is poor - so bad, the scanner does not catch anything of relevance.
On the Kaiser, there are two cameras, I was wondering if the front one will have more success? Or do you guys know any other way...?
Thanks,
01alim
Using: Scoot CyanogenMod 6.1 RLS4c on Kaiser (Tytn II)
Kernel: 2.6.32

use circle (scroll) on left side under bubble and top ok to manual focus

Michga said:
use circle (scroll) on left side under bubble and top ok to manual focus
Click to expand...
Click to collapse
Oh, cool, thanks.
That helps with barcodes a bit, but copying QR codes from computer monitors still fails - maybe due to those horizontal 'scanlines' you get when viewing monitor through camera.
Thanks though.

Related

camera rom from trinity possible?

the hermes front camera cannot be used to take pictures of yourself, but the camera from trinity has an extra special icon where you can click to change the cameras
is it possible to get the camera software from trinity and flash it into my hermes? anybody knows?
Use the search! It's been discussed before. (Yes, it's possible to use the Trinity's camera driver but you lose the LED flash.)
A better option is ATEKsoft's software.
(Longing for grainy VGA shots of your face?)
Don't you have the shiny self portrait mirror next to the main lens for that???
Oggy.
Ogier said:
And loving every minute of this new toy
Click to expand...
Click to collapse
Your sig reminded me of this article - how everything gets "old" eventually.

[Q] Camera doesn't focus well

Ok, I'm having a hit or miss problem with the camera. I have fresh 3.1, btw.
I'll try to take a picture of something, for example, I have a rubix cube here. keeping the camera about 8" away from the cube, trying to get a picture of the word "Rubix". I tap the button to take a picture. the camera goes in and out of focus, it focuses the word "Rubix" perfectly, then goes out of focus and snaps the picture. I've tried tapping the screen to focus on the specific area, and it still does it. I've tried holding the button down until the picture takes, but it still goes in and out of focus, then snaps a blurry pic, or at least the area I want focused is blurry. Another issue with the flash... When the flash goes off, the camera will focus in and out on the object, and usually hold until the flashed area is focused and not washed out. But the camera just snaps the picture without focusing.
Like I said, both problems come and go. Any ideas?
I've searched and I still don't see any answers. Anyone?
The camera on the phone is pretty bad IMO. Typical results.
supdawg said:
The camera on the phone is pretty bad IMO. Typical results.
Click to expand...
Click to collapse
Yeah what he said. It's almost like some htc exec said on the day before launch, "you guys did put a camera on this thing right?" And some hung over strung out engineer was like "um.."
Did you try changing the settings to Macro for close up shots?
nbajwill55 said:
Did you try changing the settings to Macro for close up shots?
Click to expand...
Click to collapse
Im pretty sure there isnt a macro setting.
jasongthang said:
Ok, I'm having a hit or miss problem with the camera. I have fresh 3.1, btw.
I'll try to take a picture of something, for example, I have a rubix cube here. keeping the camera about 8" away from the cube, trying to get a picture of the word "Rubix". I tap the button to take a picture. the camera goes in and out of focus, it focuses the word "Rubix" perfectly, then goes out of focus and snaps the picture. I've tried tapping the screen to focus on the specific area, and it still does it. I've tried holding the button down until the picture takes, but it still goes in and out of focus, then snaps a blurry pic, or at least the area I want focused is blurry. Another issue with the flash... When the flash goes off, the camera will focus in and out on the object, and usually hold until the flashed area is focused and not washed out. But the camera just snaps the picture without focusing.
Like I said, both problems come and go. Any ideas?
Click to expand...
Click to collapse
Indeed Jason, indeed.
The TTF utility is very hit and miss. As is the entire camera functionality.
See here for more interest on this topic:
http://forum.xda-developers.com/showthread.php?t=782211
Sent from my Fresh 3.4 Evo (2nd refurbished unit) with major light leakage, crappy camera, and lag switch enabled.
The camera focusing algorithm appears to be flawed.
It will take someone to completely rewrite the camera app code to make this right with the evo camera.
It's clear to me that the AOSP camera code doesn't work well with the Evo camera. And unfortunately, HTC chose not to use a new code, but rather use the default Froyo code with this new piece of hardware.
Until someone takes the time to write the proper code for focusing the Evo camera, you are stuck with trying to manually focus the camera, multiple times, until the good looking focus is achieved.
It takes me good 5-10 times to manually focus the camera until a good sharp image is seen...

Use of front camera in HTC EVO

Hello Everybody,
I'm developing an android application which uses the front camera.
As the Android SDK doesn't supoprt it natively, I need to fint the register name which tells the system to use the front camera. Unfortunately, I do not know how this parameter is called. Does anyone can help me?
btw, As I do not have an HTC Evo If anybody can help me by testing my app on its HTC evo, it will helps me a lot.
Many thanks in advance,
Best regards.
ill test if you tell me what the app does/is for
chikenkilr said:
btw, As I do not have an HTC Evo If anybody can help me by testing my app on its HTC evo, it will helps me a lot.
Many thanks in advance,
Best regards.
Click to expand...
Click to collapse
All I could think of was some of the CraigsList replies I get that want my item shipped to Africa.
GL with your app, hope it's a fun one, not enough stuff uses the front camera yet.
Hi,
many thanks for your answer and your help.
My app is quite simple, it acts as a mirror by displaying the front camera in full screen (it crops left and right parts of the picture in order to maximise the picture surface.
My app is avaiblable in the android market under the name : MagicMirror-Lite
I get some feedbacks that my app does work on Evo devices.
Before adding other features (such as zoom and so on), I would like to get first quite a reliable app which works on most of terminals (which have a front camera of course).
Pao23 said:
GL with your app, hope it's a fun one, not enough stuff uses the front camera yet.
Click to expand...
Click to collapse
I think the same, but as there is no explicit command in the android SDK which allows to use the front camera, I first need to get a reliable way to use front cams.
chikenkilr said:
Hi,
many thanks for your answer and your help.
My app is quite simple, it acts as a mirror by displaying the front camera in full screen (it crops left and right parts of the picture in order to maximise the picture surface.
My app is avaiblable in the android market undre the name : MagicMirror-Lite
I get some feedbacks that my app does work on Evo devices.
Before adding other features (such as zoom and so on), I would like to get first quite a reliable app which works on most of terminals (which have a front camera of course).
Click to expand...
Click to collapse
I like that bro im in on that! Givein that app a go thanx!!
Sent from my 1.2 HP EVO
explicit command in the android SDK which allows to use the front camera
Click to expand...
Click to collapse
The Cyanogen team has the front facing commands figured out.
Also, these guys do too http://www.popcrowd.com/
Maybe one would be willing to share or you could take a peak at their code.
Hi everybody,
Many thanks for your inputs.
If I made everything right, my application should now work on Sprint devices.
I uploaded a new version of the application. So, if you can test it on yours, it will be very helpful for me.
Cheers!
It uses the main camera on the EVO not the front one like you want.
Sorry.
Image is also turned 90 degrees...
For the rotation this is normal as the rear camera is rotated to 90° compared to the front camera (in order to use the rear camera in landscape mode and the front camera in portrait mode).
Ok well it still uses the wrong camera.
Looks promsing though.
Many thanks,
and before adding more sexy-features (like pinch zoom, or picture grabbing...) I want first to make sure my app is compatible with most mobile devices.
(If you have features ideas, do not hesitate )
Cool.
I'll test it again once you see about using the front camera.
I think I found what was wrong,
in the manifest file, I added:
<uses-library android:name="com.sprint.hardware.twinCamDevice" android:required="false"/>
I hope that this will make the things goes right for Sprint users without generating bugs for non-Sprint users.
how about make a video chat app that works all the time
chikenkilr said:
I think I found what was wrong,
in the manifest file, I added:
<uses-library android:name="com.sprint.hardware.twinCamDevice" android:required="false"/>
I hope that this will make the things goes right for Sprint users without generating bugs for non-Sprint users.
Click to expand...
Click to collapse
It works with the front camera now but you still need to rotate the image 90degress. I don't see why anyone would want a mirror that the reflection is sideways!
You're completely right, if picture is rotated, it is completely useless. ^^
What is that for the samsung Epic, picture owns the right orientation.
Futhermore, picture should be distorded on your Evo device?
Last question, I must rotate picture in clockwise or in counter-clockwise?
It works on my evo
You need to rotate image 90 degrees clockwise...no matter how I turned the phone the imageit displayed was turned facing 9 o'clock...
Keep working at it!
Swyped from an HTC Evo on MetroPCS...
Yep, me too. The top of my head points to the left no matter how I hold the camera. It 'IS' working with the front camera though.
I'm just beginning to test the front facing camera on my Evo too with some code. I 'think' I read that the Sprint library has to be included in the manifest (to enable the front camera); however, they say the app will not load on phones that don't have this library. that seems pretty severe. Anyone tested that out ?
It would be nice to make apps that use the front camera if possible but still use the regular cam if the front one's not available.
Hi rufus,
Yes the library must be loaded, but, as I mentioned above, you must add the :"android:required="false". So if the library exists, it will be loaded and if not, it doesn't mattre. But you need to add in your source a test to check if the library exists or not. It is explained in the sprint sdk.
Ok I'll add a test on my program add add a rotation if detected phoe is an HTC evo.
Is the ratio of the picture ok or not?
The ratio of the picture is good, but I assume once it's rotated 90 degrees, it wont' be. It's still rotated 90 counterclockwise...the top of my head is at the left.

Camera: Touch Focus for Defy

I learned how to use Touch Focus using the ROM MS2Ginger 1.0:
open the camera app,
press and hold the white square in the middle, drag it to wherever you want and drop.
Press and hold the capture icon, the square becomes green in the place you dropped it.
When you release the capture icon the picture is taken.
Remember to clean possible dirtiness or fingerprints from the lens.
I would like to know if there is a way to use this feature (or bring it) in other ROMs, and if it works in both red/green lens.
If you try please share your result.
Origin: http://forum.xda-developers.com/showthread.php?p=17704852&page=74
mrolp said:
I would like to know if there is a way to use this feature (or bring it) in other ROMs, and if it works in both red/green lens.
If you try please share your result.
[/url]
Click to expand...
Click to collapse
IMO, the best & simple way for using touch to focus is Camera360.. This is the best camera application. Offers various cool effects & also touch to focus option.
Its pretty cool..
MazaMoto said:
IMO, the best & simple way for using touch to focus is Camera360.. This is the best camera application. Offers various cool effects & also touch to focus option.
Its pretty cool..
Click to expand...
Click to collapse
It works, and has many configurations, thanks.
Does touch to focus works in your stock blurcamera as I described?
Many camera apps support touch to focus, like LGcamera and Camera360.
But I hope you know that the defy itself doesn't support touch to focus, so when using the app it may appear that it is working but it is still focussing on on the center:
http://forum.xda-developers.com/showpost.php?p=17181792&postcount=10899
http://forum.xda-developers.com/showthread.php?p=17181792#post17181792
The next page the dev says that moto's driver doesn't support it and that there is nothing that can be done about that.
tejus.k.v said:
Many camera apps support touch to focus, like LGcamera and Camera360.
But I hope you know that the defy itself doesn't support touch to focus, so when using the app it may appear that it is working but it is still focussing on on the center:
http://forum.xda-developers.com/showpost.php?p=17181792&postcount=10899
http://forum.xda-developers.com/showthread.php?p=17181792#post17181792
The next page the dev says that moto's driver doesn't support it and that there is nothing that can be done about that.
Click to expand...
Click to collapse
Only now I found the setting that I had to change in lgCamera, Touch Focus is working there too, thanks.
I've attached some pictures made with my Defy using focus in different objects, can you confirm if you can do the same?
Maybe it's ROM/lens dependent.
EDIT:
I've attached both reduced size and full size.
This manual touch focus is working for Defy. I'd tested it many times with difference objects far and near and they seemed to work very nice. I use the stock camera as it integrated with my blur galery very good and easily share or upload it to my social network apps.. This Defy even worked with the face detection and sometimes I even use it to take group of peoples without any issues.
can any of you actually tell me how to get touch focus working on any of the camera apps?stock,lg or 360 i can't seem to find the settings to change it to touch focus..
mrolp said:
Only now I found the setting that I had to change in lgCamera, Touch Focus is working there too, thanks.
I've attached some pictures made with my Defy using focus in different objects, can you confirm if you can do the same?
Maybe it's ROM/lens dependent.
EDIT:
I've attached both reduced size and full size.
Click to expand...
Click to collapse
Try taking a photo like the one attached, with your fingers kept at the center and very close to the camera, while clicking on the farther object to the side (here my laptop). The camera will still focus on the nearer object, the fingers, at the center of the screen rather than at the object you clicked on . So touch to focus isn't working the way it is supposed to, it only just focusses at the object at the center of the screen whenever you touch anywhere on the screen.
I am on CM7 RC1.5, SOC Module. Touch to Focus probably won't work the way it is supposed to unless someone can fix the drivers moto has supplied for the phone. If it is working properly on your ROM maybe it can be ported
I don't remember if Eclair or Froyo has this touch focus function under stock rom. But I'm positively sure all gingerbread stock rom has it, however, it still dependance on Red lenses and Green lenses capability I supposed. Custom rom like CM7 or Miui may have altered alot which makes this function disappeared only the rom developer knows.
@scottie1973
for camera360:
go to definitions (wheel in top right), "Common Set",
make sure "Shoot by screen touch" is checked,
and that the "Shoot Mode" is defined as "Auto Focus".
for lgcamera:
you need to open definitions, and in the end of the list are a lot of checkbox to be selected.
In mine the words are not in english, but it's related to long click to Autofocus and capture.
For the stock is as described in the first post.
If after autofocus, the square is turning blue instead of green, means that the camera was not able to focus correctly.
@tejus.k.v
It works that way, even though I notice that there is a minimal area of a object for you to be able to focus at it. I don't know if this thing is perfect or not, but it works in the ROM I'm using (developed by walter79).
@farsight73
Others will join us
mrolp said:
@scottie1973
@tejus.k.v
It works that way, even though I notice that there is a minimal area of a object for you to be able to focus at it. I don't know if this thing is perfect or not, but it works in the ROM I'm using (developed by walter79).
Click to expand...
Click to collapse
Wow nice
Lemme post a link to this thread in the CM7 thread and see
thanks for the info mrolp your a gent..

The second camera Thread

Hi guys, I just got my oneplus 5T today and i want to talk to you about the quality of the photos of this phone and how this camera setup is helping or not ?
For me, it's a waste of the second camera slot to use this "night camera module" ...
First of all i don't see the diference (using the pro mode and switch between the twos) and second, there is no other functions of the phone that use this second camera to improve anything (at least it shoud he use to combine two photos and result in a better pixel quality but since they have the same lens i don't think this helps either)
So what do you think guys ?
prologikus said:
Hi guys, I just got my oneplus 5T today and i want to talk to you about the quality of the photos of this phone and how this camera setup is helping or not ?
For me, it's a waste of the second camera slot to use this "night camera module" ...
First of all i don't see the diference (using the pro mode and switch between the twos) and second, there is no other functions of the phone that use this second camera to improve anything (at least it shoud he use to combine two photos and result in a better pixel quality but since they have the same lens i don't think this helps either)
So what do you think guys ?
Click to expand...
Click to collapse
In my opinion, I think they should implement the same feature as the essential phone. Using both cameras to create on single and good looking picture. If they can, they could make the main lens take all the details of the image and make the 2nd lens take all of the light and then somehow merge both images to create a perfect one.
Probably never going to happen though......
Colday96 said:
In my opinion, I think they should implement the same feature as the essential phone. Using both cameras to create on single and good looking picture. If they can, they could make the main lens take all the details of the image and make the 2nd lens take all of the light and then somehow merge both images to create a perfect one.
Probably never going to happen though......
Click to expand...
Click to collapse
They can't do it now because "the black and white sensor has had its top layer’s color filter removed. Without it, the sensor is unable to capture color, but its ability to capture light increases by 3x. This is especially helpful with low-light environments."(qualcomm clear sight)
prologikus said:
They can't do it now because "the black and white sensor has had its top layer’s color filter removed. Without it, the sensor is unable to capture color, but its ability to capture light increases by 3x. This is especially helpful with low-light environments."(qualcomm clear sight)
Click to expand...
Click to collapse
I guess we'll just have to wait for oneplus to release an update improving their camera's performance.....
Or if you look online, you might be able to find a ported google camera with hdr+

Categories

Resources