android 为位图命名并保存
我有一个位图,想保存到 SD 卡上。我有两个问题:
- 为保存的文件设置一个名称
- 保存文件
我环顾 Stack Overflow,找不到任何有效的解决方案,对于这两个问题(主要是保存部分,设置名称部分让我很困惑)
有一个简单直接的解决方案吗?
谢谢!
I have a bitmap that I want to save to the sd card. I have 2 problems with that:
- Set a name to the saved file
- Save the file
I looked around Stack Overflow and couldn't find anything that worked, for both problems (mostly for the saving part, the set name part just got me all confused)
Is there a simple straight forward solution to this?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您必须在清单文件中使用以下权限。
You have to use below permission in manifest file.
试试这个:
Try this: