drawBitmap takes too long
问题 Hello here is the code: URL uri = new URL(photoUrl); URLConnection connection = uri.openConnection(); Log.i(TAG, "connecting..."); connection.connect(); Log.i(TAG, "connected"); Log.i(TAG, "building Bitmap..."); InputStream is = connection.getInputStream(); //BufferedInputStream bis = new BufferedInputStream(is, 8 * 1024); File myfile = new File(getApplicationContext().getCacheDir(), "wallpaper.tmp"); myfile.createNewFile(); BufferedOutputStream out = new BufferedOutputStream(new