Peer communication between Android mobile app and PC browser

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.