Is there any way to fake calls for Android devices that I connected via usb? What is the way to call an adb call? If so, how to do it?
It seems to me that this may be a duplicate question, but I can not find the SO question for it. This is the closest question , but it only applies to the emulator.
Here are some things I've tried. I would like to link back to the following command:
adb shell am start -a android.intent.action.CALL tel:1112223333
Like the other guy, in the question I linked above. Except that I would like to do this on a device, not in an emulator. For the work that I do, the emulator is not enough to test phone calls, I can run my tests only on real devices. Our "solution" does not support the emulator.
So normally I would connect telnet to the local host using the emulator port, but I cannot do this, so can I connect to the connected telnet device? Is there any way to fake an incoming call on a connected device?
To explain why I would like to do this, I am making changes to AOSP. At the moment, we have not modified the emulator to work with our changes, but we are making changes to telephony. Ultimately, getting the emulator to work will be important, but at this time it would be ideal if we could test telephony using fake calls using devices that we have access to.
It is possible that this is even impossible, but if someone has experience with this, I would love to know. I feel that there should be some tests somewhere to fake phone calls on devices before they release the device to the public.
android telephony adb
Andrew T.
source share