×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Apr 2013
    Posts
    7

    Help with method to handle the Lock Screen..

    Hi, I’m Stefano and I would like to know if there is a method to handle the lockscreen.
    I wish that when I unlock the black screen of the mobile phone (Nokia N9), opens in a Qt application (which I created), but I do not know code to handle the lock screen.
    The application is simply an application that when you unlock the phone, to enter the menu of the smartphone (Nokia N9), it asks you for the password, it is a security application for your phone.

    Thanks to all

    Edit:
    I solved in this way:

    I have included this in the main.qml file:
    Code:
    import QtMobility.sensors 1.2
    import QtMobility.location 1.1
    import QtMobility.systeminfo 1.2
    I have add this code on main.qml file:

    Code:
    DeviceInfo {
          monitorLockStatusChanges: true
          onLockStatusChanged: {
          if (!isDeviceLocked) {
          //console.log("show")
          QmlApplicationViewer.show();
       }
    }
    Last edited by stefano947; 2013-07-05 at 01:45.

Similar Threads

  1. How to handle POST method in AudioPlaybackAgent
    By somnathbanik in forum Windows Phone General
    Replies: 14
    Last Post: 2013-02-22, 13:51
  2. How to lock the screen from wp7 app?
    By sreerajvr in forum Windows Phone General
    Replies: 3
    Last Post: 2011-10-16, 04:57
  3. How to handle this -14 file exclusive lock ?
    By sudeepa2005 in forum Symbian C++
    Replies: 1
    Last Post: 2008-12-06, 09:28
  4. Lock Screen..
    By nital_shah in forum Symbian C++
    Replies: 1
    Last Post: 2008-11-14, 14:44
  5. Forward-Lock encryption method with 3650
    By pituvaca in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2003-05-19, 15:15

Posting Permissions

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