tag:blogger.com,1999:blog-89878749563391212.post242909973986161033..comments2024-03-14T00:13:01.346-07:00Comments on Android-er: Implement simple Android Chat Application, server side.Unknownnoreply@blogger.comBlogger27125tag:blogger.com,1999:blog-89878749563391212.post-7979129547183159772017-07-04T04:41:46.966-07:002017-07-04T04:41:46.966-07:00I am using esp8266 wifi module.Both the mobile whi...<b>I am using esp8266 wifi module.Both the mobile which runs ChatServer and esp8266 are connected to same wifi. After configuring esp8266 module with ip address and port number displayed in ChatServer application, connection is established and data is also sent from esp8266 but it is not displayed on the mobile ChatServer application. Why ? Does this ChatServer application only work on ChatClient application from another mobile and not from any other devices or terminal from pc ? </b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-42234969622653015282017-05-08T05:57:14.269-07:002017-05-08T05:57:14.269-07:00I need to, server send real time video from camera...I need to, server send real time video from camera instead of text to client. do you know how? Anonymoushttps://www.blogger.com/profile/09573433767846306041noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-25695568795691389902017-03-29T07:51:15.635-07:002017-03-29T07:51:15.635-07:00Thank you Eric for sharing this application.
I...Thank you Eric for sharing this application. <br />I've faced just one problem in this that the ip of the server keeps changing. Can you please tell me if u know a way to handle this frequent ip changing problem. Shashankhttps://www.blogger.com/profile/15862443373743884283noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-8564988174899906722017-02-11T01:29:53.083-08:002017-02-11T01:29:53.083-08:00Both client and server have to be inside the same ...Both client and server have to be inside the same WiFi network.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-47292670817263226422017-02-09T04:54:03.540-08:002017-02-09T04:54:03.540-08:00Is this app requires WIFI/Internet? Please respond...Is this app requires WIFI/Internet? Please respond.<br />Thanksrajeshhttps://www.blogger.com/profile/10167983910146583620noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-85371120545704563262017-02-02T06:09:18.637-08:002017-02-02T06:09:18.637-08:00Sir, I'm using your code in our thesis study i...Sir, I'm using your code in our thesis study it Good, but i want to know if the server can interact also to the client.Thanks.Anonymoushttps://www.blogger.com/profile/14608136974480459317noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-16551290968195024332016-11-18T11:55:57.921-08:002016-11-18T11:55:57.921-08:00I'm getting this error.
Failed to set EGL_SWAP...I'm getting this error.<br />Failed to set EGL_SWAP_BEHAVIOR on surface 0x977f91a0, error=EGL_BAD_MATCH<br />Skipped 71 frames! The application may be doing too much work on its main threadamgnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-55524191508314145402016-09-05T00:03:33.313-07:002016-09-05T00:03:33.313-07:00Thanks alot . its best and simplest .....Thanks alot . its best and simplest .....Anonymoushttps://www.blogger.com/profile/17267486397477377741noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-19363622009781756572016-04-25T07:21:49.506-07:002016-04-25T07:21:49.506-07:00hello sir how we can share image over the group an...hello sir how we can share image over the group and it is possible to make one to one chating as well as make chating over the different network.Anonymoushttps://www.blogger.com/profile/12948452708836602251noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-58187106661841054982016-03-29T03:56:55.609-07:002016-03-29T03:56:55.609-07:00make sure Add uses-permission of "android.per...make sure <b><a href="https://www.youtube.com/watch?v=RpzgBMwZQ9s" rel="nofollow">Add uses-permission of "android.permission.INTERNET" to AndroidManifest.xml</a></b>.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-5471429884388130032016-03-28T11:17:30.867-07:002016-03-28T11:17:30.867-07:00showing error java.net.SocketException:socket fail...showing error java.net.SocketException:socket failed:EACCES(permission denied)....<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-27843660781181894782016-02-09T11:33:30.393-08:002016-02-09T11:33:30.393-08:00does this use GCM?does this use GCM?Best Deals in Israel https://www.blogger.com/profile/13577659597059118873noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-74072086204226754832015-07-20T04:13:56.726-07:002015-07-20T04:13:56.726-07:00I am not sure but I think when client disconnect f...I am not sure but I think when client disconnect from the application, Toast that writes "removed" does not seem immediately.It is seen after a new client connects and sends a message.How can i handle this? Thanks for the answers.Anonymoushttps://www.blogger.com/profile/04459845036032046131noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-3151874692046482382015-04-26T04:35:21.077-07:002015-04-26T04:35:21.077-07:00after getting connection refused errors i tried th...after getting connection refused errors i tried this: i shared my phone's internet (mobile data) with my tablet and then tried to connect again and this time it worked! i tried different ports and it works very well. it seems that there is a problem with my router or something that does not let me establish a connection. i hope this works for others like me.Anonymoushttps://www.blogger.com/profile/15354504139778434069noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-22940748987802141942015-04-26T00:20:04.187-07:002015-04-26T00:20:04.187-07:00same question fm my side :
"every time i clic...same question fm my side :<br />"every time i click connect i get<br /><br />java.net.ConnectException failed to connect to /192.168.1.21 port(8080): connect failed: ECONNREFUSED (Connection refused)<br /><br />i have added the internet permission to the manifest but i don't know what the problem is. can anyone help?<br />"ARSAL AHMED KHANhttps://www.blogger.com/profile/18005008560411365494noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-48374712236833043912015-04-20T14:57:02.411-07:002015-04-20T14:57:02.411-07:00every time i click connect i get
java.net.Connect...every time i click connect i get<br /><br />java.net.ConnectException failed to connect to /192.168.1.21 port(8080): connect failed: ECONNREFUSED (Connection refused)<br /><br />i have added the internet permission to the manifest but i don't know what the problem is. can anyone help?Anonymoushttps://www.blogger.com/profile/15354504139778434069noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-72591512647249879772015-04-19T06:59:45.062-07:002015-04-19T06:59:45.062-07:00i use eclipse target 17 and i run this application...i use eclipse target 17 and i run this application on 2 emulator android on eclipse but i have an exception connection refused,plz help mesalmahttps://www.blogger.com/profile/16313541264999970881noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-82263389078290556882015-04-01T10:20:47.701-07:002015-04-01T10:20:47.701-07:00Hi.i am developing an app in which i used your cod...Hi.i am developing an app in which i used your code for Server/Client connections...my app is getting crashed when i try to run it...in log cat the error shown was related to when i try to add Chat-Client to<br />userList.when i use this List in my code it throws null pointer exception...please help me solve this issueFarrukh Javednoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-16124512155002729022015-03-05T20:17:58.183-08:002015-03-05T20:17:58.183-08:00sir i cannot download the attachments so i copy p...sir i cannot download the attachments so i copy pasted the code and updated the manifest and copy pasted a android-support-v7-appcompat.jar to project but it stops on start saying NoClassDefFoundshubhamhttps://www.blogger.com/profile/16436284739386317326noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-1847891242914614792015-03-02T10:34:00.629-08:002015-03-02T10:34:00.629-08:00Thanks for the example. I found out that readUTF u...Thanks for the example. I found out that readUTF uses a modified UTF-16 encoding. The size of buffer your sending needs be the first byte of what your sending. Something like '123' would actually translate to { 0, 3, 0, 49, 0, 50, 0, 51 } in raw bytes ... I hope that saves someone a headache when writing a client in a different language.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-47409136764258293342015-01-09T04:44:59.229-08:002015-01-09T04:44:59.229-08:00It's like getting the water in the sand. Feeli...It's like getting the water in the sand. Feeling great after 2 days of R & D on Socket Programming i got the right working solutionAnonymoushttps://www.blogger.com/profile/08357248970294996552noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-88774345415750027232015-01-03T02:24:14.630-08:002015-01-03T02:24:14.630-08:00Nice tutorial!!
I am facing error in styles.xml(in...Nice tutorial!!<br />I am facing error in styles.xml(in res<br />->values folder).. just downloaded the source code from your site<br /><br />kindly reply urgent!!eishahttps://www.blogger.com/profile/02684897136225181442noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-38842363745519288102014-12-05T16:02:44.958-08:002014-12-05T16:02:44.958-08:00Hello Kissy Mae Padayjag,
Are you miss "andr...Hello Kissy Mae Padayjag,<br /><br />Are you miss "android.permission.INTERNET" in AndroidManifest.xml?<br /><br />Please check the <a href="http://goo.gl/r5Vn11" rel="nofollow"> post updated</a> with <a href="https://www.youtube.com/watch?v=8HuFvq2dblc" rel="nofollow">video</a>.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-76438351153468702012014-09-16T23:19:28.320-07:002014-09-16T23:19:28.320-07:00Adding 'android-support-v7-appcompat' supp...Adding 'android-support-v7-appcompat' support library to the project did the trick!<br />Thank you Andr.oid Eric!senurzhttps://www.blogger.com/profile/08068319456032118313noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-43438655909719741022014-09-16T06:37:26.723-07:002014-09-16T06:37:26.723-07:00hello senurz,
Is it your case? "The import a...hello senurz,<br /><br />Is it your case? <a href="http://android-er.blogspot.com/2014/09/the-import-androidsupportv7-cannot-be.html" rel="nofollow">"The import android.support.v7 cannot be resolved" and "ActionBarActivity cannot be resolved to a type"</a>Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.com