Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.09 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.09 KB

tyrus-client-android-test

Test project used to debug Tyrus Client runtime on Android

You might notice that I'm not an expert in creating Android apps :) so please do not take this code seriously, there might be some bug or some Android runtime environment rule that was not respected. Main purpose was just to test whether Tyrus client can run on Android or not.

How to run

  1. Install Android components.
$ android update sdk --no-ui --force --all --filter build-tools-19.0.3
$ android update sdk --no-ui --force --all --filter android-19
  1. Build and install application.
$ gradle clean installDebug

The application itself is just one Activity called MyActivity which contains one huge button. When clicked, Tyrus Client will try to connect to ws://echo.websocket.org and send message. You can see the result in the Android console (tag TYRUS-TEST).

Links