Answer the question
In order to leave comments, you need to log in
How to link a mobile application and a browser program/extension on a computer?
There is an extension for chrome (and a standalone program in c # (that is, as a result, 2 separate entities that perform the same tasks)), which needs to send a specific command from the phone.
So far, this idea has come up for implementation:
On the phone in the application, a pair of id:password from the session on the computer is entered, the desired command is selected, it is sent with a pair of id:password to the server, and the extension keeps a socket connection with the server and waits for the command.
Maybe there is some other, more optimized way? (less load on the network / processor of the user's computer)
Answer the question
In order to leave comments, you need to log in
Let's start with the fact that "There is an extension for chrome (standalone program in c #)" Why if there are extensions for HTML5 + JS?
Chrome has GCM, technically done through an intermediate server.
The phone or browser sends a request to the server, and the server in turn makes a PUSH through GCM. You put a handler on the push and voila - when the push arrives you reply to it.
GCM is in the chrome API on JS, not sure what will be available to you via C#
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question