App development

Welcome to an open source and free platform under constant scrutiny and improvement by a vibrant global community, whose energy, connectedness, talent and commitment is unmatched. Ubuntu is also the third most deployed desktop OS in the world.


Ubuntu Touch has three types of applications: Web applications (WebApps), Scopes (deprecated) and Native applications. Applications are packaged, distributed and deployed using a format called click packaging. App UIs can be created using QML or HTML5 and behavior can be created using JS, Qt, C++, Python, or Go.

Click package overview

Every click application package must embed at least 3 files:

manifest.json file

Contains application declarations such as application name, description, author, framework sdk target, and version.

Example manifest.json file:

    "name": "",
    "title": "App Title",
    "version": "0.1"
    "description": "Description of the app",
    "framework": "ubuntu-sdk-15.04",
    "maintainer": "xxxx <[email protected]>",
    "hooks": {
        "myapp": {
        "apparmor": "apparmor.json",
        "desktop": "app.desktop"

AppArmor profile policy file
Contains which policy the app needs to work properly. See Security and app isolation below for more information on this file.
.desktop file

The launcher file will tell UT how to launch the app, which name and icon to display on the home screen, and some other properties.

Example of app.desktop:

[Desktop Entry]
Name=Application title
Exec=qmlscene qml/Main.qml

Non exhaustive list of properties:

  • Name: Application title has shown in the dash
  • Exec: Path to the executable file
  • Icon: Path to the icon to display
  • Terminal: false if will not run in terminal window
  • Type: Specifies the type of the launcher file. The type can be Application, Link or Directory.
  • X-Ubuntu-Touch: true to make the app visible
  • X-Ubuntu-XMir-Enable: true if your app is built for X

Security and app isolation

All Ubuntu apps and scopes are confined respecting AppArmor access control mechanism (see Application Confinement) , meaning they only have access to their own resources and are isolated from other apps and parts of the system. The developer must declare which policy groups are needed for the app or scope to function properly with an apparmor .json file.

Example apparmor.json file:

    "policy_version": 1.3,
    "policy_groups": [


For a full list of available policy groups, see AppArmor Policy Groups.

Ubuntu Touch platform

Platform key notes:

Content Hub
Each application can expose content outside its sandbox, giving the user precise control over what can be imported, exported or shared with the world and other apps.
Push notifications
By using a push server and a companion client, instantly serve users with the latest information from their network and apps.
URL dispatcher
Help users navigate between your apps and drive their journey with the URL dispatcher.
Online accounts
Simplify user access to online services by integrating with the online accounts API. Accounts added by the user on the device are registered in a centralized hub, allowing other apps to re-use them.

Read the docs

Getting started

Clickable is a meta-build system for Ubuntu Touch applications that allows you to compile, build, test and publish click packages and provides various templates to get you started with UT app developpment. It is currently the easiest and most convenient way of building click packages for Ubuntu Touch. Also, looking at existing published app source code is a good way to learn: see openstore

Ubuntu UI-Toolkit

Here you can find the API documentation for the Ubuntu UI toolkit.

Ubuntu SDK IDE (unsupported)

The Ubuntu SDK IDE is no longer supported by Canonical, and UBports does not currently have the the time and manpower to get it to a working state.

It can still be installed in Ubuntu 16.04, but issues are expected.

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt update && sudo apt dist-upgrade
sudo apt install ubuntu-sdk
sudo reboot # or logout/login

System Software

Working on system components

Web applications

Ubuntu webapps are web-hosted sites displayed inside an Ubuntu app container. They are true apps that users install, see, launch and use, but their content is provided through URLs.

Native applications


A collection of external resources