DEV Community

Nikola Brežnjak
Nikola Brežnjak

Posted on

10 2

How to simulate an incoming call or SMS to an emulator in Android Studio

Originally published on my blog

In this quick tip, I'll show you how easy it is to simulate an incoming call or SMS to an emulator in Android Studio.

TL;DR

In Android Studio, go to Tools->Android->Android Device Monitor

Select the Emulator on the left (you have to run it first - do that through Tools->Android->AVD Manager), then the Emulator Control tab, insert the number, select Voice or SMS and click the Call or Send button:

See both of these functions in action:

Conclusion

In this short tip, I showed you how easy it is to simulate an incoming call or SMS to an emulator in Android Studio.

Android Device Monitor allows you to set other stuff as well, like for example the current location, Network preferences (to test your app in not so ideal connectivity situations), etc.

Hope this helps 💪

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (1)

Collapse
 
luka_john_1f150bfa4c517ff profile image
Luka John

I wouldn’t have been able to hack into my partners instagram and snapchat without the help of (spyrecovery36 @ gm ail c om ) I had a hard time finding the right hacker who could pull it off without my wife noticing what was going on, This hacker has great reviews and I have come in contact with people who has used his service successfully and he delivered. He is the best amongst them and his services were splendid and the cost was effective. i highly recommend this hacker

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more