Zim Desktop Wiki for Android via SL4A
Zim4A is an Android application which is written in Python and uses SL4A to make a Zim Desktop Wiki available for mobile devices running Android OS. The approach I am using relies on Dropsync to synchronize my Zim wiki (which lives inside my Dropbox) onto my Android system.
So far, the following functionalities are implemented:
- Make the index of a Zim Desktop Wiki browsable
- Show formatted pages
- Edit (existing) pages
The applications was only tested on a Sony Compact Z3 running Android 4.4.4 and might be buggy.
Install the SL4A apk on your Android device. Note: You need to allow unknown sources first (Settings --> Security).
Add the python interpreter within Sl4A (also see here)
Optional: If you want a synced notebook via Dropbox, install the free app Dropsync and choose to sync the folder where your Notebook is located. In my case, I synced this folder to /sdcard/sl4a/Dropbox/, but feel free to choose whatever you like as a path (this is the fullpath variable in Zim4Astarter.py).
Copy all the Zim4A files to the parent folder of the Notebook (e.g. /sdcard/sl4a/Dropbox)
Copy the starter script Zim4Astarter.py to the script directory of Sl4A (/sdcard/sl4a/scripts).
Change the variable fullpath to the synced folder and change the variable notebook to the name of your Zim wiki. In the default case that is simply Notes (The notebook folder should be in the fullpath folder, i.e. /sdcard/sl4a/Dropbox/Notes in my case).
Start the script by opening SL4A and choosing Zim4Astarter.py.
Optional: Create a script shortcut on your homescreen for easy accessibility. (also see here)