[Android-development] Detecting app moving to background
Harri Pasanen
harri at mpaja.com
Wed Apr 9 08:57:33 CEST 2014
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
More information about the Android-development
mailing list