How to format USB mass storage programmatically in android
-
26-05-2021 - |
문제
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
제휴하지 않습니다 StackOverflow