ICamera preview on the A870 | developer.brewmp.com ICamera preview on the A870 | developer.brewmp.com

Developer

ICamera preview on the A870

Forums:

I am having trouble with ICamera preview mode on the Samsung SCH A870. When I start the camera at 160x120 (and other resolutions), my callback receives the CAM_STATUS_START callback, but never receives any CAM_STATUS_FRAME notifications.

Has anyone had any success using preview mode on the A870? Is there any special setup that is required to make it work? None of the usual suspects (delay between creation and start, change of resolution) has worked for me.

Considering that this is one of the first Samsung's to claim support for the ICAMERA interface, I wouldn't be at all surprised if it was buggy / non-functional.
Have you had any success with other handsets that claim support, A930, U620?

Considering that this is one of the first Samsung's to claim support for the ICAMERA interface, I wouldn't be at all surprised if it was buggy / non-functional.
Have you had any success with other handsets that claim support, A930, U620?

The same code runs fine on a number of different handsets from other manufacturers. I've learned a number of tricks to make the camera work on those other phones, but none of them seem to work on the Samsung.
Our A930 is currently off being test-enabled. Hopefully that port will go smoother than this one...

The same code runs fine on a number of different handsets from other manufacturers. I've learned a number of tricks to make the camera work on those other phones, but none of them seem to work on the Samsung.
Our A930 is currently off being test-enabled. Hopefully that port will go smoother than this one...

I have no luck on the a930 with my code which works on several other phones from other manufacturers. I'm about to start fiddling and I'll let you guys know if I get it working.

I have no luck on the a930 with my code which works on several other phones from other manufacturers. I'm about to start fiddling and I'll let you guys know if I get it working.

That's too bad alwold,
Our code was able to successfully use the camera on the A930, at both 160x120 and 176x144. I don't recall having to make any special changes to make it work, but the code already had work-arounds for several other devices in it, so I don't know exactly what it took to make the code run.

That's too bad alwold,
Our code was able to successfully use the camera on the A930, at both 160x120 and 176x144. I don't recall having to make any special changes to make it work, but the code already had work-arounds for several other devices in it, so I don't know exactly what it took to make the code run.

aceschle wrote:That's too bad alwold,
Our code was able to successfully use the camera on the A930, at both 160x120 and 176x144. I don't recall having to make any special changes to make it work, but the code already had work-arounds for several other devices in it, so I don't know exactly what it took to make the code run.
Ah..I am getting a preview screen if I set it to 160x120. That's unfortunate if it is limited to such low resolutions.

aceschle wrote:That's too bad alwold,
Our code was able to successfully use the camera on the A930, at both 160x120 and 176x144. I don't recall having to make any special changes to make it work, but the code already had work-arounds for several other devices in it, so I don't know exactly what it took to make the code run.
Ah..I am getting a preview screen if I set it to 160x120. That's unfortunate if it is limited to such low resolutions.

Put some delay before starting the Preview mode.

Put some delay before starting the Preview mode.

What resolutions are you typically used to getting in PREVIEW mode? We haven't been able to consistently get results for resolutions higher than say 176x176. About 1/2 of the phones that we've tried will work for one of 240x240, 320x240, 240x320, which is approaching the screen resolution, but we have learned not to depend on this behavior if we want to easily port from device to device.
The lack of universal support for ICAMERA_GetDisplaySizeList makes porting between devices more difficult than it should be. Do you have a good way to find the resolutions that are supported on a particular device?

What resolutions are you typically used to getting in PREVIEW mode? We haven't been able to consistently get results for resolutions higher than say 176x176. About 1/2 of the phones that we've tried will work for one of 240x240, 320x240, 240x320, which is approaching the screen resolution, but we have learned not to depend on this behavior if we want to easily port from device to device.
The lack of universal support for ICAMERA_GetDisplaySizeList makes porting between devices more difficult than it should be. Do you have a good way to find the resolutions that are supported on a particular device?

skumar_rao wrote:Put some delay before starting the Preview mode.
Yeah, I've got that already for other phones.

skumar_rao wrote:Put some delay before starting the Preview mode.
Yeah, I've got that already for other phones.

aceschle wrote:What resolutions are you typically used to getting in PREVIEW mode? We haven't been able to consistently get results for resolutions higher than say 176x176. About 1/2 of the phones that we've tried will work for one of 240x240, 320x240, 240x320, which is approaching the screen resolution, but we have learned not to depend on this behavior if we want to easily port from device to device.
The lack of universal support for ICAMERA_GetDisplaySizeList makes porting between devices more difficult than it should be. Do you have a good way to find the resolutions that are supported on a particular device?
I never try to set the preview size because its too unreliable, I just use the default. I was actually referring to the capture size. If I set the capture size to bigger resolutions (like the ones supported in the native camera app), it doesn't make it to the preview mode.

aceschle wrote:What resolutions are you typically used to getting in PREVIEW mode? We haven't been able to consistently get results for resolutions higher than say 176x176. About 1/2 of the phones that we've tried will work for one of 240x240, 320x240, 240x320, which is approaching the screen resolution, but we have learned not to depend on this behavior if we want to easily port from device to device.
The lack of universal support for ICAMERA_GetDisplaySizeList makes porting between devices more difficult than it should be. Do you have a good way to find the resolutions that are supported on a particular device?
I never try to set the preview size because its too unreliable, I just use the default. I was actually referring to the capture size. If I set the capture size to bigger resolutions (like the ones supported in the native camera app), it doesn't make it to the preview mode.

aceschle wrote:The same code runs fine on a number of different handsets from other manufacturers. I've learned a number of tricks to make the camera work on those other phones, but none of them seem to work on the Samsung.
Any luck with ICamera in preview mode on Samsung, particularly u620. I am having severe flicker problems similar to some LG models whenever I Blt the pFrame from the camera preview. Code works well on other devices such as Motorola RAZR V3c, V3m, KRZR K1m.
What are some of the tricks you mention that you have successfully employed on other phones?
- Thanks, David

aceschle wrote:The same code runs fine on a number of different handsets from other manufacturers. I've learned a number of tricks to make the camera work on those other phones, but none of them seem to work on the Samsung.
Any luck with ICamera in preview mode on Samsung, particularly u620. I am having severe flicker problems similar to some LG models whenever I Blt the pFrame from the camera preview. Code works well on other devices such as Motorola RAZR V3c, V3m, KRZR K1m.
What are some of the tricks you mention that you have successfully employed on other phones?
- Thanks, David