DEV Community

Nikola Brežnjak
Nikola Brežnjak

Posted on

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 💪

Top comments (2)

Collapse
 
leinilida_28dcd profile image
Leinil ida

Honestly, The best thing that ever happened to me literally, was finding the contact of this genius; " remotespyh ac k er @ gmail’com. This man granted me full access to an iPhone belonging to my partner of 6 years. I saw his WhatsApp messages he was sending adult picture and videos to my so called friend and sleeping with her while I was away in Germany working so hard so we would have a better life. This genius helped me retrieve messages she deleted, emails and even call logs. He was doing this to me.I’m glad I followed my heart and again big thanks to " remote spy h ac k er @ gm-ail-c-om for not letting me ruin my own life. He recently helped a friend of mine fix his records, taking out hard inquiries and collections. He offers many other services I can’t mention here.

Image description

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