I think the problem here is that the media scanner isn't scanning the file. I have a command coming to do that mergStorageScanFile
. However, to do what you want to do there's actually a built in LiveCode command mobileExportImageToAlbum
.
MergAndroid Livecode - How to save on Android's Camera Roll?
Question
I'm using this code to save an image in the Android's Camera roll, unfortunately to date without any luck.
put mergStoragePath("pictures") into a
put a & "/myphoto.jpg" into pathFile
put the long id of image "myPhoto" into longIDofImage
export longIDofImage to file pathFile as JPEG
All suggestions will be appreciate.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow