Hi,
I would like to connect to Android using websocket from browser. Need for this is as follows:
I have CRM Web application, when user selects a particular customer, we show all details of selected customer. Customer has contact details like Office Phone, Mobile Phone etc. I would like to call customer from Android phone when user clicks on phone number.
I thought that I will use Websocket from browser Javascript, connect to phone app which is listening on some port and supports websocket protocol. Once it is connected, it will send phone number to Android app. App will receive it and launch Phone app & pass number. So user does not have to enter customer phone number.
I looked at Websocket library but it looks like it is Client library and it will connect to Websocket compatible server.
Is it possible? I also looked at Network library and tried it but from Javascript it gives error during handshake.
Another approach I can take is to use HttpServer Library. Please suggest best method to develop this app.
Thanks & regards...
Uday
I would like to connect to Android using websocket from browser. Need for this is as follows:
I have CRM Web application, when user selects a particular customer, we show all details of selected customer. Customer has contact details like Office Phone, Mobile Phone etc. I would like to call customer from Android phone when user clicks on phone number.
I thought that I will use Websocket from browser Javascript, connect to phone app which is listening on some port and supports websocket protocol. Once it is connected, it will send phone number to Android app. App will receive it and launch Phone app & pass number. So user does not have to enter customer phone number.
I looked at Websocket library but it looks like it is Client library and it will connect to Websocket compatible server.
Is it possible? I also looked at Network library and tried it but from Javascript it gives error during handshake.
Another approach I can take is to use HttpServer Library. Please suggest best method to develop this app.
Thanks & regards...
Uday