[Interest] How to shutdown Qt app on Android.
Igor Mironchik
igor.mironchik at gmail.com
Tue Jan 27 10:55:44 CET 2015
Hi.
On Tue, 27 Jan 2015 12:53:03 +0300, Harri Pasanen <harri at mpaja.com> 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 if >you have done
> Qt.quit().
Hmm, may be you are right. I'm not sure in this question.
>
> Just my 2 cents,
Thanks for your 2 cents. :)
>
>
> Harri
>
> On 27/01/2015 10:47, Igor Mironchik wrote:
>> 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
>> <nunosantos at imaginando.pt> 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->quit().
>>>
>>> http://doc.qt.io/qt-5/qguiapplication.html#applicationStateChanged
>>>
>>> This is possibly the most straightforward way.
>>>
>>> Regards,
>>>
>>> Nuno
>>>
>>>> On 26 Jan 2015, at 06:24, Igor Mironchik <igor.mironchik at gmail.com>
>>>> wrote:
>>>>
>>>> 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 possible?
>>>>
>>>> --Best Regards,
>>>> Igor Mironchik.
>>>> _______________________________________________
>>>> Interest mailing list
>>>> Interest at qt-project.org
>>>> http://lists.qt-project.org/mailman/listinfo/interest
>>>
>>
>>
>>
>> --Best Regards,
>> Igor Mironchik.
>>
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>
--
Best Regards,
Igor Mironchik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150127/c19b9112/attachment.html>
More information about the Interest
mailing list