NiLuJe
e169b34577
Fancier Wi-Fi status icons in ReaderFooter ( #6725 )
...
* In icons mode, just use two different icons to display Wi-Fi status
* Enable Wi-Fi status icon on Kobo & Cervantes, too
* Refresh footer on (dis)connect if the Wi-Fi status item is enabled
2020-09-29 01:06:41 +02:00
Martín Fernández
27fe0d7957
add eudic from gplay ( #6682 )
2020-09-19 20:25:51 +02:00
zwim
73b0c701ce
correct bug introduced with #6641 ( #6665 )
2020-09-17 13:16:19 +02:00
NiLuJe
99045b4311
Minor util & ffi/util cleanups ( #6657 )
2020-09-15 20:39:32 +02:00
Martín Fernández
8f61bc750b
AndroidPowerD: remove unneded syntactic sugar & JNI calls ( #6641 )
...
Each JNI call has a little overhead, so don't use them when it is not needed.
The syntactic sugar is not needed to use android module's functions.
2020-09-09 17:58:44 +02:00
zwim
2c1d87a956
resolve ANR on hold and native light dialog
2020-08-29 20:06:09 +02:00
zwim
6fb2a0469b
update statusline after native light dialog ( #6584 )
2020-08-29 16:46:59 +02:00
zwim
24af0810d2
turn on frontlight switch on Tolino. ( #6586 )
2020-08-29 16:42:57 +02:00
Martín Fernández
c7f77de72a
refactor thirdparty app integration ( #6513 )
...
* refactor thirdparty app integration
* Fix fora package name
2020-08-27 21:41:16 +02:00
zwim
66e8087c66
[android]: fix backlight toggle ( #6520 )
...
* check on startup if frontlight can be changed.
* Init fl_min if necessary not to use intensity==0
2020-08-25 14:42:39 +02:00
zwim
b3f64dc73b
gesture: messages and sensitivity changes for small (warmth) scales; devicelistener dedup ( #6468 )
...
* deduplicate code on warmth/brightness swipes
if device has a small scale (e.g. warmth is going from 0..10)
* adjust warmth message
* use a smaller gesture sensitivity
2020-08-17 09:42:34 +02:00
Martín Fdez
9037a1f4f2
bump luajit-launcher and remove frontlightwidget leftovers
2020-08-06 17:19:12 +02:00
zwim
a6763465b4
[Android]: Native light dialog ( #6426 )
...
* Adds support for Tolino Epos 2 warmth light
2020-08-02 22:27:49 +02:00
Martín Fdez
8324154177
keep newlines outside translations
2020-07-09 01:08:47 +02:00
Martín Fdez
7094519e1b
android: support for native surface rotation
2020-07-09 01:08:47 +02:00
zwim
43693c9fe9
Add the possibility run shell scripts from filemanager on android ( #6288 )
2020-06-25 21:33:51 +02:00
Martín Fernández
2e731dd4dd
[chore] Device abstraction ( #6280 )
...
* generic Device:info() function which returns the model
* add Device:canSuspend() and make it true in all devices that have suspend routines and the emulator
* also enable fake poweroff/reboot on the emulator
* add Device.home_dir
* add Device:hasExitOptions() and update menus & comments
2020-06-19 09:41:50 +02:00
Martín Fernández
765b35a7bf
android: add a toggle to ignore back button events ( #6269 )
...
Requires koreader/android-luajit-launcher#233
Requires koreader/koreader-base#1117
It is a workaround for #6263 but can be useful on some devices with erratic back key behaviour too (yep, Onyx)
2020-06-15 07:43:37 +02:00
Martín Fdez
835f9f62c6
fix ANRs in Kosync plugin login/register
2020-06-13 19:05:10 +02:00
Martín Fernández
58a6b01d03
add eudic dictionary support ( #6154 )
2020-05-15 16:24:17 +02:00
Martín Fdez
48727a984b
android: add a toggle to force haptic feedback in spite of system settings
2020-05-06 11:40:32 +02:00
Roman Artiukhin
9588b51f24
Correct name for GoldenDict Pro dictionary
2020-05-06 11:39:52 +02:00
Martín Fernández
3856f04445
android: switch to connectivity manager
...
Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>
2020-02-07 16:54:01 +01:00
Martín Fernández
5ef329c19c
android: share text ( #5745 )
2020-01-05 12:56:01 +01:00
Martín Fernández
419b42cf2c
android: call EPD test from within KOReader ( #5737 )
...
* android: call EPD test from within KOReader
Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>
2020-01-04 20:53:49 +01:00
poire-z
0599c440cc
[RTL UI] Bidi-wrap filenames, paths, urls, metadata
...
bidi.lua:
- Revert "Alias everything to Bidi.nowrap() when in LTR UI,
as using LTR isolates seems uneeded when already LTR" (part
of a628714f
) which was a wrong assumption: we need proper
wrappers for all things paths. Enhance some of these wrappers.
- Fix GetText RTL wrapping which was losing empty lines and
trailing \n.
- Wrap all paths, directories, filenames in the code with
these wrappers.
- Wrap all book metadata (title, authors...) with BD.auto(),
as it helps fixing some edge cases (like open/close quotation
marks which are not considered as bracket types by FriBiDi).
(Needed some minor logic changes in CoverBrowser.)
- Tweak hyphenation menu text
- Update forgotten SortWidget for UI mirroring
- KoptConfig: update "justification" index for RTL re-ordering,
following the recent addition of the page_gap_height option.
2020-01-04 01:34:46 +01:00
Martín Fernández
25e80358dc
android: import files from Storage Access Framework
2020-01-02 01:28:20 +01:00
Martín Fernández
f9a820d682
android: unbreak KO on scoped storage devices
2019-12-12 21:17:03 +01:00
Martín Fernández
72e5574ca7
android: allow overrides on 3rd party dictionary list
2019-12-07 17:22:00 +01:00
Martín Fernández
87334801ea
android: fix ko paths when primary storage is a SD card
2019-10-14 09:11:58 +02:00
Martín Fernández
b75fec4971
tweak timeouts, add haptic feedback support
...
Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>
2019-10-08 18:22:56 +02:00
Robert
ae50569055
Frontlight - Add checkbox use system settings ( #5307 )
...
See: https://github.com/koreader/koreader/issues/5205#issuecomment-526935357
Devices with `hasLightLevelFallback = true` (for now Android) has extra checkbutton `Use system settings`. Default unchecked.
2019-09-04 20:52:24 +02:00
Martín Fernández
3161673d70
fix #5228
2019-08-20 16:26:39 +02:00
Martín Fernández
50ce8d47cd
do not request write settings permission at launch
2019-08-15 15:28:28 +02:00
Robert
939538cc25
[UX] Add gesture - poweroff and restart device ( #5202 )
...
Also abstract canRestart, canReboot and CanPowerOff.
2019-08-15 14:49:15 +02:00
Martín Fernández
10456169e5
Android: ignore touchscreen by user request (using a hardware key) ( #5164 )
...
* android: ignore touchscreen by user request (using a hardware key)
2019-08-03 01:02:50 +02:00
Martín Fernández
91b2faae6a
android: add an option to ignore volume keys or use them to turn pages
2019-08-01 19:05:23 +02:00
Martín Fernández
cd0f1acd7f
android: add support for different screen timeout setups
2019-07-26 23:16:23 +02:00
Martín Fernández
b385e443e6
[Android] Add support for 3rd party dictionary apps ( #5108 )
...
Co-Authored-By: poire-z <poire-z@users.noreply.github.com>
2019-07-08 14:19:36 +02:00
Martín Fernández
338bc8cced
fullscreen toggle for Jelly Bean devices
2019-07-06 17:09:18 +02:00
Martín Fernández
75ff5dcaae
Add Device:Info for android and use it in report a bug infomessage.
...
Move local function getCodename to top, use android.app.activity.sdkVersion directly,
instead of relying on Device.firmware_rev
2019-06-21 19:55:19 +02:00
Martín Fernández
c60d672b04
bump base & luajit-launcher: workaround for buggy firmwares and more
2019-06-13 22:16:58 +02:00
Martín Fernández
a69c09a275
[Android] do not log verbose blitbuffer messages on release builds, unless specified in settings.lua. Keep debug builds as they are ( #4933 )
2019-04-17 20:04:07 +02:00
Martín Fernández
dde301e765
[Android] use the same tag for all logs ( #4862 )
2019-04-01 15:48:10 +02:00
Frans de Jonge
709207a621
[feat, UX] Add external link to Wallabag ( #4863 )
...
Offers a choice when Wallabag is available.
2019-03-31 19:19:07 +02:00
Frans de Jonge
2f65fb94ec
[Android, UX] Add Device:openLink() implementation ( #4824 )
...
Fixes https://github.com/koreader/koreader/issues/4821
Same as https://github.com/koreader/koreader/pull/4822
Thanks to @pazos who implemented the Android backend, see https://github.com/koreader/android-luajit-launcher/pull/133
2019-03-20 17:28:19 +01:00
Martín Fernández
fda231adcd
scheduleIn actions needed to open a new file from an intent on resume, to provide feedback since we cannot blit to the window yet
2019-03-05 20:46:47 +01:00
Martín Fernández
39be43ad84
do not refresh eink on activity changes, system will do that! ( #4735 )
2019-03-05 12:25:04 +01:00
Martín Fernández
5e01a0c264
android: hasColorScreen depends on hasEinkScreen
2019-03-03 16:06:39 +01:00
Qingping Hou
1605409c60
rename runtimectl to document/canvascontext
2019-03-03 13:10:45 +01:00