if (Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED))
        {
            /* 得到SD卡得路径 */
            mRecAudioPath = Environment.getExternalStorageDirectory();
            /* 更新所有录音文件到List中 */
            musicList();
        }
        else
        {
            Toast.makeText(Record.this, "没有SD卡", Toast.LENGTH_LONG).show();
        }

相关文章:

  • 2022-02-02
  • 2021-12-31
  • 2022-02-02
  • 2021-09-11
  • 2021-11-19
  • 2021-11-26
猜你喜欢
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
相关资源
相似解决方案