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. Qt Android service (seems) doesn't stop correctly
Forum Updated to NodeBB v4.3 + New Features

Qt Android service (seems) doesn't stop correctly

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 196 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.
  • FalsinSoftF Offline
    FalsinSoftF Offline
    FalsinSoft
    wrote on last edited by
    #1

    Hi all

    Based to the documentation the correct way to stop android service from inside the service itself is to use the stopSelf() android API. Calling this API correctly stop the Qt native code process (QAndroidService) but I don't receive the onDestroy() event that's mean the (java) service part is still "running". Does someone experiment the same problem and know the correct way to stop and destroy an android service developed with Qt?

    Thank you

    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