Monday, 18 March 2013

How to run AndyChat application in Eclipse


I just found the solution to run Andy Chat in Eclipse. Follow the steps below:

Step 1: Import the AndyChat package in Eclipse [You can download the AndyChat package form here=>https://www.box.com/shared/130ph7fsbgrj1h69pksq ]

Step 2: Open "src" folder in eclipse like this.



Step 3: Drag and Drop "ChatServer.java" to "src" folder. 


A new package named "(default package)" will be created along with "ChatServer.java" file.

Step 4: Now delete the "ChatServer.java" file in "edu.UTEP.android".



Step 5: Now goto Command Prompt and run the "ChatServer.java" file. This will start the Chat Server which will receive the message.

Step 6: Now Run the AndyChat application in emulator. The application in the emulator will act as a Client. Type some message in the TextBox and click Send button. Bingo!!! The message will appear in the Command Prompt.

4 comments:

  1. hi rajan
    file chatserver.java is not running on command prompt
    giving an error

    ReplyDelete
  2. how to install and run it on android device

    ReplyDelete
  3. how to run the chat server in command prompt

    ReplyDelete
  4. 1 : create chatserver.java on java project using netbeans and then running your Chatserver.java file
    2: Using IDE Eclipse, running your Android project and then running in 2 emulator.
    3 : You can simulation communication with chatting application,

    Thank you... I just tried it

    ReplyDelete

Seek-Geek

Welcome to Seek-Geek Blog