×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    79

    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();
    Where m_bLockKeyPad 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...

  2. #2
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    79

    Unhappy Re: 3rd edition and keypad lock

    Ok... After commenting out line:
    Code:
    keyLock.EnableSoftNotifications(ETrue);
    Application doesn't crash :/

    Heh... One small step ahead... Now to find another "small" thing...

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    20

    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 only one time. 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
    Last edited by chrisbchrisb; 2006-06-13 at 15:26.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •