Quote:
Originally Posted by pazos
The hardest part is the widget.
Have a look at the link above.
Try to start with a simple app that
1. launchs a file picker that lets you choose a single epub.
2. adds the last n files picked to the widget.
extra points if your program is able to do thumbnails on its own.
At that point what's left is tweaking the widget itself and port it over https://github.com/koreader/android-luajit-launcher. We can help with the last part 
|
I've studied the whole matter a little bit.
We need particularly this (Preferably with a grid widget):
https://developer.android.com/develo...ts/collections
I tried something similar before in Flutter + Kotlin. So I'm confident I can do that part okay.
We have to implement the RemoteViewsFactory (In Kotlin in luajit-luncher?).
We can expose some sort of updater to Lua through JNI so that in history changes, KOReader can update the widget.
Am I on the right track?