jeudi 21 mai 2015

Android - get access to sd card file via another app

Consider two apps, A and B. A is trying to access a file B has rights to.

From this tutorial on the android developer website, I know we can allow app B to expose the files in its private data folder to a requesting app A, by sending back A a URI with permissions using Intent.

I want to ask, what would be the case if B is like a file manager app, and has access to the sd card (WRITE_EXTERNAL_STORAGE permission). Is it possible for B to create a URI for a file in the sd card and send it back to A using URI permissions in Intent ?

Aucun commentaire:

Enregistrer un commentaire