How to Build Apps for Ubuntu Touch OS

Updated 18 June 2025

Save

In this blog, we will learn how to build an app for Ubuntu Touch OS.

Introduction

Ubuntu Touch OS is a mobile operating system designed for smartphones, tablets, and other smart screens. Originally developed by Canonical, it is now maintained by the UBports community

Unlike typical Android or iOS devices, it runs a full Linux system like a desktop. This gives users greater control and privacy over their mobile device.

One of the biggest advantages of Ubuntu Touch is that it doesn’t rely on Google services. Unlike most smartphones, it offers an alternative that respects user privacy.

how-to-build-apps-for-ubuntu-touch-OSe-functionality

Usages of Ubuntu Touch

Popular Apps Available

Create a New Project for an Ubuntu Touch OS App

The best way to build high-performance, native apps for Ubuntu Touch is by using QML (Qt Modeling Language) with the Clickable tool.

Steps to Create a QML App

Open Terminal and hit these commands.

1. Install Clickable

First, install Clickable using the command below:

Explain Code
Powered By

2. Create a New Project

To check that your development environment is set up correctly for Clickable, create a new Clickable project:

Explain Code
Powered By

3. Run your project

To build and run your Ubuntu Touch app on desktop, use the following commands:

Explain Code
Powered By

After the above command, you will see a simple “Hello World” app like this:

demo hello world app

Create a demo app for Ubuntu Touch OS.

Create the App Components

We’ll start by creating a productApi.qml file in the qml/api folder.

ProductApi.qml

This QML code fetches product data from a fake store API. It uses QML to load and display product details like title, price, rating, and image.

Explain Code
Powered By

ProductCard.qml

This QML code creates a stylish product card layout for a Ubuntu Touch app using Lomiri Components. It displays the product image, title, price, and rating in a clean and responsive design.

Explain Code
Powered By

Main.qml

This QML code creates the main view of a Ubuntu Touch app showing products from a fake store API. It uses a ListView with custom product cards and a loading indicator during data fetch.

Explain Code
Powered By

Now, save your code and run the app using the commands mentioned above.

Here is the Output of the project

Conclusion

Ubuntu Touch OS allows building secure, Linux-based mobile apps using native or web tech. It offers a privacy-focused, customizable alternative in the mobile ecosystem.

Thanks for reading this blog.

Please check my other blogs here.

Read more blogs related to mobile app technology. 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    success

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home