How can I get a file from CamScanner or Office Lens in a web app running on Android?
At this point, there's no way to do that, unless you are working on a standalone APP.
The browser behavior for an element <input type="file"/>
relies only on the default APP for handling Photos and Videos.
Have you had a look at this?
https://developer.chrome.com/multidevice/android/intents
Relevant example from the link:
Here's an intent that launches the Zxing barcode scanner app. It follows the syntax thus:
intent: //scan/ #Intent; package=com.google.zxing.client.android; scheme=zxing; end;
To launch the Zxing barcode scanner app, you encode your href on the anchor as follows:
<a href="intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;end"> Take a QR code </a>
So for camscanner, the package is
com.intsig.camscanner
So use that instead of com.google.zxing.client.android in the above example.