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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top