Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcaguilera/websocketchat
Web and Websocket server example for Android.
https://github.com/jcaguilera/websocketchat
android-example nanohttpd webserver websocket-server
Last synced: about 1 month ago
JSON representation
Web and Websocket server example for Android.
- Host: GitHub
- URL: https://github.com/jcaguilera/websocketchat
- Owner: JCAguilera
- License: mit
- Created: 2018-08-15T13:17:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-15T19:02:19.000Z (over 6 years ago)
- Last Synced: 2024-09-08T17:13:54.319Z (3 months ago)
- Topics: android-example, nanohttpd, webserver, websocket-server
- Language: Java
- Size: 3.8 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebSocketChat
Web and Websocket Server example for Android. Tested on Android 8.1 (API 27).
Allows you to open a web server to serve an Angular 6 app. Then, opens a Websocket server to comunicate with the app in real time through an easy-to-use Chat App.## Server
It uses [NanoHttpd](https://github.com/NanoHttpd/nanohttpd) for the Webserver, and [Java-WebSocket](https://github.com/TooTallNate/Java-WebSocket) for the WebSocket Server.
It has a very simple layout and it's pretty easy to use. Just write your username and then start the server.## Client
The client app is made with Angular 6 and Angular Material. It's stored on the assets folder in the android app.
It's also really easy to use, only username and login. That's it.## Features
- [x] Easy to use!
- [x] Client device can be an Android, iOS or any other device that has a browser (tested on Chrome and Safari).
- [x] Multi-client Support!
- [x] Easy to host any Angular apps or any other websites!.
- [x] JSON support (using [Google's gson](https://github.com/google/gson)).## License
MIT License - see [LICENSE](LICENSE) for more details.