Is it possible to receive an SMS from Android emulator?

前端 未结 6 596
滥情空心
滥情空心 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:29

    telnet localhost didn't work for me.

    This worked for me:

    Run an emulator and click "More." That's three horizontal dots to the right of the emulator window.

    Then click "Phone".

    Type a phone number from which you'd like to receive a text and the text. Press "Send message"

    Now you see your message.


    Source: https://developer.android.com/studio/run/emulator.html#console, the table "Working with the Extended Controls, Settings, and Help," the row "Phone."

提交回复
热议问题