← Back to team overview

ubuntu-phone team mailing list archive

How can I get hold of the downloaded pic by using the SingleDownload API?

 

Hi,

I am currently using the singledownload API to download a picture. The API
is at:

https://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.DownloadManager.SingleDownload/

I have a simple App here at
https://code.launchpad.net/~liu-xiao-guo/debiantrial/singledownload

After I have downloaded the picture, the pic resides in the download
managers private directory, and I cannot make use of it in my application
due to the security confinement. May I know how get I get the picture and
use it? Should I use contenthub to use it?

Thanks & best regards,
XiaoGuo

-- 
XiaoGuo, Liu (刘晓国)
Mobile: +86-13911181302

Follow ups