Showing posts with label How to run AndyChat application in Eclipse. Show all posts
Showing posts with label How to run AndyChat application in Eclipse. Show all posts

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.

Seek-Geek

Welcome to Seek-Geek Blog