I have PHP link that updates totals on my database for my website. This website has no UI at all. When the user clicks on my button I just want it to load the link in the background and not view it. Using,
public void cButton(View view){
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));
startActivity(browserIntent);
}
will prompt Android to open up its native browser, I just want to load the link. Any methods you guys have in mind :) ?