我打算使用 Android 模拟器来发送/接收短信。
sms send
我使用命令向模拟器发送短信。我知道模拟器能够通过 SMS 相互交谈,但是否有可能在外部 TCP 端口上接收从 Android 模拟器发送的 SMS 回复?
任何指针将不胜感激。
非常感谢。
我打算使用 Android 模拟器来发送/接收短信。
sms send
我使用命令向模拟器发送短信。我知道模拟器能够通过 SMS 相互交谈,但是否有可能在外部 TCP 端口上接收从 Android 模拟器发送的 SMS 回复?
任何指针将不胜感激。
非常感谢。
You can start 2nd Android Virtual Device, one for send SMS another for retrieve SMS.
In the receiver field, you have to input the port number of another AVD, it's in the left up corner od the AVD window (ex. 5554:myAVD, actually it's port number).Of course you have to create 2 AVDs.
And you can use ddms to monitor the logcat message between these two AVDs.