How can i Use External Storage in android

后端 未结 2 381
刺人心
刺人心 2020-12-21 15:57

This is for the first time i am using external storage in android. I need some help how can i perform different operations such as how to check whether External Storage is a

2条回答
  •  盖世英雄少女心
    2020-12-21 16:34

    To clarify the first part of CommonsWare's answer (I couldn't seem to add a comment to the comment stream): you want to check that...

    Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED);
    

    ... is true.

提交回复
热议问题