Skip to content

Shael08/Android_Morse_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Android Morse Application with websocket

This is a simple android app, which communicates with the server and send every message to the other clients.

Setting up the clients

First of all, change the IP address in the following files:

WebscoketServer/ConsolClient/Program.cs and Morse_app/MainActivity.cs

Client client = new Client();
client.Setup("ws://192.168.0.14:8001", "basic", WebSocketVersion.Rfc6455);
client.Start();

Running the server informs us about the IP and the port or can be checked in the command prompt, with the ipconfig command.

alt tag

If the IP address is correct, you can build+run the server, and the app.

Disable the console client

Running the console client is not necessary, but help to track the communication.

Under solution properties it is possible to run only the server, changing to single startup project

alt tag

Using the app

Now we are ready to build and run the android app. Tapping and realising the morse button will send short tone, and longclicking will send long morse signal.

Database location

The server stores every message in a predefined sqlite database which can be found beside the server (default at: \WebsocketServer\bin\Debug\Morsedb.sqlite)

Publishing

Here is a step by step guide, how to publish the application

About

Android morse app with websocket server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages