How to transfer files to smartphone memory or SD card ?

Is there any way to transfer files created in Corona directories to smartphone memory or SD card?

I need to transfer files to the Windows environment.

Can anyone suggest a way to do this?

Thanks in advance

Try to download file manager and check. If I am guess you can transfer files using that file manager

The Corona directories: system.DocumentsDirectory, system.TemporaryDirectory and system.CachesDirectory (on Android is the same as system.TemporaryDirectory) are part of the App’s sandbox. Short of the device being rooted, you should not be able to get to these files from any other app running on the device or from tools running on a tethered computer.

If you want your app to make these files available you will have to determine where various public folders on the device are and construct a path to them and write the files there. There are no Corona SDK API’s to determine paths to public folders and unfortunately they change from vendor fork to vendor fork and from version to version.

Rob

Thank you both for the answers.

As I tried and as Bob said, it is not possible to access the files through File Manager. I’ll try to access some Public Folder.

I need this facility to backup data from an app I’m developing.

I could do it through Http Put (and Get for recovery), but this would be complex for the final customers. The simple thing would be to make a copy on the SD Card.

Anyone have any ideas on this?

I have a Samsung, and use Android mobile manager to transfer files, to phone or sd card.

Try to download file manager and check. If I am guess you can transfer files using that file manager

The Corona directories: system.DocumentsDirectory, system.TemporaryDirectory and system.CachesDirectory (on Android is the same as system.TemporaryDirectory) are part of the App’s sandbox. Short of the device being rooted, you should not be able to get to these files from any other app running on the device or from tools running on a tethered computer.

If you want your app to make these files available you will have to determine where various public folders on the device are and construct a path to them and write the files there. There are no Corona SDK API’s to determine paths to public folders and unfortunately they change from vendor fork to vendor fork and from version to version.

Rob

Thank you both for the answers.

As I tried and as Bob said, it is not possible to access the files through File Manager. I’ll try to access some Public Folder.

I need this facility to backup data from an app I’m developing.

I could do it through Http Put (and Get for recovery), but this would be complex for the final customers. The simple thing would be to make a copy on the SD Card.

Anyone have any ideas on this?

I have a Samsung, and use Android mobile manager to transfer files, to phone or sd card.