I retrieve data from an external server for use with my android application. I would like this data to be only accessible with my app. I use a standard http connection to ge
You can hide your links by set all url links and paramete names in strings.xml for example: http://wwww.yourdomain.com/yourpage.any user_name and get url such at :
String serverUrl = Resources.getsystem().getstring(R.strings.name_your_link_id);
String parameterKey = Resources.getsystem().getstring(R.strings.name_your_parameter_id);
Uri url = Uri.parse(serverUrl+"?"+parameterKey+"=" + yorusername);
and make any http request HttpURLConnection con = (HttpURLConnection) url.openConnection();
when any one try to decompiled your app he will show only id as long integer in R.java file get code such this
String serverUrl = Resources.getsystem().getstring(12346546564);
String parameterKey = Resources.getsystem().getstring(123321321132);