← Back to team overview

ubuntu-phone team mailing list archive

Re: [Development] Download Manager?

 

On 05/08/2013 09:42 AM, Dinko Osmankovic wrote:

This is a great topic, we are planning a session at the upcoming vUDS to
discuss this and the management of background tasks in general.

Pat
> Hi,
>
> Of course, you can develop it as a standalone app. Better would be to
> have some kind of deamon for that. But, in Qt you have QProcess with
> which you can call any shell command (like wget).
>
>
> On Wed, May 8, 2013 at 3:35 PM, Faisal Ali <dev.faisalali@xxxxxxxxx
> <mailto:dev.faisalali@xxxxxxxxx>> wrote:
>
>     Hi Dinko,
>
>         I wouldn't mind working on it and its certainly possible with
>     DBus, but I am wondering if such a functionality would be better
>     suited as an individual app or perhaps integrated deeper (Perhaps
>     at the level of Unity?).
>
>     I'll try to develop something that should fit my need and
>     hopefully will be beneficial to everyone else. I'll take this to
>     the core-apps mailing list to see what their thoughts are.
>
>
>     On 05/08/2013 03:24 AM, Dinko Osmankovic wrote:
>>     Hi,
>>
>>     Maybe you can develop a download app with some functions exposed
>>     through dbus. I'm not quite sure how if there exists qml api's
>>     but in old qt4 there was dbus implementation. See here:
>>
>>     http://qt-project.org/doc/qt-4.8/intro-to-dbus.html
>>
>>
>>     On Wed, May 8, 2013 at 4:43 AM, Faisal Ali
>>     <dev.faisalali@xxxxxxxxx <mailto:dev.faisalali@xxxxxxxxx>> wrote:
>>
>>         Hi all,
>>
>>         I am curious as to any plans for a system download manager.
>>         Basically, a system service that will handle all the
>>         necessary download requests for each individual application.
>>         It would also be a place where the download history can be
>>         viewed for every application.
>>
>>         Android has an api that allows apps to "request" a download.
>>         I would imagine that it's not much different for other phones.
>>         http://developer.android.com/reference/android/app/DownloadManager.html
>>
>>         Currently, I am building a Jamendo app. With Jamendo, the
>>         artists allow their songs to be played and downloaded by
>>         thousands which means that in addition to streaming, I would
>>         like to allow the user to download the song for offline
>>         listening.
>>
>>         As of now, the only current method for me is to create a
>>         custom plugin in C++ for qml which would handle the storing
>>         of music file. Obviously, having a download manager that
>>         could do this would be beneficial to many app developers.
>>
>>         So since I haven't seen any discussion (and correct me if I'm
>>         wrong), are their any plans or ideas as to how this will be
>>         implemented? I imagine it wouldn't be so much different from
>>         the Android API.
>>         Should this be a system service or a core app on its own?
>>
>>         - Faisal Ali
>>
>>         --
>>         Mailing list: https://launchpad.net/~ubuntu-phone
>>         <https://launchpad.net/%7Eubuntu-phone>
>>         Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>>         <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
>>         Unsubscribe : https://launchpad.net/~ubuntu-phone
>>         <https://launchpad.net/%7Eubuntu-phone>
>>         More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
>
>


Follow ups

References