QML app cookbook
The App Developer Cookbook is a collection of short examples, how to's and answered questions from our developer community. In the sections below you will find information about how to perform common tasks, answers to frequently asked questions, and code snippets from real world examples.
General App Development
- How can I get started with developing apps for Ubuntu Touch?
- Is there way to compile Qt5 programs, written with c++, to Ubuntu Touch?
- How do I start developing applications for Ubuntu on mobile devices?
- Is QML the only way to create apps in Ubuntu for tablets?
- Are Ubuntu Phone apps compatible across different devices? And if yes, how?
- What is the Step by Step Guide to have Qt (QML) properly setted in Ubuntu 12.04 to start developping with QML?
- Developing for ubuntu phone: where is the SDK?
- Is it possible to write a Mobile app with a engine written in C?
- How can I install commonly used developer tools?
- How can I install Qt 5.x on 12.04 LTS?
- Can I use 12.04 to build Ubuntu Phone apps?
- Can I run the Ubuntu SDK in Windows?
- How to create a debian source package with QT Creator?
- How to add licensing to Ubuntu Application?
- Can I develop a hybrid native/HTML5 app for the Ubuntu Phone?
- Will developers be able to use ruby or python for apps on ubuntu mobile?
- How do I install an app on a device running ubuntu touch?
Platform and System Services
- When to use gconf vs dconf?
- How to add support for new services to Friends?
- How can I use the voice recognition used by Android on Ubuntu?
- How Will App Permissions be Handled in Ubuntu Touch?
- How do I programmatically detect presence changes in the messaging menu?
- Is there a digital protection system in place to prevent piracy of commercial applications?
- What is the best practice for saving data in Ubuntu one db from mobile?
- How to retrieve a list of devices connected to Ubuntu One?
- Ubuntu one API file upload maximum size
- How can I run a command from a qml script?
- Run system commands from QML App
UI Components and Shell Integration
- How do I start developing a lens for Unity?
- How do I add applications to the Messaging Menu?
- Developer documentation for the Messaging Menu?
- Is there any tutorial for programming Unity indicators?
- How can I make Chromium app windows count as "their own application" in the Unity launcher?
- How do I dynamically add tab to tabs?
- How do I create a working indicator with Qt/C++?
- What is the equivalent to Android Intent and BroadcastReceiver?
- How to use gettext to make QML files translatable
- What is the @ sign added as a suffix to images used for apps based in the Ubuntu SDK?
- How to remove my application's appindicator programmatically?
- What Interface Toolkit is being recommended for Ubuntu on Nexus7/Mobile Devices?
- Unity Launcher API for C++
- How to use theming in QML for Ubuntu Phone
- How to create a dialog and set title and text dynamically
- What icon does Unity use for an application?
- How can I center an ActivityIndicator within the screen?
- How to create very very simple GUI application for Ubuntu?
- How to emit onDropped in QML drag n drop example?
- Re-use toolbar code for each tab
- Screen dependent image resolution
- Using AppIndicators with the Qt framework
- Where are the default Unity lenses stored?
- Large amount of scrollable text in Ubuntu touch
- How do I get an UbuntuShape to transition (fade) between different images?
- Bad color of backgroundColor in a MainView when fixed to "#F1E1A3"
- Set background for Page{} element in ubuntu touch
- Buttons in ubuntu touch toolbar
- How can I invoke the soft-keyboard widget on Ubuntu-touch?
Device Sensors
- Low-level 10-finger multi-touch data on the Nexus 7?
- Will location data be available to ubuntu mobile apps?
Games
- Is there a simple "Hello World" for making games?
- What 2D/3D engines and game SDKs are available?
- Which free 2D game engine for Ubuntu is the best choice for me?
- Where is the documentation for programming OpenGL ES for Ubuntu Touch?
Files and Storage
- Where do applications typically store data?
- What is the preferred way to store application settings?
- Can commercial applications use Gsettings?
Multimedia
- How to pass the image preview from the QML Camera component to a C++ plugin
- Is there a standard or recommended sound lib in Ubuntu?
- Playing Sound with Ubuntu QML Toolkit preview
- Problem with SVG image in QML