DC
Bitmap bitmap = null;
InputStream input = new URL(imgUrl).openStream();
bitmap = BitmapFactory.decodeStream(input);
File file = new File(getCacheDir(), "1");
file.createNewFile();
ByteArrayOutputStream bos = new ByteArrayOutputStream();
bitmap.compress(Bitmap.CompressFormat.PNG, 0 /*ignored for PNG*/, bos);
byte[] bitmapdata = bos.toByteArray();
FileOutputStream fos = new FileOutputStream(file);
fos.write(bitmapdata);
fos.flush();
fos.close();
А как сделать тоже самое для видео?