jhansireddy / AndroidScannerDemo

ScanLibrary is an android document scanning library built on top of OpenCV, using the app you will be able to select the exact edges and crop the document accordingly from the selected 4 edges and change the perspective transformation of the cropped image.
MIT License
1.07k stars 472 forks source link

Android 8.0 or Higher version #89

Closed ShahidSaud closed 4 years ago

ShahidSaud commented 5 years ago

Hi Does this Library work with Android 8.0 or higher OS. If not any idea to upgrade the library to support the Android 8.0 or higher versions?

massimilianochiodi commented 5 years ago

To me with android 8, compiled with API 28 it works. you just have to check the settings for 'fileprovider' in android.

I only have problems if I launch from a fragment.

zakblacki commented 4 years ago

To me with android 8, compiled with API 28 it works. you just have to check the settings for 'fileprovider' in android.

I only have problems if I launch from a fragment.

Please Help I have theses two errors

error: cannot find symbol variable FileProvider error: package android.support.v4.content does not exist

jhansireddy commented 4 years ago

Have you tried using the package androidx.core.content instead of android.support.v4.content