Simulating SMS on Android Devices when developing

后端 未结 7 1578
不知归路
不知归路 2021-02-02 00:46

Is there a way to send an SMS from te DDMS in Eclipse to my Android phone. The emulator control is disabled when I\'m running my physical phone. I can only sent a SMS to the emu

7条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-02 01:34

    I am not sure about what versions of android or adb support this you can try

    adb emu sms send [from] [message]
    

    so for example

    adb emu sms send "+1555....." "Your message goes here....."
    

    Hope this helps.

    PS: I think this only works with emulators.

提交回复
热议问题