Eclipse中读写SD卡数据
可能的重复:
从 SD 卡读取和写入文件
我是一部分这是一个小组项目的一部分,我们必须在 Eclipse 中开发我们自己的 Android 应用程序。 我的项目部分要求我能够读取和写入 SD 卡数据。我已经能够成功读取和写入内部存储上的文件,但我很难在 SD 卡上执行此操作。 我浏览过的所有网站都不是很有用。我是 Eclipse 的新手,所以我对它不太了解。
我想知道是否可以获得有关如何对 SD 卡进行某种流设置的分步说明。我所要做的就是将文本存储到文件中。 谢谢!
Possible Duplicate:
Reading and Writing a file from SD card
I am a part of a group project where we have to develop our own Android app in Eclipse.
My part of the project requires that I be able to read and write data to the SD card. I have been able to successfully read and write to files on the internal storage, but I'm having a hard time being able to do it to the SD card.
All of the websites I've looked at have not been very useful. I am brand new to Eclipse so I don't understand much about it.
I was wondering if I could get step by step instructions on how to get some kind of stream setup to the SD card. All I have to do is simply store text to files.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否在manifest.xml中使用了权限元素?
do you used permissions elements in manifest.xml?
尝试这种方式将txt文件写入SD卡,从SD卡读取文件非常相似,
try this way to write the txt file to SD card, reading file from SD card is very similar,