Transfer file to Documents directory on Android

I have an app where a user should be able to transfer a text file to the app’s Documents directory.

On iOS it’s easy:
I just enable the built in file-sharing (UIFileSharingEnabled = true) and use iTunes to transfer the file.

How can I do it on Android?
[import]uid: 70847 topic_id: 34222 reply_id: 334222[/import]

Currently Corona SDK (with the exception of Enterprise) doens’t have access to the SD card which would be the best way to do this. I’m unaware of a way to give access to the Documents directory from being tethered without being rooted. [import]uid: 199310 topic_id: 34222 reply_id: 136118[/import]

Thanks Rob.

That’s what I suspected. I’ll toy with some code to read from the SD card, however my main target is iOS so I’ll wait with an Android release for now.
[import]uid: 70847 topic_id: 34222 reply_id: 136128[/import]

Currently Corona SDK (with the exception of Enterprise) doens’t have access to the SD card which would be the best way to do this. I’m unaware of a way to give access to the Documents directory from being tethered without being rooted. [import]uid: 199310 topic_id: 34222 reply_id: 136118[/import]

Thanks Rob.

That’s what I suspected. I’ll toy with some code to read from the SD card, however my main target is iOS so I’ll wait with an Android release for now.
[import]uid: 70847 topic_id: 34222 reply_id: 136128[/import]