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
QtWS25 Last Chance

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.
  • KroMignonK Offline
    KroMignonK Offline
    KroMignon
    wrote on 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)

    jsulmJ 1 Reply Last reply
    0
    • KroMignonK KroMignon

      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?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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

      KroMignonK 2 Replies Last reply
      0
      • jsulmJ jsulm

        @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) ?

        KroMignonK Offline
        KroMignonK Offline
        KroMignon
        wrote on 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
        • jsulmJ jsulm

          @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) ?

          KroMignonK Offline
          KroMignonK Offline
          KroMignon
          wrote on 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

          • Login

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