January 22, 2025 by Soheil Armin | Comments
Qt for Android Automotive has introduced a transformative new back-end for the ActivityView module, significantly advancing user interface development on Android Automotive. Moving beyond the limitations of traditional Java APIs offered by AOSP, this advanced back-end enables fluid integration of third-party Android apps directly into the Qt Quick applications. This brings a new level of flexibility to Qt for Android Automotive user interfaces.
The new "textured" backend of Qt ActivityView, allows Android Activities to be embedded as regular Qt Quick Items. This capability means developers can use all of Qt Quick’s features, including transformations, effects, shader effects, animations, and z-ordering, to achieve greater control over their applications' visual and interactive elements.
The code snippet below runs and embeds Desk Clock app in a Qt Quick window.
ActivityView {
id: activityView
width: 640; height: 480;
packageName: "com.android.deskclock"
}
The ActivityView Quick item launches the target activity in an off-screen context, obtains it as an ExternalOES texture, and renders it with a custom QSGMaterialShader. Any touch events received by the item are transformed to match the activity’s actual coordinate space before being forwarded to the underlying activity.
In Qt for Android Automotive 6.8, we revamped the ActivityView Dialogs example to simulate a basic windowing system within a Qt Quick application. It allows you to launch and interact with two predefined apps.
The new public API of the QML ActivityView type has been kept source-compatible with earlier versions of Qt. At the same time, many known issues have been resolved.
Download the latest release here: www.qt.io/download.
Qt 6.8 release focuses on technology trends like spatial computing & XR, complex data visualization in 2D & 3D, and ARM-based development for desktop.
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Mar 5, 2025
Over the past 5 years or so it has become abundantly apparent that..
Feb 26, 2025
We are happy to announce the release of the Qt Tools for Android Studio..
Feb 6, 2025
The latest patch release for Android Automotive 6.8.2 is just released...