java - Codename One Sockets Send Message to Client -
i want write simple app me (android). necessary server can send data client (only 1 client @ time) unfortunately have no idea how use sockets or websockets codename one. can please post small examplecode how establish connection, listen on , send small data?
greetings
captain
you need use cn1lib steve hannah access websockets. available here: https://github.com/shannah/cn1-websockets
found thru looking @ https://www.codenameone.com/cn1libs.html
sockets bit problematic though, might want @ push, pubnub or https if applicable. see chat app demo parts 5 & 6 former: https://www.codenameone.com/blog/building-a-chat-app-with-codename-one-part-5.html
Comments
Post a Comment