Я хочу выбрать изображение из галереи и скопировать его в другую папку на SDCard.
Код для выбора изображения из галереи
Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
photoPickerIntent.setType("image/*");
startActivityForResult(photoPickerIntent, REQUEST_CODE_CHOOSE_PICTURE_FROM_GALLARY);
Я получаю content://media/external/images/media/681
этот URI наActivityResult.
Я хочу скопировать изображение,
Form path ="content://media/external/images/media/681
To path = "file:///mnt/sdcard/sharedresources/
это путь sdcard в Android.
Как это сделать?