android - MergAndroid Livecode - 如何保存在 Android 的相机胶卷上?

标签 android livecode

我正在使用此代码将图像保存在 Android 的相机胶卷中,不幸的是迄今为止没有任何运气。

  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

我们将不胜感激。

最佳答案

我认为这里的问题是媒体扫描器没有扫描文件。我有一个命令来执行 mergStorageScanFile。但是,要执行您想执行的操作,实际上有一个内置的 LiveCode 命令 mobileExportImageToAlbum

关于android - MergAndroid Livecode - 如何保存在 Android 的相机胶卷上?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20583393/

相关文章:

android - 如何设置当设备字体增大或减小时textview背景自动适应

browser - 以Livecode播放YouTube视频

ios - 为什么这个简单的 LiveCode iOS 外部编译不了?

database - livecode 从 sqlite 中检索记录

android - googleMap.getMyLocation();无法获取当前位置

java - TabWidget 中的 Android gridView

android - 为什么是android :transcriptMode ="normal" not working properly?

android - NewFromFD 在 nativeDecodeFileDescriptor 中失败 - Android 4.4

validation - LiveCode 字段级输入验证

android - livecode 5.5.5 启动应用只会黑屏