Re: [Interest] How to shutdown Qt app on Android.

2015-01-27 Thread Robert Iakobashvili
Dear Igor, 1. Arrange forceClosingMyApp in your derived activity: package com.myComp.MyProduct.activity; import java.lang.String; import android.os.Bundle; import android.util.Log; import android.content.Intent; import android.app.Activity; import android.view.KeyEvent; import org.qtproject.qt5

Re: [Interest] How to shutdown Qt app on Android.

2015-01-27 Thread Igor Mironchik
Hi. On Tue, 27 Jan 2015 12:53:03 +0300, Harri Pasanen wrote: Why do you care? If I'm correct, it is a list of most recently used apps, not necessarily active apps. At least on iOS it is that way. On iOS what you see on the list is just a screenshot. I suspect on Android it is the same

Re: [Interest] How to shutdown Qt app on Android.

2015-01-27 Thread Harri Pasanen
Why do you care? If I'm correct, it is a list of most recently used apps, not necessarily active apps. At least on iOS it is that way. On iOS what you see on the list is just a screenshot. I suspect on Android it is the same if you have done Qt.quit(). Just my 2 cents, Harri On 27/01/20

Re: [Interest] How to shutdown Qt app on Android.

2015-01-27 Thread Igor Mironchik
This approach doesn't work on Android. Application still in the list of inactive applications. On Mon, 26 Jan 2015 12:02:27 +0300, Nuno Santos wrote: Igor, I think you could listen to application state changed signal on the app entity and when you receive a pause, you could call >app->

Re: [Interest] How to shutdown Qt app on Android.

2015-01-26 Thread Nuno Santos
Igor, I think you could listen to application state changed signal on the app entity and when you receive a pause, you could call app->quit(). http://doc.qt.io/qt-5/qguiapplication.html#applicationStateChanged This is possibl

[Interest] How to shutdown Qt app on Android.

2015-01-25 Thread Igor Mironchik
Hi. How to completely shutdown Qt app on Adnroid when "Home" button pressed? I want to say when user presses "Home" button app will continue to work in background, i.e. the app shown in the list of apps when long touch "Home" button. How to prevent it and completely shutdown Qt app? Is it p