Pre-Reqs for Upload Image App1) Android Studio Or Eclipse.
2) MSSQL Server.
3) Firewal must allow to connect to database. (or turn off firewall from control pannel)
4) Download and add latest version of jtds jar file and include it in your project. See how to include jtds jar file to your project HERE.
Open your gradle module App and add the following
build.gradle (Module App)
Now, Open your AndroidManifest.xml file and add the following permissions after < /application> tag
Now, Open your activity_main.xml file and paste the following code.
Last Step, Open your MainActivity.java file and add the following code
NOTE: Every line is commented to make you people understand well