Is it possible to receive an SMS from Android emulator?

前端 未结 6 610
滥情空心
滥情空心 2020-12-09 11:15

I was wondering if there is a way to receive an SMS from Android emulator, perhaps on a TCP port. I know it\'s possible to send SMS to emulator by opening a TCP socket on th

6条回答
  •  误落风尘
    2020-12-09 11:38

    Start two emulators, first will be 5554, second will be 5556. Send a text message using the built in messaging app from 5554 to 5556 by typing '5556' as the telephone number.

    (You will need to have created two different AVDs first, so that you can use one for 5554 and the other for 5556)

提交回复
热议问题