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 Service in same .so file. Qt 5.10+
Forum Updated to NodeBB v4.3 + New Features

Android Service in same .so file. Qt 5.10+

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

    Hello,
    according to this tutorial, I've created a android service in a separate .so file. With the updated version, everything works like a charm with Qt 5.10.1.

    But the service does not get started if I try to use the same .so file approach. Does anybody have hints on that?
    My main.cpp of course inherits QCoreApplication because its the main application. Is it necessary that the class inherits from QtService for properly using android services? If so, how can I implement this?

    I try to use the Android PowerManager to keep the cpu on for a long time, to prevent the app standby.

    Regards,
    Wowalive

    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