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
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
2 matches
Mail list logo