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. startService() not working anymore on Android 10

startService() not working anymore on Android 10

Scheduled Pinned Locked Moved Solved Mobile and Embedded
androidservice
4 Posts 2 Posters 1.7k 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.
  • K Offline
    K Offline
    KroMignon
    wrote on 25 Jun 2021, 10:17 last edited by
    #1

    Hi all,

    I have an application which need background services, all works fine until last Android update on my Galaxy Tab A.
    Now calling "startService()" do nothing.
    I've got no errors or something else.

    Does anyone be aware about this and have found a workaround?
    Do I need additional permissions?

    It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

    J 1 Reply Last reply 25 Jun 2021, 10:20
    0
    • K KroMignon
      25 Jun 2021, 10:17

      Hi all,

      I have an application which need background services, all works fine until last Android update on my Galaxy Tab A.
      Now calling "startService()" do nothing.
      I've got no errors or something else.

      Does anyone be aware about this and have found a workaround?
      Do I need additional permissions?

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 25 Jun 2021, 10:20 last edited by
      #2

      @KroMignon said in startService() not working anymore on Android 10:

      Now calling "startService()" do nothing.

      Do you mean https://developer.android.com/reference/android/content/Context#startService(android.content.Intent) ?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 2 Replies Last reply 25 Jun 2021, 10:21
      0
      • J jsulm
        25 Jun 2021, 10:20

        @KroMignon said in startService() not working anymore on Android 10:

        Now calling "startService()" do nothing.

        Do you mean https://developer.android.com/reference/android/content/Context#startService(android.content.Intent) ?

        K Offline
        K Offline
        KroMignon
        wrote on 25 Jun 2021, 10:21 last edited by
        #3

        @jsulm said in startService() not working anymore on Android 10:

        Do you mean https://developer.android.com/reference/android/content/Context#startService(android.content.Intent) ?

        Yes.

        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

        1 Reply Last reply
        0
        • J jsulm
          25 Jun 2021, 10:20

          @KroMignon said in startService() not working anymore on Android 10:

          Now calling "startService()" do nothing.

          Do you mean https://developer.android.com/reference/android/content/Context#startService(android.content.Intent) ?

          K Offline
          K Offline
          KroMignon
          wrote on 28 Jun 2021, 06:33 last edited by
          #4

          @jsulm Hmm, it seems it was an Android/Samsung issue...

          I have rebooted the device, and now calling startService works fine!

          It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

          1 Reply Last reply
          1

          1/4

          25 Jun 2021, 10:17

          • Login

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