Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-25-2021, 01:56 PM   #1
mafein
Junior Member
mafein began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jan 2021
Device: Onyx Boox Note Air
Wiktionary Integration with Koreader

Dear all,

There are livio dictionary apps, which have their database from wiktionary, and are lightweight (or look up dictionary that connects to livio and shows in popup) . Unfortunately, koreader doesn't work with it. Is it possible to integrate a 3rd party android app with koreader Android version? If not how can I suggest it to developers? Also sharing the dictionary lookup history wihh an anki kind of app, would also be great.

https://play.google.com/store/apps/d...ack.lang.en_US

https://play.google.com/store/apps/d...urav.lookuppro
mafein is offline   Reply With Quote
Old 02-25-2021, 02:43 PM   #2
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,617
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
See https://github.com/koreader/koreader/pull/5108 among others.

Once you have something that works you can consider submitting it as a PR.
Frenzie is offline   Reply With Quote
Advert
Old 02-25-2021, 08:34 PM   #3
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by mafein View Post
Is it possible to integrate a 3rd party android app with koreader Android version?
If the app is meant to be called from other apps then the answer is yes. You need to figure out the name of the package and the kind of action that it handles. It is already documented in the wiki (under android tips and tricks)

If the app works with one of supported actions (intents in android language) you can submit a PR. It is just a matter of adding the new entry to android's thirdparty apps

u/Norbi24 found some dict apps that need to be called from the app picker. These kind of apps are not welcome upstream and should stay as user overrides.
pazos is offline   Reply With Quote
Old 02-26-2021, 01:16 AM   #4
kandwo
Addict
kandwo ought to be getting tired of karma fortunes by now.kandwo ought to be getting tired of karma fortunes by now.kandwo ought to be getting tired of karma fortunes by now.kandwo ought to be getting tired of karma fortunes by now.kandwo ought to be getting tired of karma fortunes by now.kandwo ought to be getting tired of karma fortunes by now.kandwo ought to be getting tired of karma fortunes by now.kandwo ought to be getting tired of karma fortunes by now.kandwo ought to be getting tired of karma fortunes by now.kandwo ought to be getting tired of karma fortunes by now.kandwo ought to be getting tired of karma fortunes by now.
 
Posts: 356
Karma: 10703708
Join Date: Dec 2020
Device: Kindle Paperwhite 3
I use Aard2 with offline wiktionary as my dictionary app in Koreader. It works great. I highlight a word and it opens wiktionary in a new window; when done I press back and continue reading.
kandwo is offline   Reply With Quote
Old 02-26-2021, 05:41 AM   #5
mafein
Junior Member
mafein began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jan 2021
Device: Onyx Boox Note Air
Quote:
Originally Posted by pazos View Post
If the app is meant to be called from other apps then the answer is yes. You need to figure out the name of the package and the kind of action that it handles. It is already documented in the wiki (under android tips and tricks)

If the app works with one of supported actions (intents in android language) you can submit a PR. It is just a matter of adding the new entry to android's thirdparty apps

u/Norbi24 found some dict apps that need to be called from the app picker. These kind of apps are not welcome upstream and should stay as user overrides.


Both Livio and Lookup Dictionaries can be called from other apps, eg. google chrome, moon+reader, librera. But as I dont know much programming language, i dont know how to do it. . Thats why I am learning python
mafein is offline   Reply With Quote
Advert
Old 02-26-2021, 09:12 AM   #6
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by mafein View Post
Both Livio and Lookup Dictionaries can be called from other apps, eg. google chrome, moon+reader, librera. But as I dont know much programming language, i dont know how to do it. . Thats why I am learning python
Use the example 3 and test if your desired app is within the app picker options.

If that's the case you can use the package name
Code:
gaurav.lookuppro
or
Code:
livio.pack.lang.en_US
or whatever
pazos is offline   Reply With Quote
Old 02-26-2021, 01:50 PM   #7
mafein
Junior Member
mafein began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jan 2021
Device: Onyx Boox Note Air
Quote:
Originally Posted by pazos View Post
Use the example 3 and test if your desired app is within the app picker options.

If that's the case you can use the package name
Code:
gaurav.lookuppro
or
Code:
livio.pack.lang.en_US
or whatever
Thanks for the prompt reply. From the example 3 it works (as a send option),but example 2 doesn't work. Only The send part works, the app cannot be selected.

https://github.com/koreader/koreader...e-the-app-runs
mafein is offline   Reply With Quote
Old 02-26-2021, 02:33 PM   #8
mafein
Junior Member
mafein began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jan 2021
Device: Onyx Boox Note Air
Now could solve the issue. For the ones who want to do it (for lookup dictionary):

create a txt file and change the format name as .lua and copy under koreader/dictionaries.lua
write below in the file:
return {
{ "Look Up", "Look Up", false, "gaurav.lookuppro", "send" }
}
mafein is offline   Reply With Quote
Old 02-27-2021, 11:32 AM   #9
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by mafein View Post
Now could solve the issue. For the ones who want to do it (for lookup dictionary):

create a txt file and change the format name as .lua and copy under koreader/dictionaries.lua
write below in the file:
return {
{ "Look Up", "Look Up", false, "gaurav.lookuppro", "send" }
}
Good work! PRed in https://github.com/koreader/koreader/pull/7359
pazos is offline   Reply With Quote
Old 06-20-2022, 06:42 PM   #10
mbrisco
(gtfo/freak)
mbrisco ought to be getting tired of karma fortunes by now.mbrisco ought to be getting tired of karma fortunes by now.mbrisco ought to be getting tired of karma fortunes by now.mbrisco ought to be getting tired of karma fortunes by now.mbrisco ought to be getting tired of karma fortunes by now.mbrisco ought to be getting tired of karma fortunes by now.mbrisco ought to be getting tired of karma fortunes by now.mbrisco ought to be getting tired of karma fortunes by now.mbrisco ought to be getting tired of karma fortunes by now.mbrisco ought to be getting tired of karma fortunes by now.mbrisco ought to be getting tired of karma fortunes by now.
 
Posts: 113
Karma: 2288750
Join Date: Nov 2019
Device: Likebook Alita
Ladies and gentlemen, I give you the end of your troubles:

https://github.com/BoboTiG/ebook-rea...eleases/tag/en

This wonderful person packages the English Wiktionary into a StarDict every month. Just add it as a normal dictionary in KOReader. It's all I use now, if I'm feeling like Wiktionary.
mbrisco is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wiktionary for Pocketbook InMyPocket PocketBook 11 12-04-2022 02:39 PM
KOReader / k2pdfopt integration Thelele KOReader 7 11-22-2021 02:41 PM
Pokeckt and koreader integration Mateus2k2 Kobo Reader 3 10-26-2020 03:34 PM
Is there a Koreader Android Dropbox integration ? Norbi24 KOReader 9 03-13-2020 06:16 AM
anyway to have read it later service (pocket / instapaper) integration into koreader? arooni KOReader 1 01-24-2019 08:47 PM


All times are GMT -4. The time now is 07:17 PM.


MobileRead.com is a privately owned, operated and funded community.