Encountering a problem in the project, I need to interact with my Androdi mobile app and my PC's browser, and I need to connect to WiFi via wifi,pc and my phone.
The mobile app wants to send some data to the browser, and after the browser takes some action, it feeds the results back to the phone.
My initial idea was that the mobile app communicates with an intermediate endpoint, and then the middle point interacts with the browser.
Is there any other better way to solve it?
Update
I'm not sure Socket.io can solve this effectively, because he needs to deploy the appropriate services on the PC, can I solve this problem through sockets?
Processing methods
It is not possible to interact with the browser, you just try the following way
1. Deploy to the Browser service via WebUI development app (may be possible)
2, the development of Google app, Google's app can launch a Web service (see http://www.devworx.in/news/misc/chrome-apps-can-now-run-a-web-server-135711.html)
3, develop WebApp, can use Flash, Silverlight or Java
In summary: Third-party services are required
Original address: http://www.itmmd.com/201410/26.html
This article by Meng Meng's IT person to organize the release, reprint must indicate the source.
Peer communication between Android mobile app and PC browser