geometer / FBReaderJ

Official FBReaderJ project repository
http://www.fbreader.org/FBReaderJ/
1.83k stars 802 forks source link

Support Quickdic OS Dictionary app #470

Open rancidfrog opened 6 years ago

rancidfrog commented 6 years ago

Please add support for QuickDic dictionary app:

Is there no way to select app to use as dictionary? As currently you are limited to 6 apps only

ildar commented 6 years ago

Not quite. Actually Aard2 is supported by implementing (IIRC) MoonDict's intent. So an alternative way to get it supported is to find the corresponding issue at Aard2 and file an issue at QuickDict tracker.

rancidfrog commented 6 years ago

Already has search intents,

<!-- @author Dominik Köppl          Added two different intents to catch simple and advanced queries from other external applications. --> <intent-filter> <action android:name="android.intent.action.PROCESS_TEXT" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="text/plain" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="text/plain" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.SEARCH" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <intent-filter> <action android:name="com.hughes.action.ACTION_SEARCH_DICT" />
ildar commented 6 years ago

Related: https://groups.google.com/forum/m/#!topic/aarddict/uNy1EqoMoVI Pay attention to Igor's explanation about intent versus Action.