1,234
edits
Changes
→Checking connectivity
// do something
}</source>
== Secure communication ==
You should never transfer any confidential information over an unencrypted channel. Using an HttpsURLConnection is pretty easy, unless you have a self-signed certificate on your server. You don't need to know the details of this implementetion but if you're curious: [http://littlesvr.ca/grumble/2014/07/21/android-programming-connect-to-an-https-server-with-self-signed-certificate/ here it is].
= Parsing XML =