I want to connect arduino and android via cc3000, it works perfectly in both side. well, in arduino we access http://ip/location1 and http://ip/location2.
and in android i am using
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://ip/location1"));
startActivity(intent);
and you know why i am not using
HttpClient httpClient = new DefaultHttpClient();
HttpContext localContext = new BasicHttpContext();
HttpGet httpGet = new HttpGet("http://ip/location1");
HttpResponse response = httpClient.execute(httpGet, localContext);
it's not working, it's not even connecting
so, how to make it access the url, without opening browser? with Intent.ACTION_VIEW