Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
I want to pause my application .
I want to pause my application(game) when user click mobile's camera button or mobile receives calls or some external events.
theoriginalgri last edited by
Don't beat me with too much information. That's not even a question yet ;)
What kind of system are you programming for? MeeGo? Symbian? Android?
i am developing application using Qt (Qml) for symbian^3 devices, i want to pause my running game if user click some invalid button like mobile's camera button.
kunal_the_one last edited by
you want to capture camera button press event or you want to know how to implement logic for pausing the game ?
digitalsurgeon last edited by
I am not sure, haven't tried this, but try messing with onVisibleChange.
I want to capture all event which make my application Inactive and out-focus.
manishsharma last edited by
yes manishsharma, i have put following code on my application [if/else condition] to handle Active and on InActive mode.
[myobject]= Qt.application.active ? "true" : "false";