flyjwayur / ChatApplication

Chat Client(Android) & Chat Server in Java
0 stars 0 forks source link

Executing Project #1

Open akkirockstar opened 8 years ago

akkirockstar commented 8 years ago

you have given 3 classes in client and 5 classes in server. No class from server has method onCreate() which is necessary for android application. So how to execute these files? I just want flow. Please help me out..

flyjwayur commented 8 years ago

Hi, akkirockstar :D Thank you for the question. I did this project as a school project. After your question, I looked back my code. If you check the in 'ChatApplication/ChatClient/MainActivity.java' this directory, you can see the 'OnCreate' method in line 40. In 'ChatApplication/ChatSever/Server.java', the socket connection is established. I run the server in Netbean(In other words, It's pure java code, it is not android files) and my client part works as an android application. I am also in the learning stage. If you have more questions, I'll try to answer more as much as I know. Have a nice day :) Let's cheer up :)

akkirockstar commented 8 years ago

oh thank you so much for your reply. When i asked you question that time i run that file in cmd and that's why i didnt get right output. I will try working with netbeans. And your code was very helpful to understand socket connections. Thanks :)

On Sun, Feb 7, 2016 at 12:50 PM, HyeSoo notifications@github.com wrote:

Hi, akkirockstar :D Thank you for the question. I did this project as a school project. After your question, I looked back my code. If you check the in 'ChatApplication/ChatClient/MainActivity.java' this directory, you can see the 'OnCreate' method in line 40. In 'ChatApplication/ChatSever/Server.java', the socket connection is established. I run the server in Netbean(In other words, It's pure java code, it is not android files) and my client part works as an android application. I am also in the learning stage. If you have more questions, I'll try to answer more as much as I know. Have a nice day :) Let's cheer up :)

— Reply to this email directly or view it on GitHub https://github.com/flyjwayur/ChatApplication/issues/1#issuecomment-180969421 .

flyjwayur commented 8 years ago

Thank you for the reply too :) Hope that the code can work in Netbean :) I also got a lot of helps from School, friends and Github. I am glad that sharing school project can be helpful for others. Thank you for the kind & warm words.