[안드로이드] 2020년 Path에서 Uri 얻기
File Path에서 Uri를 얻고싶을때 아래 메소드를 활용하면 된다. 12345678910111213 private Uri getUriFromPath(String filePath) { long photoId; Uri photoUri = MediaStore.Images.Media.getContentUri("external"); String[] projection = {MediaStore.Images.ImageColumns._ID}; Cursor cursor = getContentResolver().query(photoUri, projection, MediaStore.Images.ImageColumns.DATA + " LIKE ?", new String[] { filePath }, null); cursor..