I would like to make call via ADB command on android's command line.
How should I use ADB command in order to make a call via PC?
please provide source code.
I would like to make call via ADB command on android's command line.
How should I use ADB command in order to make a call via PC?
please provide source code.
You can do this one by:
That's it and you will get the response as:
On some Android devices, there exists an executable
If you run it, the help dislplays
For dialing a number, you can simply run
where XXXXXXX is to be replaced by the phonenumber.
I saw this command on quite many HTC devices. I run currently a Cyanogenmod 10.2 on an HTC One, and there it is as well. It could also be possible, that it is only available on devices with a Qualcomm radio chip.
You should do (replace <serialno> by the serial number of your device or emulator, for example emulator-5554):
and see this in the logcat:
you can launch the dialler, by first finding the package using
then launching it using
ensure you're on the dialler and not the contacts page by clicking the coordinates of the dialler
type the number
and then hit the dial coordinates
For sure this answer is overkill. However, all of the previous answers i've encountered will then launch a dialog asking which application you wish to use to complete the action - skype, viber, etc., meaning if you have either not chosen a default dialler but have ott calling apps installed, or else have specified an alternative default dialler, the call will not be made over gsm. This method will ensure that gsm is used.