On Android: How can I rescan an entire folder to watch for changes in .nomedia

后端 未结 3 1915
猫巷女王i
猫巷女王i 2020-12-21 04:30

So my app downloads images at the users\' request from an online source. Through a button in the activity, the user can choose to hide or show the images in the gallery. T

3条回答
  •  爱一瞬间的悲伤
    2020-12-21 04:55

    am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///mnt/sdcard
    

    This command can be used to update the SD Card without rebooting the device

提交回复
热议问题