Simulating SMS on Android Devices when developing

后端 未结 7 1574
不知归路
不知归路 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:41

    Yeah it doesn't seem like it is possible. With the emulator you can do:

    telnet localhost 5554
    sms send +12345 A quick brown fox.
    

    But if you try it with a real phone (well I tried a Galaxy S2) it just closes the connection. Of course it's always possible Samsung screwed up the code somewhere, but as common as that is, I think in this case the functionality is probably disabled for non-debug ROM builds.

提交回复
热议问题