The Ubuntu App Developer Cookbook Announced

In recent months we have been seeing tremendous growth and interest in the Ubuntu SDK that is at the heart of building applications for Ubuntu for phones, tablets, desktops, and TVs. The SDK provides the ability to build rich native applications in QML/Qt that hook right into the system, platform services, messaging, social media and more. We will also be providing support for HTML5 apps soon (with deep platform integration), and for OpenGL apps too.

Today you can download the SDK and follow a getting started tutorial to write your app. If you have Ubuntu running on a phone/tablet (find out how to install the daily images here), you can test and run the application the device with just a click. The entire experience is all encased within our SDK IDE. We are still refining and improving many aspects of the SDK, and our Beta release will be in July.

When most developers are learning a new platform or technology, you have lots of questions. How do I do X? How do I do Y? While we can get our new developers up and running quickly with the SDK and tutorial, we also want to help provide as many answers to these common questions too. This is where the new cookbook comes in.

The App Developer Cookbook

Today we are introducing the Ubuntu App Developers Cookbook on developer.ubuntu.com. The cookbook provides a number of different pages (e.g Device Sensors, Files and Storage, Games, General App Development, Multimedia, Networking etc) with a list of common questions and their associated answers.

Instead of building an entirely new piece of infrastructure, we wanted to work with the place where our developers naturally ask their questions; AskUbuntu, the Ubuntu themed StackExchange site we use for all our Q+A needs across the Ubuntu community.

Here’s how it works: when you have a question, simply browse the cookbook to find an answer for your query. If you don’t, simply ask that question on AskUbuntu, and when a question has received two up-votes and an accepted answer, it will be added to the cookbook. This will ensure the very best content appears on the cookbook for current and new Ubuntu developers to enjoy.

What you see today is a first iteration of the cookbook. In the next few weeks we will be making some additional improvements:

  • Refining the questions listed in the cookbook.
  • Enhancing the navigation of the cookbook pages.
  • Adding sub-sections to make content easier to navigate.
  • Having a different cookbooks for Native (QML/Qt apps), HTML5, OpenGL, and Scopes.

If you have any questions or queries about the cookbook, feel free to share in the comments!

How To Help

One of the core foundational strengths of Ubuntu is our community, and we are looking for help in ensuring our cookbook is as capable and comprehensive as possible. As such, we would like to encourage our community to do the following:

  • Be sure to ask questions on AskUbuntu for topics not covered by the cookbook.
  • When you ask a question, be sure to accept the answer when it answers the question otherwise it won’t be accepted into the cookbook.
  • Be sure to upvote questions that you find useful.

Thanks for continuing to help make the Ubuntu App Dev community a fun, dynamic, and innovative place to be!

  • Anonymous

    The site developer.ubuntu.com has underwent a lot of good changes over the past months. It got a nice look but there are places still giving 404s. Looking forward for it to provide become the one-stop information source for ubuntu developers. This one is definitely one step closer to that. Good Luck!!

  • Anonymous

    Will you guys be offering an emulator, or will future versions of Unity allow us to run QML apps natively on our dev machines? Keep up the great work Jono!

  • Anonymous

    Can you provide some URLs that 404 for you? We will get them fixed.

    Thanks!

  • Anonymous

    I have created a bug report on https://bugs.launchpad.net/ubuntudeveloperportal/+bug/1191200 . I am new to writing bugs, perhaps I should have created two bugs there.

  • Michael Hall

    You can already run Ubuntu SDK apps natively on your Ubuntu desktop. In the future we plan to offer a simulator, that will let you give mock sensor data to your app (gps, accelerometer, etc), as if it were running on a mobile device.

  • Fabio Colella

    I was looking at the game section, about the game framework. I have seen that one of the replies was to use pygame, which honestly I find to be a bit a step in the past. I think that today that there is so a great Qt5 action it would be far better to focus on technologies like that, which have a great portability (like pygame) but also run on Ubuntu Touch.

  • Fabio Colella

    Look for the Ubuntu SDK and Qt5 repositories ;)