cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: [Android] Where does stuff get written?
Date Wed, 20 Feb 2013 16:35:00 GMT
Relevant bug for this discussion is here:
https://issues.apache.org/jira/browse/CB-285

I've written / read files to this location using the "File Explorer" view
built into Eclipse's ADT.


On Tue, Feb 19, 2013 at 7:10 PM, Jesse <purplecabbage@gmail.com> wrote:

> seems to me, temp should be whatever is returned by getCacheDir
> and persistent should be Internal Storage [1]
>
> AFAIK all other platforms consider the file storage location to be private
> to the application.
>
> [1]
>
> http://developer.android.com/guide/topics/data/data-storage.html#filesInternal
>
> On Tue, Feb 19, 2013 at 3:36 PM, Joe Bowser <bowserj@gmail.com> wrote:
>
> > Fil and I were working on this issue today:
> >
> > https://issues.apache.org/jira/browse/CB-2494
> >
> > This code writes the LICENCE file to /mnt/shell/emulated/0 on Android,
> > which is some unknown location that isn't accessible using the crappy
> > Android File Transfer app.  I have no idea what the relationship
> > between this folder and the other Android folders are other than the
> > fact that we can write to it.
> >
> > So, this brings us back to the whole issue that labels like PERSISTANT
> > and TEMPORARY make no sense on Android, and that we have to revisit
> > this again.
> >
> > So, here are my questions:
> > 1. Where does stuff get written?
> > 2. Where should stuff get written?
> > 3. Where do we want stuff to get written?
> > 4. Can we offer feedback saying how broken this stupid spec is?
> > 5. How do we fix this without pissing off our users, who may think
> > this is working properly?
> >
>
>
>
> --
> @purplecabbage
> risingj.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message