Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当卡通过 USB 安装为光盘时,有什么方法可以将数据写入 sdcard?
如果我拔掉它,一切都很好。我该如何解决这个问题?任何人的想法或示例代码?
Android 一次只允许一个挂载,因此如果您通过 USB 连接您的设备并提供该卡作为您的 PC 的挂载,Android 会从操作系统中卸载该卡。该行为不能由应用程序更改,也不应该以数据安全的名义进行更改。