Re: about CPbkContactEngine
if i am not wrong you forgot to write which problem you are facing...
Re: about CPbkContactEngine
when run CPbkContactEngine::NewL() the application exit with the information "application_name quit"
but it didn't happen on epoc
why
Re: about CPbkContactEngine
Try getting some Error Messages. With [url]http://wiki.forum.nokia.com/index.php/TSS000254_-_How_can_I_get_extended_information_in_error_messages%3F[/url]
Re: about CPbkContactEngine
[QUOTE=milandttp;376281]when run CPbkContactEngine::NewL() the application exit with the information "application_name quit"
but it didn't happen on epoc
why[/QUOTE]
How do you know that your application exists on CPbkContactEngine::NewL()?
Re: about CPbkContactEngine
[QUOTE=pirosl;376286]How do you know that your application exists on CPbkContactEngine::NewL()?[/QUOTE]
i debug it like this:
iEikonEnv->AlertWin(_L("display 1"));
CPbkContactEngine::NewL()
iEikonEnv->AlertWin(_L("display 2"));
but just displayed "display 1" then application exit
so i think my application exit on CPbkContactEngine::NewL()
Re: about CPbkContactEngine
Try Using CPbkContactEngine::Static()
Re: about CPbkContactEngine
[QUOTE=skumar_rao;376294]Try Using CPbkContactEngine::Static()[/QUOTE]
had the same problem
Re: about CPbkContactEngine
are you using the CPbkContactEngine non-GUI application ?
Re: about CPbkContactEngine
[QUOTE=milandttp;376299]had the same problem[/QUOTE]
Can you try the following thing and let us know the results?
iEikonEnv->AlertWin(_L("display 1"));
CPbkContactEngine* eng = CPbkContactEngine::Static();
if(!eng) iEikonEnv->AlertWin(_L("display 3"));
else iEikonEnv->AlertWin(_L("display 2"));
Re: about CPbkContactEngine
[QUOTE=skumar_rao;376301]are you using the CPbkContactEngine non-GUI application ?[/QUOTE]
no, i used in a view
Re: about CPbkContactEngine
[QUOTE=pirosl;376302]Can you try the following thing and let us know the results?
iEikonEnv->AlertWin(_L("display 1"));
CPbkContactEngine* eng = CPbkContactEngine::Static();
if(!eng) iEikonEnv->AlertWin(_L("display 3"));
else iEikonEnv->AlertWin(_L("display 2"));[/QUOTE]
CPbkContactEngine::Static(); return NULL
so display "display 3"
Re: about CPbkContactEngine
[QUOTE=milandttp;376308]CPbkContactEngine::Static(); return NULL
so display "display 3"[/QUOTE]
On what phone do you test? (what s60 version?)
Re: about CPbkContactEngine
[QUOTE=pirosl;376314]On what phone do you test? (what s60 version?)[/QUOTE]
on s60 2nd version it works well(i used N70 to test on 2nd version)
but on s60 3rd version it runs error(i used Nokia 3250 to test on 3rd version, and on N95 and E65 there are the same problem)
Re: about CPbkContactEngine
[QUOTE=milandttp;376317]on s60 2nd version it works well(i used N70 to test on 2nd version)
but on s60 3rd version it runs error(i used Nokia 3250 to test on 3rd version, and on N95 and E65 there are the same problem)[/QUOTE]
As far as I know, on 3rd edition you need ReadDeviceData ReadUserData WriteDeviceData WriteUserData capabilities. Do you have them all or only ReadUserData and WriteUserData?