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. Starting qt application on boot completed android
Forum Updated to NodeBB v4.3 + New Features

Starting qt application on boot completed android

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 311 Views 2 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.
  • G Offline
    G Offline
    GulsahAkt
    wrote on last edited by
    #1

    The following is the code I'm using for starting my Application when device is turned on.
    cd176a57-5a45-4a04-a79d-06fcd7ce7b22-image.png

    and in the Manifest:

    79c97058-daeb-4794-ac80-24d2f4eb0442-image.png

    The permissions inside the Manifest are the following:

    15f6479a-1c18-493a-87f5-cc273fae3d4f-image.png

    Activity in the manifest is as follows:

    b8eb244b-df95-4c6e-a9de-048e4bd6be62-image.png

    I want my Qt application to run on the Android device after boot complete.
    After doing all these steps, when the Android device is turned on, the qt application does not start and I receive an error saying "Unfortunately, the application has stopped".

    Is there anything I did wrong or missing? I would like your help.

    G 1 Reply Last reply
    0
    • G GulsahAkt

      The following is the code I'm using for starting my Application when device is turned on.
      cd176a57-5a45-4a04-a79d-06fcd7ce7b22-image.png

      and in the Manifest:

      79c97058-daeb-4794-ac80-24d2f4eb0442-image.png

      The permissions inside the Manifest are the following:

      15f6479a-1c18-493a-87f5-cc273fae3d4f-image.png

      Activity in the manifest is as follows:

      b8eb244b-df95-4c6e-a9de-048e4bd6be62-image.png

      I want my Qt application to run on the Android device after boot complete.
      After doing all these steps, when the Android device is turned on, the qt application does not start and I receive an error saying "Unfortunately, the application has stopped".

      Is there anything I did wrong or missing? I would like your help.

      G Offline
      G Offline
      GulsahAkt
      wrote on last edited by
      #2

      @GulsahAkt I solved my problem by writing a service in Android Studio. As a result of my research, I read that qt does not support the libraries required for initialization after boot. I was able to run my qt application after booting with the service written in Android Studio.

      1 Reply Last reply
      1
      • G GulsahAkt has marked this topic as solved on

      • Login

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