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.
Asked
Modified
14 years, 10 months ago
Viewed
665 times
Part
of PHP and Mobile Development Collectives
1 Answer
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.