tag:blogger.com,1999:blog-89878749563391212.post4365837004778396671..comments2024-03-14T00:13:01.346-07:00Comments on Android-er: Android Server/Client example - client side using SocketUnknownnoreply@blogger.comBlogger34125tag:blogger.com,1999:blog-89878749563391212.post-84078477269619229062020-02-25T22:52:23.510-08:002020-02-25T22:52:23.510-08:00Not working for multiple devices connection.Not working for multiple devices connection.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-11527214783146509592019-01-28T03:40:14.758-08:002019-01-28T03:40:14.758-08:00Very informative. Thanks for postingVery informative. Thanks for postingMuralihttps://codegnan.comnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-63604162116260923082017-09-10T16:37:39.456-07:002017-09-10T16:37:39.456-07:00Very good, excellent post!Very good, excellent post!Ellyhttps://nxandroid.comnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-21137979274995407642017-03-10T03:16:45.061-08:002017-03-10T03:16:45.061-08:00Please Share more Tutorials
Very Interesting Blo...Please Share more Tutorials<br /><br />Very Interesting Blog Post .Now a Days All the People in the world are Connected together by the Technology. Mainly makes human life Much Easier.<br />I Liiiike this tutorialInduPriyahttp://www.nareshit.com/course/android-online-training/noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-37702272160257266582016-10-12T01:16:37.839-07:002016-10-12T01:16:37.839-07:00Being new to this and would like to learn more. At...Being new to this and would like to learn more. At present want to use android device with graphical buttons to send various commands via telnet?? Or other bidirectional protocol. Any help or links would be appreciated. Spiesejhttps://www.blogger.com/profile/08396728444182623197noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-38909383486240187992016-07-22T10:16:35.291-07:002016-07-22T10:16:35.291-07:00Great example I was struggling with it before I fo...Great example I was struggling with it before I found this post. <br />I just can figure out how to send a String to the client? <br />Do I add the String to the ByteArrayOutputStream?<br /><br />If you can show me I would appreciate it, Thanks.Kim Floridahttps://www.blogger.com/profile/13155834465687268077noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-83472927971968557832016-05-31T11:01:29.286-07:002016-05-31T11:01:29.286-07:00It is better to close inputstream after read data:...It is better to close inputstream after read data:<br /><br />...<br /><br />InputStream inputStream = socket.getInputStream();<br /><br />...<br /><br />inputStream.close();Forinoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-7435015991975473092016-05-29T04:00:34.589-07:002016-05-29T04:00:34.589-07:00Hi,
Is it possible to do in UDP? I am working on t...Hi,<br />Is it possible to do in UDP? I am working on this type of my student project.<br /><br />ThanksAnonymoushttps://www.blogger.com/profile/03976573838155007350noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-83509207217097247202016-05-17T22:03:47.317-07:002016-05-17T22:03:47.317-07:00Appreciate your time for such a great tutorial...i...Appreciate your time for such a <b>great tutorial</b>...its Awesome, Loved it...<i>simply the best</i> :)Anonymoushttps://www.blogger.com/profile/10369100398991170581noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-51183619574731801612016-05-06T00:57:28.674-07:002016-05-06T00:57:28.674-07:00This program only partially works for me - pressin...This program only partially works for me - pressing connect does show correct messages on the server device, but the client app only receives the input stream the one time into the buffer, then "inputStream.read(buffer)" receives no more data from the server and blocks the thread - i.e. never exits the while loop below.<br /><br />while ((bytesRead = inputStream.read(buffer)) != -1){<br /> byteArrayOutputStream.write(buffer, 0, bytesRead);<br /> response += byteArrayOutputStream.toString("UTF-8");<br /> }Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-59179913419007091422016-02-06T15:20:48.083-08:002016-02-06T15:20:48.083-08:00Hi, Can anybody tell about UDP communication?Hi, Can anybody tell about UDP communication?Anonymoushttps://www.blogger.com/profile/03976573838155007350noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-2934248823394663912016-02-02T22:19:00.715-08:002016-02-02T22:19:00.715-08:00Thanks for this tutorial, I am usually worried ove...Thanks for this tutorial, I am usually worried over the fact that people would take time to comment on ur work(post) but you find it very difficult to reply them especially when they need it.Mkay4realhttps://www.blogger.com/profile/10597059301566296478noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-64320588024112710252016-01-27T04:37:06.943-08:002016-01-27T04:37:06.943-08:00hello ranjitha ak,
In my understanding, it depend...hello ranjitha ak,<br /><br />In my understanding, it depends on network setting, not related to the program.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-49394409070327054202016-01-27T03:21:40.430-08:002016-01-27T03:21:40.430-08:00How can I use this with different network. It work...How can I use this with different network. It works only when both thw server an clients are in same networks.Anonymoushttps://www.blogger.com/profile/02074890603942332334noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-14595288390583322722015-11-20T07:16:56.608-08:002015-11-20T07:16:56.608-08:00Dear Sir,
Your code work fine,
But I want create o...Dear Sir,<br />Your code work fine,<br />But I want create once clientThread and reuse it to send different massages to server<br />because I need to send massage within one millisecond to the serverFestival PHIhttps://www.blogger.com/profile/01309166810947078746noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-63723916584541986852015-10-16T07:23:15.844-07:002015-10-16T07:23:15.844-07:00hello The Creator,
I have no any good idea for yo...hello The Creator,<br /><br />I have no any good idea for your question.<br /><br />Anyway, you can scan ip in your network, to find which devices can be reached. <a href="http://android-er.blogspot.com/2015/10/scan-reachable-ip-to-discover-devices.html" rel="nofollow">Scan Reachable IP to discover devices in network</a>Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-79669986961837518992015-10-16T01:58:05.591-07:002015-10-16T01:58:05.591-07:00ThanQ very Much For Best Script
It is Most Use fu...ThanQ very Much For Best Script <br />It is Most Use full For Me But I have Some Problem is There any way to Read <br />Server Mobile Local Ip Address <br />i dont want enter Manually ip address in client side Mobile<br /><br />The Creatorhttps://www.blogger.com/profile/17970375324021919498noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-42661691634919259092015-09-03T19:31:30.527-07:002015-09-03T19:31:30.527-07:00hello san,
I haven't tried on mobile network....hello san,<br /><br />I haven't tried on mobile network. Somebody said the service provider will block the ports. So actually cannot, because of the mobile network service, not by the program. Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-59217872902485819402015-09-03T19:24:45.220-07:002015-09-03T19:24:45.220-07:00Is it working over 4G connection? each device are ...Is it working over 4G connection? each device are not in same local network but have 4G connection. But I cannot send the socket. Pls how to solve it<br />sanhttps://www.blogger.com/profile/10345877516909741965noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-23590734807165671482015-08-20T09:50:50.232-07:002015-08-20T09:50:50.232-07:00Awesome ..works very well..:-)Awesome ..works very well..:-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-53675238090868268512015-07-21T00:16:32.920-07:002015-07-21T00:16:32.920-07:00I want to know which protocol is being used here. ...I want to know which protocol is being used here. Is it telnet protocol ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-82543889148674331222015-04-29T01:48:32.753-07:002015-04-29T01:48:32.753-07:00Hello,,,im just thinking if it is possible to divi...Hello,,,im just thinking if it is possible to divide the codes on connect button. by creating 2 buttons[connect,send].connect is just simply notify you if its connected, then send is to send a message to the server. can anyone help me?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-62585841111535181772014-11-20T23:38:45.576-08:002014-11-20T23:38:45.576-08:00How can i user it for Instant messaging app in And...How can i user it for Instant messaging app in Android? And how to retrive port number from user while they initiate IM.Anonymoushttps://www.blogger.com/profile/11946442322217198490noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-79384934168057697402014-11-11T04:23:18.512-08:002014-11-11T04:23:18.512-08:00Its really great, but in case when i don't kno...Its really great, but in case when i don't know about the server ip address then how can i connect with server as a client plzz tell me...!Anonymoushttps://www.blogger.com/profile/10531230496332247890noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-90932427414233496952014-10-14T07:46:23.683-07:002014-10-14T07:46:23.683-07:00greet job. working well greet job. working well Anonymoushttps://www.blogger.com/profile/13910863023744177090noreply@blogger.com