Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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}
Comment

PREVIOUS NEXT
Code Example
Shell :: make mp4 smaller using ffmpeg 
Shell :: install tailwindcss nodejs 
Shell :: aws-sdk npm 
Shell :: push heroku 
Shell :: remove last space from line 
Shell :: command to undo in emacs 
Shell :: kubectl without sudo 
Shell :: getting started with sanity 
Shell :: install bootstrap 4 npm 
Shell :: How to install LAMP in CentOs 7? 
Shell :: install specific node version linux 
Shell :: styled-components 
Shell :: ubuntu install mathpix 
Shell :: check if a port is working 
Shell :: install x server wsl2 
Shell :: create xampp shortcut ubuntu 
Shell :: auto generate requirements.txt python 
Shell :: powershell credential object 
Shell :: xargs multiple commands "mac" 
Shell :: set gunicorn timeout via command 
Shell :: bash find full path 
Shell :: linux move folder and subfolders to parent 
Shell :: install airflow in mac 
Shell :: how to run verilog files in linux 
Shell :: How to install LAMP in Ubuntu 20.04? 
Shell :: sudo remove folder 
Shell :: Creating a New Repo on the command line 
Shell :: install brew on linux 
Shell :: run spec file using pyinstaller 
Shell :: install openvino 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =