0

I want my app to trigger a php script. Basically, all it 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.

1
  • You could get the answer from Google in less time Commented Jan 3, 2011 at 8:48

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.