Android Services in Qt Quick



  • Anyway to create and use an Android Service without touching C++?


  • Moderators

    @Peps
    doesn't make much sense to use a GUI declaration language to define a service running in the background.
    Why do you want to do that?



  • @Peps said in Android Services in Qt Quick:

    Anyway to create and use an Android Service without touching C++?

    Yes - use Android's own Java.



  • @raven-worx Why I would want to do that, includes an app where I would want to periodically check the server for data updates (without the app being opened by the user)... other examples include messaging apps, news/magazine apps, should I go on? Be it GUI declarative or not.. so essentially there isn't a single way to do any background work whilst the app has been minimized on the user's mobile device?


  • Moderators

    @Peps
    everything correct.
    But it doesn't make sense to use a UI declaration language for "headless" code.
    You anyway have to create a separate entry in the manifest file. So anyway another "base" implementation. So i wouldn't try to add another level of complexity here.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.