git clone https://github.com/huluhive/android-volley-file-upload.git
cd android-volley-file-upload
One should change the ip address of the server in MainActivity point to your own server.
public static String BASE_URL = "http://ip-address:port/server/upload.php";
Now import the project in android studio and good luck.