Wrox Programmer Forums
BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2
This is the forum to discuss the Wrox book Professional Android Application Development by Reto Meier; ISBN: 9780470344712
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 10th, 2012, 05:25 AM
Authorized User
Join Date: Jan 2006
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Default Unable to access web with HttpURLConnection

String https_url = "http://www.google.com/";
URL url;

try {

url = new URL(https_url);
HttpURLConnection con = (HttpURLConnection)url.openConnection();
int responsecode = con.getResponseCode();

} catch (MalformedURLException e) {
} catch (IOException e) {

In con.getResponseCode() gives error.
How to solve this?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Access web ackid32 BOOK: Beginning Android Application Development 1 May 17th, 2012 12:54 AM
Unable to connect web server arnab-jit ASP.NET 3.5 Professionals 0 January 24th, 2011 10:38 AM
UNABLE TO PUBLISH WEB SITE JORGEMAL Visual Studio 2005 0 April 2nd, 2008 06:09 PM
Unable to complete web request. Web Exception erro shazza Biztalk 0 October 27th, 2006 06:43 PM
HttpURLConnection from Java to ASPX??? MichaelTJ ASP.NET 1.0 and 1.1 Basics 7 July 21st, 2005 10:01 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.