Dynamic Web TWAIN 18: Scan Documents to Android
Dynamic Web TWAIN 18 introduced several exciting features, including the ability to scan documents from eSCL-compatible scanners or multi-function printers (MFPs) directly to Android mobile devices.
⚠️ Note: The Android version of Dynamsoft Service is no longer maintained as of Dynamic Web TWAIN v19.
For mobile document scanning, we now recommend using Mobile Web Capture, which enables camera-based scanning directly from the mobile browser—no app installation required.
Legacy Feature: Scan from MFPs to Android (v18 Only)
In this article, we’ll walk through how this feature worked in v18 using the Android Dynamsoft Service.
How it Worked
Many modern scanners support a protocol called eSCL, allowing them to be discovered and controlled over a local network. In v18, the Dynamsoft Service for Android enabled communication with these devices via HTTP, acting as a bridge between eSCL scanners and your browser-based web app.
You can find a list of eSCL-compatible scanners here.
How to Scan to Android in v18
⚠️ This section applies to v18 only and is no longer supported in v19.
-
Install the Android version of Dynamsoft Service from the Play Store or directly via APK:
-
Open your Android device’s browser and visit your web app built with the Dynamic Web TWAIN SDK.
Example code for scanning:
let devices = await DWObject.GetDevicesAsync(); await DWObject.SelectDeviceAsync(devices[0]); let deviceConfiguration = { Resolution: 100, IfShowUI: false }; DWObject.AcquireImageAsync(deviceConfiguration);
-
Select the scanner and tap SCAN to capture the document.
Demo screenshot:
Recommended for v19+: Use Mobile Web Capture
To scan documents using mobile cameras in Dynamic Web TWAIN v19 and above, use Mobile Web Capture. It allows seamless camera access directly from mobile browsers—no need to install an app or service.
👉 Learn more about Mobile Web Capture
Explore our Developer Hub for more tools, API references, and sample applications.
This article is Part 2 in a 3-Part Series.