How to send application in foreground and background in Harmattan programatically??
-
Hi, maybe a good idea to manage the page stack, pop all the opened pages and see the API that is called when the application goes in background as usual?
I have not tried this but I see that when I switch the applicaiton from background to foreground the console shows a set of messages regarding what changes. This maybe the starting point.
-
I take a look to the documentation. It seems that you should manage your application status using the QApplication class and its properties. This is the class that grant also access to thte session manager so I think it is possible to activate or deactivate a specific applicaiton.
Thus in the QApplication class reference I saw that it is possible senEvent() to the application widget and there is one specific event to Activate or Deactivate the application.
-
Well, please let me know the results of your tests.