3rd edition and keypad lock
Hello...
I'm sending my application to background and to foreground after some time.
Of course when keypad is locked it won't work, so before puting application to foreground I use code:
[CODE] RAknKeyLock keyLock ;
keyLock.Connect();
keyLock.EnableSoftNotifications(ETrue);
if (keyLock.IsKeyLockEnabled())
{
keyLock.DisableKeyLock();
m_bLockKeyPad = TRUE;
}
keyLock.Close();
[/CODE]
Where [i]m_bLockKeyPad[/i] is variable telling me if keypad was locked.
It worked fine with 2nd edition devices, but it keeps only crashing my application for 3rd edition.
Any advices?
Regards...
Re: 3rd edition and keypad lock
Ok... After commenting out line:
[CODE]keyLock.EnableSoftNotifications(ETrue);
[/CODE]
Application doesn't crash :/
Heh... One small step ahead... Now to find another "small" thing...
Re: 3rd edition and keypad lock
same problem here...
if i add the line:
keyLock.EnableSoftNotifications(ETrue);
then the applikation works on the emulator but not on the real device (N80).
if i comment out this line then it doesn't work in the emulator but on the real device (N80). But the Problem is, it works [B]only one time[/B]. After the Code segment was running one time it doesn't work again.
does anyone have a solution for this problem?
thanks in advance
chris