Make an HTTP request with android

I have searched everywhere but I couldn’t find my answer, is there a way to make a simple HTTP request? I want to request a PHP page / script on one of my websites but I don’t want to show the webpage.

If possible I even want to do it in the background (in a BroadcastReceiver)

12 Answers
12

Leave a Comment