Waiting from a desktop app for events originating from a metro app and vice versa

心不动则不痛 提交于 2020-01-17 14:59:28

问题


We have a metro app and we want to test certain issues that may come up in the app due to multiple operations going on in async. So basically our plan is to have a test app (preferably a desktop app) which can wait on certain events generated from within the metro app.We also want this to be bidirectional that is our desktop test app also generates certain events on which the metro app will wait (We will inject that part in the metro app code).This way we hope to generate more scenarios. The problem is apparently in normal scenario events generated within metro app are not visible to other apps outside the app container.So is there a way to enable the eventing by some edits in the manifest file. PS: We need this framework only for testing so currently we are not bothered about being flagged as the code won't be shipped with the IPC framework. As long as we are able to wait on events across processes it is fine. (Though we aim something that causes minimum interference with the original working of the app code)

EDIT:Also if we don't use eventing can we use RPC or any other form of communication that enables us to wait.


回答1:


This is explicitly disabled. The only way to sync would be through the cloud (a back end service) or through the file system.



来源:https://stackoverflow.com/questions/11135994/waiting-from-a-desktop-app-for-events-originating-from-a-metro-app-and-vice-vers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!