URL uri = null; try { uri = new URL(aURL); } catch (MalformedURLException e) { // TODO Auto-generated catch block Log.e(\