how i can import the websocket library to eclipse(android) -


I work with Eclipse and I want to use the websocket in my project and I get this project on the internet :

But the project is for Android studios and I do not know how I can import the dependencies and other files in the right place. Please tell me how can I use the website? I do not want to use socket instead of websocket because my friends write all things in PHP and we do not want to use JS

If you read blog posts and follow the example, you will see that it uses the Java-Websocket library.

Here's a jar release:

  1. A good way to add external jars to your Android project or any other Java project is:

      < Li> Make a folder named libs in the root of your project
    1. Copy your JR files to the Libs folder
    2. Now right-click on the jar file and then select the build path> add to the build path , which will be rendered in your project '

    By doing this, you will not lose your library , which is being referred to whenever you want your project to be on another computer Then move on to your hard drive.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -