String status=Environment.getExternalStorageState();
转载于:https://www.cnblogs.com/tianshidechibang234/p/3441122.html