How to rename "Pictures" folder on Android when saving pictures with media.save() ?

Hi guys,

I am working at an app that needs to save some pictures on the user’s phone(with media.save()). The function works OK but i can’t figure out how to rename the folder the images are saved into. I can find it now in Phone Gallery / Pictures… it should be something like Gallery/My App.

Thanks [import]uid: 123089 topic_id: 35425 reply_id: 335425[/import]

Generally the OS isn’t going to give you access to that level of access. The app loads a bit of the native OS to manage the camera libraries. You do have access using LFS and the os.* API’s to manipulate folders and folder names that are stored within your app’s sandbox’s system.DocumentsDirectory, system.CachesDirectory and system.TemporaryDirectory. Out side of there, you are not permitted to touch anything. You basically tell the OS save this file.
[import]uid: 199310 topic_id: 35425 reply_id: 140850[/import]

Generally the OS isn’t going to give you access to that level of access. The app loads a bit of the native OS to manage the camera libraries. You do have access using LFS and the os.* API’s to manipulate folders and folder names that are stored within your app’s sandbox’s system.DocumentsDirectory, system.CachesDirectory and system.TemporaryDirectory. Out side of there, you are not permitted to touch anything. You basically tell the OS save this file.
[import]uid: 199310 topic_id: 35425 reply_id: 140850[/import]