android set the image I crop as wallpaper
问题 I just crop the image to get part of it. But Android set the returned image as the wallpaper. Why? I track the android code, and in Gallery3D application(com.cooliris), I found this: // TODO: A temporary file is NOT necessary // The CropImage intent should be able to set the wallpaper directly // without writing to a file, which we then need to read here to write // it again as the final wallpaper, this is silly mTempFile = getFileStreamPath("temp-wallpaper"); mTempFile.getParentFile().mkdirs