Create an SDK plugin for the Ubuntu Download Manager

Registered by Manuel de la Peña on 2013-11-11

The Ubuntu Download Manager is the centralized service within ubuntu that allows to perform downloads. The Ubuntu SDK does not provide a QML plugin and this should be solved.

Blueprint information

Manuel de la Peña
Manuel de la Peña
Needs approval
Manuel de la Peña
Series goal:
Accepted for trusty
Milestone target:
milestone icon ubuntu-14.04-beta-1
Started by
Manuel de la Peña


In the previous cycle the Ubuntu Download Manager was added as the main service to perform long lasting downloads in Ubuntu Touch[1]. At the time there were plans to add an SDK so that app developers could take advantage of the service, unfortunately the deadline could not be met.

At the time a draft SDK was done[2]. In this blueprint we want to ensure that the proposed SDK is valid for app developers and how we could be the usage of the API better.

Points to consider:

* The fact that DBus is used must be hidden from the average app developer. How can we do this. Should we use callbacks that are called or should the SDK behave like a synchronous API.
* What happens with the life-cycle of the application. Should the SDK take care of serializing. What to do when the app is paused or killed?
* What to do with already downloaded files? Do we need a garbage collection strategy, should the app developer take care of that?
* How about testing? Do we add a testing infrastructure to fake downloads? Is this needed?



Work Items

Work items:
[mandel] Provide an API draf, taking into account potential lifetime issues and dbus async methods: TODO
[mandel] Provide dbus API for the metada database used by u-d-m: TODO
[mandel] Provide a client c++ library to talk with the dbus API: TODO
[mandel] Package client c++ library and -dev library: TODO
[mandel] Provide a common shared library shared between the u-d-m daemon and the a client c++ lib: TODO
[mandel] Pacakge common shared library and -dev library: TODO
[mandel] Provide a QML plugin to be added to the SDK: TODO
[mandel] Provide testing infrastructure for downloads: TODO
[mandel] Provide apparmor profile for click applications that want to use the u-d-m: TODO

Dependency tree

* Blueprints in grey have been implemented.