• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Do you need a website to connect android to mysql

I am new to android but all of the examples that I have seen which utilize a web client always have URL's in them such as
Java:
URL url = new URL("www.example.com/insert.php");
                HttpURLConnection myurl = (HttpURLConnection) url.openConnection();
. Would it be possible for instance to have just the insert.php file on your server and connect the android application to it using something like C://webroot/insert.php ? or do I need it in URL format.
 
Back
Top Bottom