← Back to team overview

ubuntu-phone team mailing list archive

Fwd: Where to save my files?

 

Forwarding to mailing list

---------- Forwarded message ----------
From: Sam Segers <sam.sgrs@xxxxxxxxx>
Date: 2013/8/31
Subject: Re: [Ubuntu-phone] Where to save my files?
To: Fabio Colella <fcole90@xxxxxxxxx>


I wanted to know where we got access to so I asked this question before and
got this answer:
https://lists.launchpad.net/ubuntu-phone/msg03861.html
So I have hard coded ~/.local/share/com.ubuntu.developer.user.app in my qml
file for now (qml only app).
This seems to work under confinement.

You'd probably want to store them in ~/Pictures or something. Then you'll
have to take a look at policy_groups that permit access to them. See:
https://wiki.ubuntu.com/SecurityTeam/Specifications/ApplicationConfinement/Manifest
I see a goup called picture_files that should be worth looking into.


2013/8/30 Fabio Colella <fcole90@xxxxxxxxx>

> Hello, I'm creating U-Draw app. I should like to know where should I save
> my files using the app. How to set the path in the code?
>
> Thank you in advance :)
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References