I am doing Augmented Reality(AR) project in symbian . Recently I tried to install my AR applications in Nokia N8 (Symbian^3). My application already work in S60_3rd/S60_5th Edition phone. I am using free artoolkitplus (symbian) library for tracking part. Now when i tried to open my AR application in Nokia N8 it shows error "already in use". It seems problem is coming from camera and camera also not opening. I already tried to build my existing application in Symbian^3 SDK v0.8 and shows same problem in phone. MY camera coding is something like:
#define CAP_IMG_WIDTH 256
#define CAP_IMG_HEIGHT 192
#define BG_TEXTURE_WIDTH 256
#define BG_TEXTURE_HEIGHT 256
void CCube::AppInit( void )
camera = new CameraN(0);
camera->Init(15.0, CAP_IMG_WIDTH, CAP_IMG_HEIGHT, BG_TEXTURE_WIDTH, BG_TEXTURE_HEIGHT);
vidTex = new VideoTexture();
vidTex->Create(CAP_IMG_WIDTH, CAP_IMG_HEIGHT, BG_TEXTURE_WIDTH, BG_TEXTURE_HEIGHT);
void CCube::AppCycle( TInt aFrame )
Basically as I mentioned. it seems camera coding has mismatch with symbian^3 with my existing(S603rd/5th) coding.
So can anybody help me to solve this problem...