I’m currently developping two mobile apps.
I’d like to know if it’s possible that one app write some files in the the other app’s internal storage. (Considering that both apps know the path of the other app’s internal storage)
On Android ?
On IOS ?
All my researches have ended to the answer NO. But please please tell me it’s possible
FYI :
For all my tries, I’ve been using Sytem.IO.File.Create()
I get very logically an “access denied”.
I was wondering if there could be some kind of “crossdomain” -if you know what I mean- or something similar that allows me to tell an app to accept access writing from other apps.
Not possible on iOS. Android, being more powerful than iOS, allows you to do that just like a full-fledged desktop OS: Files.
You just create a file within one app, and open it with the other. You need to be careful with your file handles though. Make sure that the access is synchronized.
You’ll want to create the files on the internal storage (/sdcard/ on Andoird 5 - if memory serves).
Actually I need to create and write (not only open and read) in the other app.
And it’s gotta be in the internal storage (not sdcard).
But thanks
Also, I came up with an idea : Is there a possibility , considering my two apps A and B, that A “asks” B to write in B’s internal storage ? (Wether B is running or not)