Answers for "adb push image to gallery"

14

adb push image to gallery

Push picture
# {file_path} is the full path of the picture

adb push {file_path} /sdcard/DCIM/Camera/

Notify album refresh
# {file_name} is the image file name

adb shell am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///sdcard/DCIM/Camera/{file_name}
Posted by: Guest on May-14-2021

Browse Popular Code Answers by Language