为什么我的代码没有将文件复制到另一个目录?
为什么我的代码在初始化后无法将文件从一个目录复制到另一个目录?它似乎没有循环到 copyFile 类方法中?是因为我没有给它时间复制/传输文件还是我在代码中做错了什么?
我对 android/编程相当陌生,有人可以帮忙吗?
Alertdialog onClick 函数调用 copyFile 方法。
Why are my codes not working its way copy a file from a directory to another after being initialized? Where it does not seems to even loop into the copyFile class method? Is it because i have not given it time to copy/transfer the file or have i done something wrong in my codes?
I'm rather new in android/programming can someone help?
Alertdialog onClick function to call upon the copyFile method.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来您正在尝试写入存档目录本身,而不是写入该目录内的新文件。
It looks like you are trying to write to the archive directory itself, instead of to a new file inside that directory.