title: Android prevent man-in-the middle attack for SSL
body: <p>I'm using HTTPS in my Android app to communicate with my own API.
  When I packet sniff, I don't see any information which is good. 
  However, when I use software like Fiddler2 to install a trusted certificate on my Android, I can see all my HTTPS calls in the clear which is dangerous.   </p>
  
  <p>The problem is so close to this guy but in Android not iPhone:
  <a href="https://stackoverflow.com/questions/15271728/hiding-ios-https-calls-from-fiddler">hiding iOS HTTPS calls from fiddler</a></p>
  
  <p>I am using loopj library to make my https calls: Android Asynchronous Http Client
  <a href="http://loopj.com/android-async-http/" rel="nofollow noreferrer">http://loopj.com/android-async-http/</a></p>
  
  <p>How can I deal with such a vulnerability ?? ( I know how to deal with it conceptually but I need example code ) </p>