编程SD卡挂载/卸载 [英] Programmatic sdcard mounting/unmounting

查看:95
本文介绍了编程SD卡挂载/卸载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道如何编程SD卡安装/可在手机通过USB连接到PC来实现卸除。

I'm wondering how programmatic sdcard mounting/unmounting can be achieved while the handset is connected to a pc via USB.

我找不到任何托管API为,也是我的JNI尝试失败是错误号:1,[操作不允许] 错误

I cannot find any managed api for that and also my jni attempts failed with errno: 1, [Operation not permitted] error.

感谢

推荐答案

这是没有可能的Andr​​oid SDK中的一位工程师表示此处的 http://www.mail-archive.com/android-developers@googlegroups.com/msg27542.html

It's no possible as one of the Android SDK engineers stated here: http://www.mail-archive.com/android-developers@googlegroups.com/msg27542.html

这篇关于编程SD卡挂载/卸载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆