I was successfully catching camera shutter key for capturing picture in my own app using
But after updating to Belle on my C7 (and customer's E7) standard camera application is started on shutter press.
I've checked the logs and I see that I still get in OfferKeyEvent appropriate camera shutter key events:
EKey: iCode = 0xf849, iScanCode = 0xab, aType: 0x1
but only after app coming back into focus from closed built-in camera application, which is not good for me.
And I do
handle = iEikonEnv->RootWin().CaptureKeyUpAndDowns(0xf849 , 0, 0);
for this iCode = 0xf849 at view initialization.
Is there is another way not to start camera app on shutter press?
So far user can just make pic by clicking on a screen, but doing it with camera key is much better for some users.
I saw that there is a way to use CNewFileServiceClient
But I'll have to rewrite a big part of applicaiton, and as I understood I'll need UID of camera app, which can be different for different phone models (or is it the same for all Nokia phones?).