Quickandroid

screenshot of Quickandroid

QML Theme and Component Library for Android

Overview

QuickAndroid is a collection of projects that aims to make Android development with Qt easier and more efficient. One of the components of QuickAndroid is AndroidNative.pri, which provides native Java components and system services in a more convenient way. This allows developers to easily incorporate native functionality into their Qt-based Android applications. QuickAndroid is available on GitHub under the Apache License 2.0.

Features

  • Set of UI components implemented using Google's Material Design
  • Support for hardware "Back" key navigation
  • Dimension units in "dp" with automatic scaling based on the system's DP value
  • Page transition animations
  • Drawable image provider with support for loading images from Android resource style files
  • Tinting of images at load time
  • Automatic selection of the best image resolution based on the device's current resolution
  • Message queue between C++/Qt and Java/Android code for seamless communication
  • Automatic conversion between C++ and Java data types, eliminating the need for writing JNI code
  • Theme/Style engine with a global Theme object that can be set for all components
  • Helper function for creating custom derived styles

Summary

QuickAndroid is a set of projects aimed at simplifying Android development with Qt. One of its components, AndroidNative.pri, provides native Java components and system services in an easily installable manner. It offers a range of features including Material Design UI components, support for hardware back key navigation, automatic scaling of dimensions, page transition animations, drawable image loading and tinting, message queue between C++/Qt and Java/Android code, automatic data type conversion, and a theme/style engine. QuickAndroid can be installed using qpm or by downloading a release and integrating it into your project.