The standards-based approach to this would be to use WebSockets over SSL
(which is identified by the 'wss' protocol).
https://developer.mozilla.org/en/docs/WebSockets provides a good
starting point.
For messaging applications, for device resource and battery life reasons
and because your app can't guarantee that it will stay alive in the
background, it's also worth checking out the simple push API at
https://developer.mozilla.org/en-US/docs/WebAPI/Simple_Push. You can
use the API to wake up the app on the device by sending a notification
from your messaging server.
Andrew
On 01/20/2014 01:27 AM, jose llopis wrote:
hi! i'm implementing a server for my messaging app actually i'm using
nodejs+socket.io but due issues with cross platform (android,tizen,firefox os)
cipher
(nodejs cipher, js client cipher and android cipher are not equal and gives me
a lot of problems)
i am trying to implement a socket server with java, i actually did a simple
socket with a thread to send-receive data from android to the server, and from
server to android... what i need now is how to implement an effective
communication between them or how to solve the cipher problem
thanks people
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g