differences between /sdcard/emulated/0 and /sdcard

后端 未结 2 995
自闭症患者
自闭症患者 2021-02-19 10:22

I\'m goig to be mad with a strange issue. If i create a folder inside my code as

directory_path = Environment.getExternalStorageDirectory()
                + \"/         


        
2条回答
  •  难免孤独
    2021-02-19 11:04

    Have you tried reading back the data? /storage/emulated/0/ is the new path introduced in JB to support multiple users on tablet. But as long as you access external files using Environment.getExternalStorageDirectory() it doesn't really matter where they really reside.

    Here's some additional info: https://android.stackexchange.com/questions/35541/why-did-sdcard-turn-into-sdcard-0-with-4-2

提交回复
热议问题