title: Can I use Jar signing to protect android APK file from decompilation?
body: <p>I have looked at this answer provided <a href="https://stackoverflow.com/questions/6235290/how-to-make-apk-secure-protecting-from-decompile">here</a>, and <a href="https://stackoverflow.com/questions/13854425/how-to-avoid-reverse-engineering-of-an-apk-file">here</a>, and <a href="https://stackoverflow.com/questions/17658219/how-secure-is-proguard-against-reverse-engineering?rq=1">here</a></p>
  
  <p>The answers provide some useful information but I wanted to know if there are better ways to do it.</p>
  
  <p>I have built my apk and I used pro guard, but when i decompiled the apk, everything was the same as they were before the compression. </p>
  
  <p>The name of the classes and some variables were obfuscated but a Newbie could have looked at the code and would understand how the app works. </p>
  
  <p>In my app I want to hide the core network communication between the app and the server. For example, the address of the server, the JSON format etc.</p>
  
  <p>I came across something as way to protect from decompilation is putting the java.class files into jars and then signing them and then add them as a library to my app.</p>
  
  <p>My question is:
  Is it the correct way to do it ie. using the jar signing ?</p>