String status=Environment.getExternalStorageState();
2 |
3 |
if ( status.equals ( Enviroment.MEDIA_MOUNTED ) )
|
4 |
{ |
5 |
说明有SD卡插入
|
6 |
} |
String status=Environment.getExternalStorageState();
2 |
3 |
if ( status.equals ( Enviroment.MEDIA_MOUNTED ) )
|
4 |
{ |
5 |
说明有SD卡插入
|
6 |
} |