Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android QNetworkAccessManager in background
QtWS25 Last Chance

Android QNetworkAccessManager in background

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androidqnetworkaccessm
2 Posts 1 Posters 900 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dead_man
    wrote on 22 Aug 2016, 11:18 last edited by
    #1

    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.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dead_man
      wrote on 22 Aug 2016, 13:24 last edited by
      #2

      I resolved my problem by moving request object to main thread

      1 Reply Last reply
      0

      1/2

      22 Aug 2016, 11:18

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved