سؤال

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.

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top