Re: [android-developers] Aw: Data transfer server to client by using WiFi application in android

2011-06-26 Thread Farhan Tariq
Devices on same WiFi-LAN are no different than devices on any LAN. So your java's server-client program should work fine after a few adjustments. One suggestion though, inherit your server class from "Service", instead of activity so that you don't run into problems arising from different phases in

[android-developers] Aw: Data transfer server to client by using WiFi application in android

2011-06-24 Thread Michael Kuethe
Kumar is right - nothing new in the socket coding. But potentially you have to face issue regarding the connected/disconnected Status. have a look at the class ConnectivityManager connectiviyManager = (ConnectivityManager) context .getSystemService(Context.CONNECTIVITY_SERVICE); a