[Interest] Background Uploads in Android
Liang Jian
jianliang79 at gmail.com
Fri Mar 4 05:36:22 CET 2016
Maybe you should turn on ndroid.app.background_running in your
AndroidManifest.xml
<!-- Background running -->
<!-- Warning: changing this value to true may cause unexpected
crashes if the
application still try to draw after
"applicationStateChanged(Qt::ApplicationSuspended)"
signal is sent! -->
<meta-data android:name="android.app.background_running"
android:value="true"/>
<!-- Background running -->
On Thu, Mar 3, 2016 at 3:56 AM, Jason H <jhihn at gmx.com> wrote:
> So there seems to be some conflicting information out there about how to
> do this in Qt.
> It seems that in 5.3, because the Qt thread as not the UI thread,
> everything worked. then in 5.4, that stopped working? This was supposed to
> be fixed in 5.5? Anyhow, I'm working with 5.6 now. I have enough of a
> platform shim in place that I
>
> I wrote a bunch of code that assumed that I'd be running any time. I've
> successfully locked the CPU awake and detected foreground/background
> switches, but it seems that once I get to
> Qt::ApplicationState(ApplicationSuspended) my app is unable to do anything.
>
> Any help?
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160304/9ffc469a/attachment.html>
More information about the Interest
mailing list