QuickDic offline Dictionary App for Android

Overview

QuickDic

An offline dictionary for Android.

Cloning

Make sure you use the --recursive option to clone, or otherwise make sure the Util submodule is correctly checked out.

If you want to generate dictionaries, clone the DictionaryPC repository as well. It needs to be at the same level as this one, not inside it.

Compiling

To compile the APK, just open this repository in Android Studio. You can also use Gradle directly. Note that compilation is only tested on Linux. It is possible to disable the smallicu/makesmallicu step if it causes issues, though help to debug any such issue would be welcome.

Generating dictionaries

An approximation of the steps for generating dictionaries:

  1. Go into the DictionaryPC repository
  2. Run data/downloadInputs.sh to get the data
  3. Run ./compile.sh (probably needs quite a few things to be installed or paths in it configured) Alternatively, download a release binary: https://github.com/rdoeffinger/DictionaryPC/releases
  4. Run ./WiktionarySplitter.sh
  5. Run ./generate_dictionaries.sh You might want to edit the settings at the start of the file so it does not generate all dictionaries, and edit its input files like EN-trans-dictlist.txt to add new dictionaries. For a more manual approach, the commands it runs are something like ./run.sh --lang1=ES --lang2=PT --lang1Stoplist=data/inputs/stoplists/es.txt \ --dictOut=data/outputs/ES-PT.quickdic \ --dictInfo="(EN)Wiktionary-based ES-PT dictionary." --input1=data/inputs/wikiSplit/en/EN.data \ --input1Name=enwikitionary --input1Format=EnTranslationToTranslation \ --input1LangPattern1=es --input1LangPattern2=pt
Comments
  • FR: Adaptive icon

    FR: Adaptive icon

    Api 26 introduced adaptive icons where background and foreground are two different images. https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive.html

    enhancement help wanted 
    opened by mueller-ma 16
  • Unable to download dictionaries

    Unable to download dictionaries

    I just installed the application, then clicked on the download icon for the English dictionary. The download manager starts but does not seem to be doing anything. After a few seconds the application reports the error "Download failed: null".

    opened by 9662 14
  • Issues with Russian dictionary

    Issues with Russian dictionary

    Using the DE-RU dictionary from 15/DEC/2015 with Quickdict 5.2.6 I noticed the following issues:

    • there are polish words, e.g. some declinations of "Quedlinburg" and above a couple beginning with "pł"
    • some words cannot be found via look-up although they are present, try "разме́р", then look up "Größe". Same with мудрость-Weisheit.
    • I also saw the German word "Mythologie" on the Russian side, but I can't find it again
    opened by Heineken 12
  • Switching Dictionaries Doesn't Autosearch Current Search Term

    Switching Dictionaries Doesn't Autosearch Current Search Term

    I use multiple translation dictionaries and straight English dictionaries too. Many times I enter a word and then I notice it is the wrong dictionary so I then switch dictionaries and the word remains in the search field but QuickDic does not use it to search. I have to delete the last character of the word then type it again to get the app to search the word.

    It would make more sense when a dictionary is changed with an active search term that it then automatically searches that term.

    To reproduce:

    1. Enter a word and watch it automatically search that word
    2. Switch dictionaries
    3. Delete last letter of the search term
    4. Put that letter back

    Now it autosearches.

    Autosearch should autosearch immediately after dictionary switch.

    This should be easy to code. Just add one line to search after dictionary switch.

    opened by landry314 11
  • Round materialish buttons are useless and hide important text underneath

    Round materialish buttons are useless and hide important text underneath

    First of all thanks @rdoeffinger for keeping this project alive!

    I find that the round materialish buttons you recently introduced in the app are useless and actually hinder usability instead of improving it.

    Useless because all their actions were already 0 or 1 clicks away in the old interface:

    • Searching is the default action when you enter a dictionary. The cursor is automatically in the search box and keyboard is opened. Thus we need zero clicks to get to it. Even if we clicked somewhere else, searching again required only 1 click in the search box, which is a big target that you can easily hit with your fingers.
    • Clearing the current search word took 1 click in the X button to the right of the search box. Again this is a big target that no one misses.
    • Switching languages also took a single click in the flag, again a big target. This one was somewhat hidden. It is hard for a new user to guess that clicking the flag changes languages. The straightforward solution would be to place (watermark) the two arrows symbol on top of the flag.

    Summing up: these new buttons solve no usability issue.

    Now, even worse, is the fact that they actually are a usability hindrance, because they hide important text underneath. Checkout what happens in my device:

    quickdic-material-buttons

    90% of the time we use Quickdic with the keyboard opened. These new buttons take a lot of the precious little space we have left. With them, I am forced to hit the back button to hide the keyboard in order the read the translations. That's something I didn't had to do before. Thus they actually increased the number of clicks for me.

    Taking this into consideration, I would urge you to remove these buttons, or at least add a preference's option to do so.

    Tips for future UI improvements

    The original UI by Thad Hughes is actually really good. All major actions are easy to do with it. I would exercise caution before adding modifications.

    I see that you are in the mood to update it to a full blown Material UI. If so, please consider starting such work in a new branch. Besides avoiding breaking the UI on the production app, a new branch would allow you to start from scratch. It is rarely a good move to work iteratively on top of an old UI design. Better start anew and see whether applying Material solutions to this problem renders a better UI than the original Holo theme.

    opened by dllud 9
  • Feature Request: Option to put the bar at the bottom

    Feature Request: Option to put the bar at the bottom

    I use a lot this app (thanks so much) and I use it with 3 languages: Spanish, English and Portuguese so I'm constantly changing the language. I think it would be very much comfortable if we had the flag icon nearer to the finger. A solution for this could be having the bar at the bottom of the screen or between the search bar and the menu button (or both).

    opened by moshpirit 9
  • Unable to change configuration

    Unable to change configuration

    Changing the dictionary directory to /storage/6cc44171-88ee-40d2-b464-0d229d438e8b/Android/data/de.reimardoeffinger.quickdic/files doesn't work. The path points to an existing directory on the sdcard.

    After reboot the location is lost and points back to the default `/storage/emulated/0/…´ Also after reboot the application thanks again for update to 5.1.0

    ls -lZ /storage/6cc44171-88ee-40d2-b464-0d229d438e8b/Android/data/de.reimardoeffinger.quickdic/files                    
    total 52732
    -rwxrwx--x 1 u0_a140 sdcard_rw u:object_r:sdcardfs:s0 53932864 2017-10-26 13:45 DE.quickdic
    

    I'm using: Version 5.4.0 (93) - Hinzugefügt am 2017-09-10 from the fdroid repository. (→ https://f-droid.org/wiki/page/de.reimardoeffinger.quickdic )

    opened by DirkSchmitt 8
  • Bug: multiple downloads

    Bug: multiple downloads

    Why is it possible to download 7 times at once the same dictionary ?? When you press the download button of a dictionary currently downloading it add the download with 'the-name-5' for example.

    opened by homersimpsons 8
  • dutch and german to english dictionaries work fine (the title shouldn't be

    dutch and german to english dictionaries work fine (the title shouldn't be "EN-DE" though)

    the dutch to english (EN-NL) and german to english (EN-DE) dictionaries work fine on my phone.

    the orders of the entries might be better but that is probably an issue for wiktionary??

    one thing though is the title in the dictionary manager for the german to english is "EN-DE", not the names of the languages like the other ones, for example "English-Japanese" or "English-Dutch". It should be changed.

    thank you so much!!! i was hoping someone would save quickdic!!!! :-)

    opened by landry314 8
  • Lookup sporadically not working

    Lookup sporadically not working

    In the Japanese-German dictionary I often, not always, experience the following:

    • After pasting a kanji (from AnkiDroid) in the search box nothing happens.
    • Workaround: switching to German and back, or typing something before the pasted kanji.

    Sorry, it's not easily reproducible as it only happens sometimes. Not right now, of course...

    EDIT: Also happens in other dictionaries. I just switched to a dictionary after having entered a word. That word was only looked up after typing something.

    This is reproducible with a search term of two words ("give up") in both English dictionaries (not in FR or ES, though).

    opened by Heineken 7
  • Russian translation

    Russian translation

    Arrays and languages are 100% translated, strings -- about 90%.

    Things to note: quantity strings sourceInfo and indexInfo should really use plurals, because they name the counted objects and it means that the correct spelling depends on the actual numbers (probably never was an issue in e.g. English because no dictionary ever had just 1 word).

    opened by antonv6 6
  • Scoped storage doesn't work

    Scoped storage doesn't work

    On LineageOS 19.1 (Android 12) it's impossible to download any dictionary, the Download Manager and the app have Internet access, but the download just won't start, it doesn't matter if the default folder is selected or a custom one, storage permission is given, but the download never starts and doesn't appear at all in the notifications drawer.

    opened by m3thm4th 0
  • Activity memory leak caused by anonymous threads

    Activity memory leak caused by anonymous threads

    Possible Memory Leak

    An anonymous inner class will hold a reference to the this pointer of the outer class and will not be released until the thread ends. It will hold the Activity and prevent its timely release. Please check the links below.

    Occurrences

    onCreate

    Possible Solution

    If it is necessary, it can be changed to static class + weak reference to eliminate the reference to the activity, which may cause memory leaks. Further discussion is welcome.

    opened by cuixiaoyiyi 0
  • Add language anchor in links to online Wiktionary

    Add language anchor in links to online Wiktionary

    Hi, and thank you for quickdic, I use it almost daily and is become my favourite dictionary.

    I often use the link to the online Wiktionary (usually to look up the conjugation/declension), but the links in quickdic lack the #anchor to the relevant language. For words common to many languages this forces me to scroll arounda lot. One ridiculous example is this page. If I came from the Italian dictionary I'd like the link to go to the Italian section. The same link from the Swedish dictionary should point to the Swedish section.

    The app knows, of course, which language I'm looking for, could you add the anchor to the link?

    In fact I use the online Wiktionary far more often than the offline page and it would be nice to have an option to open that directly when you click on a lemma.

    opened by mu22le 0
  • RFE: Don't scroll to the top in dictionary manager when a download finishes

    RFE: Don't scroll to the top in dictionary manager when a download finishes

    When downloading multiple dictionaries, after each download/installation, the download manager will scroll to the top, interrupting user experience.

    Steps to reproduce:

    1. Open QuickDic
    2. Open its Dictionary Manager
    3. Scroll down a bit
    4. Under Downloadable dictionaries, download any dictionary
    5. Keep scrolling

    What happens:

    As soon as any download (or installation) finishes, the view will jump to the top. To continue where he left off, the user has to scroll down again. This is especially cumbersome when not using search to filter text so the scrollable length of the view is very large

    What should happen:

    Don't jump to the top (or anywhere) when download/installation finish.

    Additional info:

    I'm using QuickDic 5.6.2 installed from F-Droid on Android 11.

    opened by genodeftest 0
  • Wiktionary links error

    Wiktionary links error

    Webpage not available The webpage at http://de.wiktionary.org/wiki/anschlie%C3%9Fen could not be loaded because:

    net::ERR_CLEARTEXT_NOT_PERMITTED

    Perhaps this would be remedied by changing http:// to https://

    opened by yknip0 1
Releases(v5.6.2)
Owner
Reimar Döffinger
Reimar Döffinger
Clean architecture dictionary app fetching remote data with local caching

ComposeDictionary Clean architecture dictionary app fetching remote data with local caching Installation Clone this repository and import into Android

Timothy Serem 2 Feb 19, 2022
EnglishWhiz - Dictionary App with Compose

Yet Another English Dictionary App. EnglishWhiz is an offline dictionary app that features fast word look-up. It features modern Android technologies including Jetpack compose.

Chukwuka 16 Nov 9, 2022
A multi-platform Collins Dictionary client, supports for Desktop(Windows/Linux/MacOS) and Android.

Collins Dictionary This is a multi-platform Collins Dictionary client, supports for Desktop(Windows/Linux/MacOS) and Android. For Linux and MacOS, ple

KonYaco 57 Dec 30, 2022
A dictionary that works out of box

Easydict A dictionary that works out of box Features Basic dictionary functions, query word, show the definition and translation Show the query histor

chen_null 0 May 16, 2022
Urban Dictionary discord bot.

Urban Dictionary Installation & Setup 1. Clone the repository git clone https://github.com/thexxiv/urbandictionary-discord-bot.git 2. Navigate to the

XXIV 0 Jan 17, 2022
:movie_camera: Movie discovery app showcasing Android best practices with Google's recommended architecture: MVVM + Repository + Offline support + Android Architecture Components + Paging library & Retrofit2.

Popular Movies Stage 1 + Stage 2 Discover the most popular and top rated movies playing. Movies data fetched using themoviedb.org API. ✨ Screenshots M

Yassin AJDI 189 Nov 26, 2022
A simple Android app to demonstrate the use of Hover SDK for M-PESA Send Money while offline. This SDK does not require an internet connection, it automates USSD sessions in the background of an android application.

HoverSDKDemo Hover SDK is an Android SDK that lets mobile developers to add money features to the applications. This SDK does not require an internet

Joel Kanyi 9 Dec 21, 2022
An android app to read gitbook in the offline mode.

gitbook-android An android app to read gitbook in the offline mode. Requirement Android 2.3+ Preview License Copyright (C) 2016 Snowdream Mobile <yang

snowdream 42 Oct 20, 2022
A free and open-source offline authenticator app for Wear OS.

Wristkey Need 2FA codes quickly, right on your Wear watch without needing a phone? Wristkey is an open-source 2FA client for Wear OS watches that does

Owais Shaikh 80 Jan 4, 2023
A Simple movies app using Kotllin, MVVM, and with an offline caching capability.

IMDB-CLONE A simple imdb clone using KOTLIN,MVVM with searching and bookmarking ability with offline caching ability Libraries used:- Kotlin Coroutine

saiteja janjirala 13 Aug 16, 2022
The android port of the 2048 game (for offline playing)

2048-android This is the Android port of the 2048 game made by Gabriele Cirulli https://github.com/gabrielecirulli/2048 It's nothing fancy; just a Web

Paul S 996 Dec 24, 2022
An offline assistant for Android phones

The Sapphire Assistant Framework If you are looking for an Android assistant that is easy to use, flexible, and respects your privacy then look no fur

Christopher Carroll 286 Dec 28, 2022
Belajar Android Jetpack Pro Dicoding - with Hilt, LiveData, Online-Offline Caching, etc

movie-catalogue-jetpack-pro-dicoding Ini adalah final submission pada kelas Belajar Android Jetpack Pro di dicoding (get 5 star) Pada project ini terd

Rijal Muhyidin 2 Oct 5, 2022
Display's information about SpaceX crew members and ships by consuming a rest api and storing the data to display when the user is offline.

Space-X App Display's information about SpaceX crew members(look for ‘Crew’ section in rest api docs) and ships (look for ‘Ships’ section in rest api

krishna chaitanya 2 Apr 8, 2022
You can store all your password, bank details, card details in one place and remember only one master PIN. The application works totally offline.

Keep Password An application where you can store all your password, bank details, card details in one place and remember only one master PIN. The appl

rıdvan 4 Apr 18, 2022
This is a Interview application which made by me in interview task what it do? that will give you the result from Api and also save data in the cache using RoomDb so that we can access it offline.

Clean-MVVM-App An Android application built using Clean + MVVM architecture. Components used in the app. Kotlin - As a programming language. Material

Android1500 2 Oct 29, 2022
Food Recipe App is an app for collecting most of food recipe in one app

Food Recipe App is an app for collecting most of food recipe in one app

Heba Elsaid 10 Dec 25, 2022
Arjun Naik 1 Apr 16, 2022
Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks

Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks

MindOrks 1.2k Dec 29, 2022