Created
January 2, 2019 18:00
-
-
Save arumoy/84b5ca81669c317b1f3d613dc224a6f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:processargs | |
SET NUMBER=%1 | |
IF DEFINED NUMBER ( | |
adb shell am start -a android.intent.action.CALL -d tel:%NUMBER% | |
) ELSE (adb shell input keyevent KEYCODE_ENDCALL) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment