Skip to content
Stephen L edited this page Dec 25, 2017 · 5 revisions

Key is to get an application that can:

  1. Run python code
  2. Display a webview
  3. Access local files

Pre-liminary investigations indicates that the "kivy" framework would allow for deployment of an app written in python and embed an android webview for the interface. But this is not a given - if other frameworks fit the description that is fine as well.

This example may give a good start: https://github.com/kivy/kivy/wiki/Android-native-embedded-browser . In addition will need to capture the clicks in the pages and redirect them to the python code.

Another possible starting example is the demo/kivycatalog in kivy-examples package, which features a two-pane RST syntax editor and renderer.

The "mock" zim application code is available here: github repo. This can be used to get the demo running without depending on the real zim sources. Please clone this repository and start adding the wrappers needed to run on android !

Deployment figure

Clone this wiki locally