I upload some data and communicate with my server using my application.I send data to PHP file on server and then it writes in database.
Currently those links are stored in my android application code, like :
// single product url
private static final String url_product_details= "http://23.229.161.73/android_connect/get_product_details.php";
// url to update product
private static final String url_update_product = "http://23.229.161.73/android_connect/update_product.php";
// url to delete product
private static final String url_delete_product = "http://23.229.161.73/android_connect/delete_product.php";
Its very easy to decompile the application source code and all those links are visible then.So how to encrypt those links if possible, inside the application and ensure that someone doesn't sniff out the data.