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. How to resume quickly or restart when not possible
Forum Updated to NodeBB v4.3 + New Features

How to resume quickly or restart when not possible

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 564 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.
  • I Offline
    I Offline
    istwok
    wrote on last edited by
    #1

    Hi,

    I'm one of the developers of the MythTV, open source DVR. Over the last several months, we've been porting our frontend (aka client) from Linux with Qt to run on Android with Qt. It has improved to the point now that some of are using Nvidia Shield TVs as our primary frontends.

    One annoying problem that remains is that resuming the app can sometimes take several minutes. By resume I mean switching back to the app after the device has been sleeping for several hours or other apps have been in use. I know Android doesn't have traditional swap like Linux, so I can only assume that the Android system and/or the Qt framework is saving and restoring significant process state somewhere. What I'd like to do is have our app resume where it was but only if that can be done in a few seconds. If it can't resume quickly, then have it restart. Can that be done and if so how? Other apps like Kodi seem to work that way, but I can't figure out how they do it.

    Thanks.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Sounds like a question you should bring to the interest mailing list. You’ll find there Qt’s Android port developers/maintainers. This forum is more user oriented.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • I Offline
        I Offline
        istwok
        wrote on last edited by
        #3

        Thanks, SGaist. I'll port there.

        1 Reply Last reply
        1

        • Login

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