Open and view pdf in my application
问题 Using this code: try { URL url = new URL(aurl[0]); URLConnection conexion = url.openConnection(); conexion.connect(); int lenghtOfFile = conexion.getContentLength(); Log.d("ANDRO_ASYNC", "Lenght of file: " + lenghtOfFile); InputStream input = new BufferedInputStream(url.openStream()); FileOutputStream fos = openFileOutput("try.pdf", Context.MODE_PRIVATE); //PARA DESCARGARLO EN SD// // OutputStream output = new FileOutputStream("/sdcard/prueba.pdf"); byte data[] = new byte[1024]; long total =