titansgroup / k4l-video-trimmer

A library with UI and mechanisms to trim local videos on Android applications.
MIT License
783 stars 220 forks source link

FileUtils.java problems with Android N #31

Open developerGM opened 7 years ago

developerGM commented 7 years ago

Hi, inside FileUtils.java there is a problem. In getDataColumn method you should manage the new ContentProvider management

cursor = context.getContentResolver().query(uri, projection, selection, selectionArgs, null); column _data table not exists.

If you want that this library works with Android >= N, please fix this issue.

aNnYvIrUs commented 7 years ago

set targetSdkVersion 22 of k4l-video-trimmer module's gradle. may be it will works.