clickable initto get started with a new app.
- Choose from the list of app templates.
- Provide all the needed information about your new app.
- When the app has finished generating, enter the newly created directory containing your app.
clickableto compile your app and install it on your phone.
clickable --xenialto compile your app for Xenial (Ubuntu Touch 16.04) and install it on your phone.
To get logs from you app simply run clickable logs. This will give you output
from C++ (
QDebug() << "message") or from QML (
in addition to any errors or warnings.
Running on the Desktop¶
Running the app on the desktop just requires you to run
This is not as complete as running the app on your phone, but it can help
speed up development.
Accessing Your Device¶
If you need to access a terminal on your Ubuntu Touch device you can use
clickable shell to open up a terminal to your device from your computer.
This is a replacement for the old
Ubuntu Touch SDK Api Docs¶
For more information about the Ubuntu Touch QML or HTML SDK check out the docs over at UBports.
Run Automatic Review¶
Apps submitted to the OpenStore will undergo automatic review, to test your
app before submitting it, run
clickable review after you’ve compiled a click.
This runs the
click-review command against your click within the clickable
container (no need to install it on your computer).
Publishing to the OpenStore¶
If this is your first time publishing to the OpenStore, you need to signup for an account. You can signup with your GitHub, GitLab, or Ubuntu account.
If your app is new to the OpenStore you must first manually upload your new app on the OpenStore’s submission page.
If your app already exists you can use the
clickable publish command to
upload your compiled click file to the OpenStore. In order to publish to the
OpenStore you need to grab your
api key from the OpenStore. After you have
your api key you need to let Clickable know about it. You can either pass it
as an argument every time:
clickable publish --apikey XYZ Or you can set it
as an environment variable:
export OPENSTORE_API_KEY=XYZ (you can add this
~/.bashrc to keep it set).
Publishing for Xenial is just as easy, just run
clickable publish --xenial
with your api key setup like above.