Friday, September 3, 2010

Re: [android-developers] Call PHP through URL

Use HttpClient, which is included in the Android firmware:

http://hc.apache.org/httpcomponents-client-4.0.1/index.html

On Fri, Sep 3, 2010 at 7:40 PM, svebee <sven.kapudija@gmail.com> wrote:
> Hi,
>
> how can I "call" (without any browser or so) some URL to activate PHP
> script on my server..for ex.
>
> URL = "http://www.website.com/script.php?id=" + someVariable;
> call/execute URL;

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment