Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android : Capture a document & Scan it using camera [closed]

I would like to develope an application in android. The requirement is to scan a document using the camera and to convert the scanned data to a pdf file, so that it could be used as an attachment in mail.

Please provide me some sample code... Thank you.

like image 705
Kannan Suresh Avatar asked Jul 22 '11 06:07

Kannan Suresh


People also ask

Can you scan a document on an Android phone?

If you're using an Android, the best way to scan documents is through the Google Drive app. You can scan documents directly into Google Drive by tapping the “+” button in the lower-right corner of the home screen. When the menu slides up from the bottom, select “Scan”.

Where are scanned documents saved on Android?

Tap Save when done, and your Android scan is complete. You'll find it in the Office Lens folder on your phone, which should appear in your Gallery app.


2 Answers

If you are looking for simple PDF functionality you might try this Simple PDF for Android there does not seem to be much else available. If you need OCR Suggestions for Android OCR as to the rest of it you are asking multiple questions, I suggest taking it one step at a time and asking one question per problem you encounter.

like image 192
Idistic Avatar answered Sep 19 '22 23:09

Idistic


For anyone looking for easy method, Try this library https://github.com/jhansireddy/AndroidScannerDemo

*Image returned here will be a Bitmap and not a pdf, You can save it with any mime type later on.

like image 32
Zohair Avatar answered Sep 18 '22 23:09

Zohair