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);
and the NetworkInfo
NetworkInfo ni = connectiviyManager.getActiveNetworkInfo();
regards
Michael
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en