[Android-development] QT Android bindings for Service

Cory Slep ARA/SED cslep at ara.com
Mon Mar 2 15:46:01 CET 2015


Hello all,

I am part of a team porting a Qt 5.4 Windows/Linux augmented reality application to Android. We have successfully ported it as an Activity rendering to the device screen. However, we have a requirement to render to an external display only (not the device display) because we need to have a third-party application running on and rendering to the device at the same time. Thus our application needs to run in the background but with Qt actively rendering.

Currently there seems to only be bindings for QtApplication and QtActivity, though searching yielded other attempts such as https://github.com/think-free/qt-android-helper/tree/master/android/src/org/qtproject/qt5/android/addons/qtserviceapp which contains two bindings in particular we are interested in: QtService and QtServiceBroadcastReceiver. I realize having an Android Service do rendering may be an unusual use case but having this capability is critical for us.

Since this is an issue on our team that we must overcome, it would be nice to not have a hacked-up-kludge on our end. Has anyone else given thought on supporting bindings for Services? Would it be in the Qt project's interest to have this capability? Is there interest in coordinating to develop this capability?

A very cursory glance over the archives does not yield an obvious previous discussion about this.

Thanks for your time,
Cory Slep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20150302/560d5232/attachment.html>


More information about the Android-development mailing list