Commit Graph

12 Commits

Author SHA1 Message Date
chrox 34ea9ac574 add datastorage module to handle data directory on various platform
On kindle, kobo and pocketbook the data directory is the current
running directory but on Android the app is installed in system
defined location and users may have no access to that location.
The same circumstances should be true for the upcoming Koreader for
Ubuntu touch, so the data directory (in which tessdata, dictionaries,
global settings, persistant defaults and probably history data are
stored) could be stored in another place.
2015-06-15 16:56:27 +08:00
chrox 99af63c545 add koreader app icon for android finally 2015-06-15 13:49:46 +08:00
chrox e9d19965eb fix a bug in android-luajit-launcher that may prevent some devices launching
this should fix #1553 and fix #1551.
2015-06-15 11:02:06 +08:00
chrox d345f21c39 Fix sdcv on Android cannot handle morphological changes 2015-04-22 14:27:33 +08:00
chrox 402806d32b Dictionary on Android
Stardict dictionary files should be copied to
/sdcard/koreader/data/dict/ directory.
2015-04-15 20:30:27 +08:00
chrox a38d851a15 mcode force allocation on Android is now optional
Anyone who encounters random freeze of koreader for Android
is encouraged to enable this by adding a file at
"/sdcard/koreader/patch.lua" with the content of:
```
require("jit.opt").start("sizemcode=256","maxmcode=256")
for i=1,100 do end  -- Force allocation of one large segment
```
The sizemcode and maxmcode could be adjusted from 196 to 512 to
make koreader best fit on your Android device.
2015-03-20 10:15:41 +08:00
chrox c7d4df806a fix loading shared library on Android
This should fix #1447 and maybe also #1416.
2015-03-11 17:36:09 +08:00
chrox 3cc722e368 fix #1416 2015-02-10 23:59:53 +08:00
chrox 2cde181f51 fix koreader not shown in recent app list
when started by view intent.
2014-10-29 15:47:58 +08:00
chrox f2f2833b6a fix #1048 2014-10-29 02:27:29 +08:00
chrox 64b102ebc9 fix #992 by creating fake command line arguments 2014-10-16 09:24:59 +08:00
chrox 2d3c502948 move platform dependent files into 'platform' directory 2014-10-03 18:02:50 +08:00