且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我们可以通过模拟器在Android的发送短信?

更新时间:2021-09-12 04:02:30

我不知道是否有可能从仿真器发送短信到设备,但它可以从一个仿真器实例发送短信到另一个。使用仿真器的端口号作为接收电话号码,也就是说,如果仿真器运行在端口5444,你必须使用5444的手机号码发送短信或从另一个模拟器实例调用。

I do not know if is it possible to send sms from emulator to device, but it is possible to send sms from one emulator instance to another. Use emulator port number as receiver phone number, i.e. if emulator runs on port 5444 you have to use 5444 as phone number to send an sms or call from another emulator instance.