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

Android QNetworkAccessManager in background

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androidqnetworkaccessm
2 Posts 1 Posters 1.1k Views 1 Watching
  • 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.
  • dead_manD Offline
    dead_manD Offline
    dead_man
    wrote on 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
    • dead_manD Offline
      dead_manD Offline
      dead_man
      wrote on last edited by
      #2

      I resolved my problem by moving request object to main thread

      1 Reply Last reply
      0

      • Login

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