Changed URL in MainActivity to my local address. Also added android_connect folder which is present on the server. This contains all the php interfacing.