开发者

Trigger php script through code

I want my app to trigger a php script. Basically, all 开发者_如何学Cit needs to do is visit an url with some get variables (something like www.example.com/foo.php?id=1). Preferably without opening any browser.


Here is a resource from the Android SDK website that demonstrates the HttpUrlConnection object in action:

http://developer.android.com/reference/java/net/HttpURLConnection.html

This call would be made programmatically, without showing anything to the user.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜