title: What is the best way to hit a URL in Android without using a WebView?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3505930/make-an-http-request-with-android">Make an HTTP request with android</a>  </p>
  </blockquote>
  
  
  
  <p>So what I want to do is hit a URL without opening the browser. The URL is basically the way I am interfacing with some hardware I am playing around with (ie by hitting this URL it will trigger something in the hardware).</p>
  
  <p>For example, I just want a button in my Android application to hit "localhost:8080/test" without opening the Android browser. The only thing I would like to know is whether my HTTP request succeeded or failed.</p>
  
  <p>Thanks</p>