title: How do I encrypt or hide my api url in android?
body: <p>I am working on a client server application in which I have an API from my server which sends me response in JSON.</p>
  
  <p>If somehow anyone tries to extract my code from the apk. I do not want to let him know my API.
  What are the steps should I use to encrypt it?
  Any specific way or some encrypt algo.</p>
  
  <p>How do I hide this api in my code:</p>
  
  <p><a href="http://www.androidhive.info/2012/01/android-json-parsing-tutorial/" rel="nofollow">http://www.androidhive.info/2012/01/android-json-parsing-tutorial/</a></p>