Executing an API call in Android <p>I am trying to make an API call to the address: apps.smilemachine.com/smilefactory/api/v1.0/speedup. I just want to execute the url (above) so that it increments the machine and changes the speed value stored at Smilemachine.com? Nothing special I just need to execute the url as if you were typing it into the address bar in any browser?</p> <p>Has anyone got any advice for this or code snippets?</p> <p>My current code just opens the browser, please find below:</p> <pre><code>increasespeed.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { Intent increasespeed = new Intent(null, Uri.parse("http://apps.smilemachine.com/smilefactory/api/v1.0/speedup")); startActivity(increasespeed); } }); </code></pre>