hi, I am creating an android app that is supposed to retrieve data from a remote database (Mysql) I'd like to pass the parameter to my php file using url and get the result that I'll display in the apps can someone have an idea of how to proceed? thank you
Jump to Post
Passing the parameter doesn't work or you don't know how? You should be able to just build a URL with
&'s in Java as you would normally.
URL url = new URL("http://mywebsite/myservice/fetchmesomething.php?parameter1=" + par1 + "¶meter2=" + par2);
Of course it would be better …
All 2 Replies
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.