[Android-development] Detecting app moving to background

nicola at nicoladefilippo.it nicola at nicoladefilippo.it
Wed Apr 9 09:27:56 CEST 2014


Hi,
look here http://qt-project.org/forums/viewthread/40244/#170702
         N.
> Hi,
>
> I'd like to detect when the app is being moved to background and save
> data at that point.
>
> I would have thought that
>
> QWindow::hideEvent(QHideEvent *)
>
> would be called at some point when the user presses the home key, but
> apparently not.
>
> Is this a bug, or is some other way preferable?
>
> I'm testing on Android 4.2.2 with Archos Titanium 40.
>
> This is with self compled stable from a week or two ago, so pre 5.3
> snapshot.  I just pulled the latest and am compiling that to see if
> anything has changed.
>
> Thanks,
>
> Harri
>
>
>
>
>
>
>
> _______________________________________________
> Android-development mailing list
> Android-development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/android-development
>





More information about the Android-development mailing list