【问题标题】:Android Studio How to save image in phone's gallery captured from camera in the apps? [duplicate]Android Studio 如何将图像保存在应用程序中从相机拍摄的手机图库中? [复制]
【发布时间】:2017-06-15 08:36:50
【问题描述】:

This is my segment code for camera.java

相机运行良好,只是无法保存图像。它只是挂在那里,什么也不做。我的编码有什么问题吗? 感谢您的帮助。

【问题讨论】:

  • 欢迎来到 Stack Overflow。如果您不提供任何代码,我们将无法为您提供帮助。
  • 并且当您提供代码时,请将其粘贴到问题中,不要使用图像

标签: android


【解决方案1】:

在调用相机意图后,当然有一个函数可以覆盖 onActivityResult()

已回答请参考此链接Tell the Camera Intent to save the taken image

【讨论】:

    猜你喜欢
    • 2021-07-05
    • 2012-09-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-31
    • 1970-01-01
    相关资源
    最近更新 更多