在 Android 中从内存中保存和读取位图/图像 - Saving and Reading Bitmaps/Images from Internal memory in Android

问题:

What I want to do, is to save an image to the internal memory of the phone (Not The SD Card) .我想要做的是将图像保存到手机的内部存储器(不是 SD 卡)

How can I do it?我该怎么做?

I have got the image directly from the camera to the image view in my app its all working fine.我已经将图像直接从相机获取到我的应用程序中的图像视图,一切正常。

Now what I want is to save this image from Image View to the Internal memory of my android device and also access it when required.现在我想要的是将此图像从 Image View 保存到我的 android 设备的内部存储器中,并在需要时访问它。

Can anyone please guide me how to do this?谁能指导我如何做到这一点?

I am a little new to android so please, I would appreciate if I can have a detailed procedure.我对android有点陌生,所以如果我能有一个详细的过程,我将不胜感激。


解决方案:

参考一: https://en.stackoom.com/question/1C9yk
参考二: https://stackoom.com/question/1C9yk
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章