android connect to mysql with php ,inside app i make encrypt for server url ,try to prevent sql injection ,use https
my concern is can any one listen for network and get server url also get query string??
note :for now my server not support java application so i can't use jRDC2
Thank you
Even if you use SSL it will still be possible to get the URL by decompiling your app. Obfuscation will help a bit.
If the database access is read-only then you can limit the SQL user privileges to reading. This way it will still be secure. Another option is to implement the specific queries in PHP.