Friday, April 16, 2010

install AnkiMini on nexus one

1. install AnkiMini on nexus one (n1)
I installed AnkiMini on my Nexus One (android 2.1) according to this description:

2. software
I installed the newest versions of sqlalchemy (0.5.8)
For the libanki files, I downloaded the latest linux tarball (
Eclipse was my editor for the python files.
laptop operating system: win7
winrar to extract the files

3. AnkiMini Files
I copied the and the from my iphone to my nexus one.

4. download-decks-from-the-server capability
In my I altered line 526
tmp_dir = unicode(tempfile.mkdtemp(dir=ANKIMINI_PATH, prefix="anki"), sys.getfilesystemencoding())
tmp_dir = unicode(tempfile.mkdtemp(dir=ANKIMINI_PATH, prefix="anki"), "utf-8")
alternative working solution:
tmp_dir = unicode(tempfile.mkdtemp(dir=ANKIMINI_PATH, prefix="anki"))

5. use already created decks
I couldn't just copy my decks from my computer to the n1, I had to download it from the server,
was working after the steps I described in point 4. Alternatively it was also possible
to export the decks through the anki desktop client.

6. client size in n1's browser
In order to adjust the size of the client in the browser, I had to close the default zoom of
n1's browser.

have fun!