Important: Please read the Qt Code of Conduct -

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.

    Thanks to all :)

    I solved in this way:

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

    I have add this code on main.qml file:

    DeviceInfo {
    monitorLockStatusChanges: true
    onLockStatusChanged: {
    if (!isDeviceLocked) {

Log in to reply