SensorSimulator Openintents 模拟 2 个模拟器
嘿,是否可以有两个传感器模拟器实例连接到在 2 个模拟器上运行的应用程序,以便我可以为每个模拟器唯一地提供运动事件?
Hey is it possible to have two instances of Sensor Simulator connecting to a app running on 2 Emulators so that i can uniquely give motion events to each of the Emulator ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,你可以在两个模拟器上同时运行你的 Android 应用程序。每个模拟器都有自己的 ID 号,只需查看模拟器的左上角,您就会得到它。5554,如果您再次打开另一个模拟器,您会发现数字不同,例如 5556 等。
yeah you can run your android application simultaneously on two simulators. each simulator have there own id number just have look on left corner of your simulator you will get it.5554 and if you open another simulator again you will find number different like 5556 and all.
我认为您必须更改 SensorSimulator(PC)的首选项和 SensorSimulator 设置(Android 应用程序)中的套接字,以便区分两个模拟器的两个应用程序。您必须使用不同的套接字。
I think you have to change the socket in the preferences of the SensorSimulator (PC) and in the SensorSimulator Settings (Android App) in order to difference between the two app of the two emulator. You have to work with different sockets.