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. I can't start *.so lib using QT Android Service.
Forum Updated to NodeBB v4.3 + New Features

I can't start *.so lib using QT Android Service.

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

    I'm trying the Android Service on QT-ENV using the open source below. (I did not modify the code, just modified the Manifest.)

    • https://github.com/bog-dan-ro/qt_services/

    at first, I had some problems but I was able to run the program using the Bug Report below.

    • https://bugreports.qt.io/browse/QTBUG-80266

    I also checked the link below.

    • https://www.kdab.com/qt-android-create-android-service-using-qt/

    Currently I am failing to load a separate so file on the Service.
    I succeeded in running the service but failed to load so file.

    When I run the app and check it using Android Studio Logcat, I can see that the service is turned on,
    but it prints an error message as shown below.

    ServiceSuccess.PNG

    How can I solve this problem ??

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      ysbaekFox
      wrote on last edited by
      #2

      It did not matter whether an error message was output.
      I solved this problem myself. I loaded the library directly from the Service Class and created a Thread on the native side using JNI Call. This showed the possibility of multiprocessing.

      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