As you already know KDAB is the largest independent contributor to Qt code. Of course we didn’t get lazy and we’ve added a lot of cool stuff to Qt 5.14. In this article I’m going to write about the super cool stuff that we’ve added to Qt 5.14 for Android. Android multi arch build in […]
Blog Archives
Qt sensors just got better on Android A rewrite with huge performance gains for the Android sensors plug-in
Each month KDAB schedules me to maintain the Qt for Android port. Usually I review the pending patches or fix bugs, but on a quiet month I have time for new functionalities and improvements
Auto Innovation at Embedded World Nuremberg, Feb 26-28, 2019
In vehicle infotainment systems and instrument clusters are getting larger and more complex, requiring an exponentially growing base of software to drive them. Furthermore, KDAB finds that self-driving technology does not obviate the need for displays – in fact, autonomous technology seems to be accelerating the trend for larger and more capable graphics software. To […]
Perfect Debugging Experience with QtCreator on Android
While I was working on a yet-to-be-announced super secret and cool Qt on Android project, I had to do a lot of debugging. This way I found that debugging Qt apps on Android using QtCreator was ok, but it had some issues, which was kinda frustrating. First issue was that I could not debug on […]
“Unboxing” the Android Things Developer Preview
Android Things is Google’s answer to creating an environment for IoT devices. Take a slimmed down Android build, add some sensor-specific APIs, and provide it on a number of powerful pre-integrated micro-boards and you have a ready-made platform for building a host of upcoming IoT devices. Android Things can take advantage of many existing Android […]
All about Qt on Android QtCon presentation
In this session we’ll see real life examples of using JNI on Android. We’ll start by checking the Qt 5.7 goodies which will make our lives easier, then we’ll see simple examples that you’ll need to use in almost any Qt on Android application, and we’ll end up with an Android Service made with Qt. […]
Qt on Android: How to create an Android service using Qt Full code samples for building with and communicating to QAndroidService background tasks
Starting with Qt 5.7, we added the ability to create Android services using Qt. In this article we’re going to see how to get started and also how to communicate between the two. Before we get started I want to add a big bold WARNING about the performance! Because the services are run in the […]
Qt on Android: How to restart your application
Some time ago, I wrote a code to restart the running application on Android. You might well ask why such a thing was needed. It was needed because there are cases where, whenever a user changes the theme, the application has to restart to apply the change (it can’t be applied on the fly). In […]
Qt on Android: How to use Android Toast
To get you started on this, we’ll be using KDAB’s Android utils with the humble Toast. Toasts are small popups which are used to show the user some feedback. Check Google’s API guide for more info about toasts. The easiest way to show a toast is to use Toast.makeText(Context context, CharSequence text, int duration) static […]
Qt on Android: How to convert Qt images to Android Images and vice-versa
Sometimes we need to exchange images from Android world to Qt world and vice-versa, therefore in this article we’re going to see how to convert a QImage to an Android Bitmap and how to convert an Android bitmap and an Android Drawable into a QImage. To get access to Android Bitmap data & info we’re […]