String status=Environment.getExternalStorageState();
2 |
3 |
if ( status.equals ( Enviroment.MEDIA_MOUNTED ) )
|
4 |
{ |
5 |
说明有SD卡插入
|
6 |
} |
2022-09-19 18:25:48
String status=Environment.getExternalStorageState();
2 |
3 |
if ( status.equals ( Enviroment.MEDIA_MOUNTED ) )
|
4 |
{ |
5 |
说明有SD卡插入
|
6 |
} |