Android : simulate / mimic a call programmatically on device -


is possible simulate or mimic call coming in on android device programmatically device (not connected computer)? doing safety demo dangers of calls while driving , prefer not have create own copy of call app.

yes can!

use adb that, emulators can use android-studio tools.

adb -s <serial> shell start -a android.intent.action.call -d tel:0612345678 

where <serial> should device or emulator id (like emulator-5555)

if want on device itself, can try call (yes kind of works on devices).


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -