How to simulate camera viewfinder stream in emulator?



Hi,
Just had the first steps with the Imaging SDK. One question regarding development with emulator:
Is there any way to pass a static image stream to camera viewfinder to test camera related functionalities without deploying to a device?
I did some quick search around the web ad this forum but wasn't able to find solution for this.
BR,
mm

Related to : How to simulate camera viewfinder stream in emulator?
Camera Viewfinder problem...
Mobile Programming
I'm implementing a viewfinder on Series 60 using the SnapShot example plus requesting continuous low quality snaps from CameraManager Active Object.
The problem is the Camera is not ready at all times, and when the user actually does request a "snap" high quality picture, chances are the Camera Server is not ready yet, and his request is not completed.
How can I wait for the CameraManager active object to become ready before I actually execute this high quality snap?
I tried User::After but of course it doesn't work since it puts the whole thread to sleep (including the CameraManager active object). I tried looping (while) but that simpl
"Problem" with camera viewFinder
Mobile Programming
Hi,
i have a strange problem with the viewfinder. I have a N73, which as a 240x320 resolution. I have a minimal application that uses the onboard camera. I start the viewfinding with
iCamera->StartViewFinderBitmapsL(size)
where size is the resolution of the bitmap that will be passed to
the function
ViewFinderFrameReady(...)
As i said, the resolution of the screen is 240x320, so i set the resolution of the viewFinder to 240x320. The problem is that
the viewFinder will not have a 240x320 resolution but only 240x180, and i don't really understand why!!!
If i set size to 320x240, i get a
Camera viewFinder
Mobile Programming
Hello,
how can i launch camera viewFinder on full screen.
I get phone resolution in this way:
[CODE]
CEikonEnv *eikonEnv;
eikonEnv=CEikonEnv::Static();
CGraphicsDevice *screen;
screen = eikonEnv->ScreenDevice();
TSize mySize = screen->SizeInPixels();
[/CODE]
and then i m trying to launch view finder in this way:
[CODE]
...
TRAPD(ignored, iCamera->StartViewFinderBitmapsL(mySize));
...
[/CODE]
view finder launch but it s not in full screen mode.
There is some space under the viewFinder.
What am i doing wrong??
thanks
Camera ViewFinder problem
Mobile Programming
I have a strange problem with camera ViewFinder.
I use MCameraObserver2 interface. This interface has a method - ViewFinderReady(MCameraBuffer& aCameraBuffer, TInt aError), which has to be called periodicaly.
But in my program it called only once.
There is my algorithm with camera:
1) iCamera = CCamera::New2L(*this, 0, 0);
2) iCamera->Reserve();
3) in HandleEvent(const TECAMEvent& aEvent) I call iCamera->PowerOn();
4) in HandleEvent(const TECAMEvent& aEvent) I call StartViewFinder();
A code of the HandleEvent and StartViewFinder:
[PHP]
void HandleEvent(cons
Qt Camera full viewfinder
Mobile Programming
I am currently trying to display a full viewfinder.
I have managed to show it by QGraphicsVideoItem and video capture mode approach.
However this is not what I really want. I would need each viewfinder frame. It means my viewfinder is using QAbstractVideoSurface class.
With this class, changing the video resolusion does not help to change the viewfinder.
I would like to know if this is really impossible in the current version(QtMobility 1.1.3) or I am doing something wrong.
The following is my code:
[CODE] m_camera = new QCamera();
m_camera->setCaptureMode(QCamera::CaptureVideo);
connect(m_camera, SIGNAL(error(QCamera::Er
How to simulate camera viewfinder stream in emulator?
Mobile Programming
Hi,
Just had the first steps with the Imaging SDK. One question regarding development with emulator:
Is there any way to pass a static image stream to camera viewfinder to test camera related functionalities without deploying to a device?
I did some quick search around the web ad this forum but wasn't able to find solution for this.
BR,
mm

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .