Dim REQUEST_CODE = 99
Dim i As Intent
i.Initialize("", "")
i.SetComponent("com.scanlibrary/.ScanActivity")
i.PutExtra("OPEN_INTENT_PREFERENCE", 4) 'OPEN_CAMERA = 4 or OPEN_MEDIA = 5
Dim ActivityForResult As StartActivityForResult
ActivityForResult.Initialize("Ion")
ActivityForResult.Start(i,REQUEST_CODE)
Although:
* Required library is there and declared in #AdditionalJar
*Necessary permissions were provided
unfiltered logs: onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
setScanResults mScanResults.size=1
here is the code main files:
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 ...