×

Discussion Board

Results 1 to 2 of 2

Thread: device unlock

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    13

    Question device unlock

    Dear All;
    i need help on how to unlcok meego device ...
    i have tried :
    1.setState using qmsystem2 library ==>> didn't work
    2.MeeGo::QmDisplayState using setblanking() ==>> didn't work
    so; now i couldn't unlock device at anytime ???????

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: device unlock

    Hi,
    You can use Mobility Screensaver class to "unlock" the device;
    QSystemScreenSaver s;
    s.setScreenSaverInhibited(true);

    The previous method sends a dbus message to MCE, so you need to set the right credentials
    to your app to make it working.
    Here is how your Manifest file should look like:

    <aegis>
    <request policy="add">
    <credential name="mce:eviceModeControl" />
    <credential name="mce::TKLockControl" />

    <for path="/opt/screensaver/bin/YOUR_APPLICATION_NAME" />
    </request>
    </aegis>
    Last edited by gnuton; 2011-10-03 at 13:20.

Similar Threads

  1. Replies: 13
    Last Post: 2011-06-03, 16:32
  2. Lock / Unlock device from Qt
    By JKoder in forum [Archived] Qt Mobility Project
    Replies: 5
    Last Post: 2010-10-20, 17:49
  3. How Can I Unlock My N73
    By bovd in forum General Development Questions
    Replies: 2
    Last Post: 2008-09-01, 20:32
  4. Could nokia afford service to unlock the 6131 nfc device?
    By hunter_hsq in forum Near Field Communication
    Replies: 4
    Last Post: 2008-05-25, 19:02

Posting Permissions

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