1

I would like to hide my URL in HTTP POST Request from USERS. Like if I extract my APK I would be able to see the link when I use the following to access few details from mySQL in the code.

private static String url_all_contacts = "http://www.mydomain.com/xxxsa/all.php;
List<NameValuePair> params = new ArrayList<NameValuePair>();
JSONObject json = jParser.makeHttpRequest(url_all_contacts, "GET", params);

I would like to know is there any way to hide the URL?

Thanks!

TheDevMan
  • 5,914
  • 12
  • 74
  • 144

1 Answers1

0

Use Proguard to hide your code. Check this question for a detailed explanation.

Community
  • 1
  • 1
intrepidkarthi
  • 3,104
  • 8
  • 42
  • 75