¿Dónde se almacenan los archivos descargados en Android?

Where does downloaded files stored in android when there is no memory card and how to access it from my application?

preguntado el 28 de agosto de 12 a las 14:08

2 Respuestas

They are stored in device's internal storage, if you haven't chosen to store it in the sd-card. Internal storage make use of linux file system permissions, so files will private to your application and other applications cannot access them.

If you are talking about media files, you can make them accessible everywhere by adding them in their respective content providers.

Para abrir un archivo use openFileOutput() which return a file stream.

Respondido 28 ago 12, 16:08

You should read the article on Opciones de almacenamiento which also provides a code example for accessing the external storage.

Respondido 28 ago 12, 15:08

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.