cloud storage on Android

Anton Lundin glance at acc.umu.se
Sun Nov 8 13:41:30 PST 2015


On 07 November, 2015 - Joakim Bygdell wrote:

> 
> > On 07 Nov 2015, at 19:10, Dirk Hohndel <dirk at hohndel.org> wrote:
> > 
> > 
> > I think Lubomir posted about the fact that we may be using the wrong path
> > on Android. I'll play with this later but wanted to send this out now in
> > case it rings a bell for someone.
> 
> Yepp, ever since the change to standard paths that issue have existed.
> But since I can’t build subsurface on my mac after the upgrade to El Capitan
> I haven’t been able to test my hunch about that apps are not allowed to write to
> the root level of the storage.
> 
> We should probably do as all the other apps and write our data to 
> Storage/Android/Data/org.subsurface-mobile

You should never ever hard-code such paths. Most android builds have a
/data , and store your app thingies there, but it might be /Data , or
/data/data or whatever.

Always resolve those paths from the os.


//Anton


-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list