title: How to disable SSLv3 in android for HttpsUrlConnection?
body: <p>We wrote client application in android which connects with https servers using HttpsUrlConnection apis. Due to Poodle vulnerability, we need to disable SSLv3 from the list of enabled protocols while invoking any request. </p>
  
  <p>We followed the <a href="http://www.oracle.com/technetwork/java/javase/documentation/cve-2014-3566-2342133.html" rel="nofollow noreferrer">guidelines</a> captured by oracle</p>
  
  <p>and added following line before invoking url connection</p>
  
  <pre><code>java.lang.System.setProperty("https.protocols", "TLSv1");
  </code></pre>
  
  <p>This solution works fine with normal java program. <br>
  We got <code>SSLHandShakeException</code> when tried to connect with a server which only works on SSLv3 protocol.</p>
  
  <p><strong>But concern is</strong> : same fix does not work for android. Am I missing something or should I try another approach for android? Please suggest.</p>