运行存储在服务器中的php脚本?

and*_*nnn 3 php android wampserver

我有一个存储在Wamp服务器中的PHP脚本,并希望我的应用程序执行它来从服务器执行一些图像处理,然后服务器将结果发送到Android手机.这有可能吗?如果是这样,你能提供一些提示吗?

非常感谢你.

ios*_*seb 8

只需执行HTTP get请求:

String url = "http://your.domain.com/path/to/file.php";
HttpClient client = new DefaultHttpClient();

try {
  client.execute(new HttpGet(url));
} catch(IOException e) {
  //do something here
}
Run Code Online (Sandbox Code Playgroud)