give permision to the app to acces the Internal stora
Hi George and Stefano, i haven't been ignoring you - just working. Firstly , I'm not massively desperate about the scanner , it's more an exercise in problem solving.
Ok , if i try the scanner in the notification shade .I get a 'scanner has stopped ' message , similarly if i try the app in 'tools' folder . I have taking screenshots and even used screen recorder ,but can't seem to upload -screenshots give me an error message and recording file is too large. But this is the analysis which I copied :
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/miuistatssdkshared.jar", zip file "/system/framework/zxing.jar", zip file "/system/framework/gson.jar", zip file "/system/framework/android-support-v13.jar", zip file "/system/app/MiuiScanner/MiuiScanner.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]] couldn't find "libQuadrangleRecognizer.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:989)
at com.xiaomi.recognizer.Quadrangle.<clinit>(Quadrangle.java)
at com.xiaomi.scanner.module.DocumentModule$DocumentHandler.detectPreviewData(DocumentModule.java)
at com.xiaomi.scanner.module.DocumentModule$DocumentHandler.handleMessage(DocumentModule.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.os.HandlerThread.run(HandlerThread.java)
In my permissions, scanner does not appear in the list of apps to which permissions apply , and if i go to 'camera' , again scanner does not appear as being eligible for permissions.
Having said all that ,the scanner in the stock browser (just found out ) works !