Android QNetworkAccessManager in background
Unsolved
Mobile and Embedded
-
wrote on 22 Aug 2016, 11:18 last edited by
QNetworkAccessManager is not work while app is in background and when returning into foreground. I call get() from onNewIntent and from onResume in Activity. First time request is not delivered to server. Second time finished signal is not emitted.
-
wrote on 22 Aug 2016, 13:24 last edited by
I resolved my problem by moving request object to main thread
1/2