Symbian-Developers
The Official Developers Section => Symbian Software Development Discussions => The Developers Section => Qt Application Development => Topic started by: huellif on August 21, 2013, 12:52:34 am
-
1. add
LIBS += -lavkon
to your .pro file in Symbian {}
2. include
#include "aknkeylock.h"
to your class/header/main.cpp
3. Now put this code into your function:
RAknKeyLock aKeyLock;
CleanupClosePushL(aKeyLock);
User::LeaveIfError(aKeyLock.Connect());
aKeyLock.EnableWithoutNote();
//aKeyLock.DisableWithoutNote();
CleanupStack::PopAndDestroy(&aKeyLock);
really easy ;)
-
once again a cool tutorial from you :)
Expecting some more tips ;)
-
once again a cool tutorial from you :)
thanks my friend ;)
Expecting some more tips ;)
later I will create a simple multilanguage tutorial for a QtQuick UI.
-
Can I lock the screen but leave it on just like SMS message does?
-
sorry I don't get you?
-
Ok. When you get a SMS message with phone locked, screen is turned on for a while and showing lockscreen with notification (at least on Belle Refresh). I'd like to replicate such behavior.
-
first of all it's not possible to add a notification to lockscreen :(
and I don't know how to stop screensaver and show lockscreen
-
Did you have any luck with looking in the old Symbian sources huellif?
-
sorry, still had no time to search it.
-
*fixed exception handling