Can we send sms via emulator in Android?

I want to check the sending of sms through the emulator to the phone, can we do this?

+3
source share
4 answers

I do not know if it is possible to send sms from the emulator to the device, but it is possible to send sms from one instance of the emulator to another. Use the emulator port number as the recipient's phone number, i.e. If the emulator works on port 5444, you should use 5444 as a phone number to send SMS or call from another instance of the emulator.

+4
source

The emulator is not connected to any cellular network, so sending real sms is not possible.

+4
source

You can send sms from one emulator to another. To do this, you need to run two emulators. Use the emulator port number as the recipient's phone number. And the emulator must have the same instance. For example, if your application runs on an Em-5554 emulator, the second emulator should be Em-5556

0
source

Sending SMS from 1 emulator to another using Device Control is possible .... But you cannot send SMS from the emulator to the device (with or without a connection) :)

0
source

Source: https://habr.com/ru/post/1761867/


All Articles