reader/android: initial web-veiw JS

A make task has been added to web/Makefile for generating the JS build to be
loaded into the Android web view for PDF rendering via PDF.js:

    make public/pdf-web-view.js

The source file lives in browser/pdf-web-view.js to access the build artifacts
from a normal browser visit http://127.0.0.1:8080/pdf-web-view.html after
running `make start`.

The state atom has been attached to the global window and can be accessed from
the developers console or via [Android's evaluateJavascript
API](http://goo.gl/JWUIaz):

    window.atom.href.set(<url to pdf file>)
    window.atom.pages.current.set(<page number>)

This CL is a first pass at trying to get the rendering working and has some
small issues (error handling, render optimizations, etc.) being tracked as TODOs
in #44.

Change-Id: If7b91453107aa3b5f898ccb66e067163b03eb4af
5 files changed
tree: a2773592f7613b583d36621cd3b994a5dd433860
  1. android/
  2. common/
  3. web/
  4. .gitignore
  5. .jiriignore
  6. AUTHORS
  7. CONTRIBUTING.md
  8. CONTRIBUTORS
  9. LICENSE
  10. Makefile
  11. PATENTS
  12. README.md
  13. VERSION
README.md

Reader

An example multi-device PDF reader built using Vanadium on both the web and Android platforms. The web version requires use of the Vanadium Chrome extension.

All apps exchange information using Syncbase. Details of the various projects can be found in their respective directories.