openpaperwork / paperwork

Personal document manager (Linux/Windows) -- Moved to Gnome's Gitlab
https://gitlab.gnome.org/World/OpenPaperwork/paperwork
2.43k stars 148 forks source link

Android viewer #179

Open jflesch opened 11 years ago

jflesch commented 11 years ago

I've won an Android tablet during a programming competition. Now I need something useful to do with it. I guess porting Paperwork is the logical choice.

1) Gtk is not available on Android --> a specific frontend will have to be made 2) Scanners and printers are not (yet) available on Android. So this will just be a viewer

The hard part: Getting the dependency to work on Android. Afaik, most Gobject introspection won't be avaible ... this won't be easy.

Update (2016/12/06): Would also be strongly wishable: encryption

jflesch commented 11 years ago

I have a feeling it would be easier to actually run Debian on my tablet ... :)

Nodd commented 11 years ago

You could use the camera instead of a scanner. The quality will be worse, but it may not be a problem. Kivy looks promising for a python UI, and is multiplateform.

jflesch commented 11 years ago

Let's start with a viewer, and let's see later to add photo+OCR support.

jflesch commented 11 years ago

Note to myself: https://github.com/kivy/python-for-android

jflesch commented 11 years ago

Dependencies:

All the other dependencies can be made optional.

In the end, using Libpoppler on Android will probably end up being a big mess. It would probably be easier to make a recipe for http://www.mupdf.com/ + use ctypes

bignaux commented 11 years ago

1) Gtk is not available on Android --> a specific frontend will have to be made we should not use Gobject/glib in backend, and use http://effbot.org/imagingbook/format-pdf.htm , anyway, we could have many format backend with smart depedancies. 2) Scanners and printers are not (yet) available on Android. So this will just be a viewer => RESTful API https://github.com/jflesch/paperwork/issues/265 and js UI would solve both : you could have paperwork backend running on a host and connect it through webbrowser.

jflesch commented 10 years ago

you could have paperwork backend running on a host and connect it through webbrowser.

Definitively not what I had in mind or even what I want. What I want here is a Paperwork instance running on Android, with all the data stored on the devices itself.

Nodd commented 10 years ago

Some papers are received by mail, so paperwork on android should be able to import existing documents even without scanners or printers.

jflesch commented 10 years ago

This ticket is about a viewer only. I'll see later to extend its functionalities.

jflesch commented 9 years ago

Depends on #328

jflesch commented 9 years ago

Kschwank has started working on one (Java): https://github.com/kschwank/paperwork-viewer

tYYGH commented 8 years ago

In case someone is interested, I wrote a Web viewer, and I checked that it renders well on my Android phone: http://yalis.fr/cms/index.php/post/2016/01/21/Command-line-and-Web-Interface-for-Paperwork Cheers,

jflesch commented 8 years ago

@kschwank started to work on an Android viewer a while ago. However, I'm not sure if he still intend to work on it.

Also, it's pure Java and therefore cannot use paperwork-backend. If the backend part evolves, it would have to keep up.

I would really prefer an implementation made in Python as much as possible (see Pyjnius and friends)

jflesch commented 8 years ago

Support for encryption would also be a really good thing. Android can encrypt all the data of the users, but it makes the devices really slow. Just having Paperwork's documents encrypted would be safe enough and good to have.

jflesch commented 7 years ago

I had a look at various benchmarks and tried it myself. While encryption makes the disk access slower, it does not seem to be really visible to the user. --> Android's encryption will be good enough --> Less work for Paperwork for Android :-)

jflesch commented 7 years ago

Unrelated to the viewer : https://github.com/ctodobom/OpenNoteScanner demonstrates some really interesting algorithms. Maybe phone cameras could actually be used reliably as paper scanners.

jflesch commented 6 years ago

Note to myself: http://modrana.org/pyconpl2013/python_and_qt_for_android.pdf

jflesch commented 6 years ago

Note to myself: https://github.com/vipul-sharma20/document-scanner