문제

Is there any way to format a USB mass storage device programmatically in Android? I need to detect USB mass storage devices and give an option to format it. Any examples will be appreciated.

Thanks in advance.

도움이 되었습니까?

해결책

Sorry, but there is no support for any of this in the Android SDK.

다른 팁

May be help this: I formatted external sd card from console with root permissions + busybox. I did it on china mobile: busybox mkfs.vfat /dev/block/mmcblk0

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top