Folder added on Android is not visible via USB

后端 未结 8 960
青春惊慌失措
青春惊慌失措 2020-11-30 01:18

I\'m trying to save pictures in a subfolder on Android. Here\'s a bit of my code:

File path = Environment.getExternalStoragePublicDirectory(Environment.DIREC         


        
8条回答
  •  没有蜡笔的小新
    2020-11-30 01:46

    Just create the directory on the PC first, and then copy it over to the SD card/phone storage.

    You can either put in the contents into the folder first and copy over or just the folder first. As long as the folder is created from the PC, any content can just be copied directly to internal/external mobile devices. For zipped content, it cannot be directly unzipped and copied over unfortunately; you need to unzip them first.

提交回复
热议问题