Coder Social home page Coder Social logo

namndev / qdict Goto Github PK

View Code? Open in Web Editor NEW
81.0 5.0 32.0 4.14 MB

This is an open source Android dictionary application which support 'stardict' format dictionaries.

Home Page: https://www.namndev.com/2015-05-13-qdict/

Java 74.12% Makefile 0.26% CMake 0.15% C 17.65% C++ 0.17% HTML 2.98% Kotlin 4.67%

qdict's Introduction

QDict

Donate

This is an open source Android dictionary application which support stardict format dictionaries.

Information

The only dictionary you need for all purpose. There is no word you can't find

  • You can use QDict as a dictionary tool, it support all the stardict format dictionaries.
  • QDict support 3 type ways to search: Glob-style pattern matching, Fuzzy query and Full-text search.

There must be a SD card (or other external memory) on your phone to store stardict format dictionary files and some other data files which will be used by this application.

  • We have a huge list of dictionaries which can meet the needs of any language learner.
  • There are near 1000 different kind of stardict dictionaries on the link (bellow)

If you can't download the dictionaries from that website, you can contact with me.

Guide

  • You need to download dictionaries at bellow link.
  • Manual install dictionary: QDict support fully stardict format. Download file and extract to .idx, .dict files into a folder.
  • Rename folder to dict name. EX : en_vi folder contains file en_vi.idx and en_vi.dict

Note : file name only: a,b,..,y,z;0,1...8,9,_ and non space between.

  • Copy folder to sdcard/QDict/dicts (Path display in settings).

How to push dictionary to your device?

  • Using an FTPServer application - if you do not want connect PC. (Ex: Mini-FTPServer - You an find in play store).

  • Using adb command.

  • Using Window Explorer ( in window).

Other application

You can find all in Play Store

Note: You can find many dictionary for download here: Dropbox , Onedrive and Sourceforge.

Play Store

Paypal

Thanks!

qdict's People

Contributors

marmistrz avatar namndev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

qdict's Issues

Themes

Please make minimalistic black and white theme, as not all of us like to see bamboo pictures. You may think to add payment option for theme and more features. There is will to pay! there is not good Stardic dictionary app with nice UI.

App crash when trying to look up in dictionary converted from babylon

I have converted a Babylon dictionary to stardict format by pyglossary library, then I move files to Qdict directory, when I tried to write a word, suggestions came correctly but when I choose word to look up , unfortunately the app crashes :(, maybe it is a native code error.

The logger:
`
03-19 21:18:11.445 23229-23229/com.annie.dictionary A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 23229 (nnie.dictionary)

                                                        [ 03-19 21:18:11.449  2251: 2251 W/         ]
                                                        debuggerd: handling request: pid=23229 uid=10086 gid=10086 tid=23229

03-19 21:18:11.631 23529-23529/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-19 21:18:11.632 23529-23529/? A/DEBUG: Build fingerprint: 'samsung/a5xeltexx/a5xelte:7.0/NRD90M/A510FXXS7CSA6:user/release-keys'
03-19 21:18:11.632 23529-23529/? A/DEBUG: Revision: '9'
03-19 21:18:11.632 23529-23529/? A/DEBUG: ABI: 'arm'
03-19 21:18:11.632 23529-23529/? A/DEBUG: pid: 23229, tid: 23229, name: nnie.dictionary >>> com.annie.dictionary <<<
03-19 21:18:11.632 23529-23529/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
03-19 21:18:11.632 23529-23529/? A/DEBUG: r0 00000000 r1 00000079 r2 ffffffff r3 e019d3e4
03-19 21:18:11.632 23529-23529/? A/DEBUG: r4 ffa08290 r5 e2357200 r6 00000123 r7 00000000
03-19 21:18:11.632 23529-23529/? A/DEBUG: r8 ffa083d0 r9 ead05400 sl 00000000 fp ffa0835c
03-19 21:18:11.632 23529-23529/? A/DEBUG: ip ec9e7658 sp ffa081e0 lr e9636dd5 pc ec9aeab4 cpsr 400f0030
03-19 21:18:11.637 23529-23529/? A/DEBUG: backtrace:
03-19 21:18:11.637 23529-23529/? A/DEBUG: #00 pc 00050ab4 /system/lib/libc.so (__strchr_chk+3)
03-19 21:18:11.637 23529-23529/? A/DEBUG: #1 pc 007fa28c anonymous:ff20e000`

Register QDict as Android dictionary

I use QDict a lot. But it does not appear in the list of dictionary apps in ReadEra app, while other dictionary apps that I have on my smartphone appear automaticity there. I don't know what is necessary for QDict to be shown there, so I can be able to open QDict as main app when I click "Dictionary" or "Translate" button in ReadEra. This way QDict will be opened with current selected word automatically filled. Any improvements in QDict app or instructions how this functionality can be achieved will be very welcome.

Now "Capture search from clipboard" setting in QDict does not work and does not help much when one does searches. One has to do the following to search for unknown word:

  1. select the word in ReadEra with long click
  2. hit "Copy" from the popup menu
  3. switch to QDict app
  4. hit the blue "Search" button down right
  5. go to the search box at the top of the screen
  6. select the word there
  7. long press for clipboard to appear
  8. paste the unknown word from clipboard (usually clipboard is again at the bottom part of the screen)
  9. hit the left arrow at the middle left part of the screen to hide the clipboard and the keyboard to become visible again
  10. hit the "Search" button down right on the keyboard
  11. read the unknown word definition
  12. switch back to ReadEra app

As you see, too long process for a book with a lot of unknown words :-). It is much faster with other dictionaries:

  1. select the word in ReadEra with long click
  2. hit "Dictionary" from the popup menu
  3. read the word definition in the dictionary app
  4. hit phone "Back" button to go back to text in ReadEra app

Import of dictionaries cannot be found

I tried to copy, star-dictionaries to location in app settings. No dictionary was found. I play with this more then one hour with no success. I rename the files, rename the folder name, etc... no dictionary found.

Man :D It give me really headache, your manual how to add dictionaries it is not working. Anyway why you make it so complicated to do? Can you just add add import dictionary button, where user just find and click on dictionary somewhere in folder, and you will do all the dirty job?

Direct link on compiled .apk

Hello,
my variant of Android system from Nokia is Nokia X2 (Android 4.3) doesn't have Google Play Store. Please, give direct link on your compiled .apk.
You can put your .apk in github repository releases section.

android studio build error

hi, i'm having problems building the project using Android Studio, 3 issues:

  • missing appcompat and madmanLib
  • config name 'default' not found
    could you please upload a full version of the Qdict project?
    thanks!

Feature request: dictionary grouping

Hello and thanks for a nice dictionary app!
I have written a feature request in playstore, but here is probably a beter place for it.

I currently have dictionaries for 10 languages, over 50 in total. (I like to have them while travelling). To manage them as a plain list is inconvenient. Perfectly I'd like to have some kind of dictionary manager, with search and filters. But I would be happy with any sort of dictionary grouping.

I imagine, it should be relatively easy to allow putting dictionaries in subfolders of Qdict/dicts, and use folder names for grouping.

I.e.
Qdict/dicts/Eng/ with 3 dicts
Qdict/dicts/Ger/ with 5 dicts
would create two expandable items "Eng" and "Ger" in dictionary list, with 3 and 5 subitems respectively.

I will try to look into this myself, but I've never done any coding for android, so it will take some time.

Problem with custom path - Settings, data

After entering in Settings, Data (by default /mnt/sdcard/QDict)
-folder structure is displayed from sdcard
-names are not sorted by name, what makes it more difficult to find a folder
-folder external_sd is not displayed (it is a link to the external SD)

The last one is quite important to make Qdict use dictionaries from external SDcard

Make new searches easier

Current state: Now for new word search one have to 1) tap the blue "Search" button down right 2) move his finger to top part of the screen 3) first select the old word in the search box on the top and 4) type the new word and hit "Search".

My suggestion: Make search box always visible at the top. If one tap at any place in it (i.e. in the event when the text box receives focus) select all current text. This will make new word searches much easier: 1) click on the edit box at the top (old text will be automatically selected and the and phone keyboard will appear) 2) type the new word.

It looks like very small issue, but with a lot of searches it will improve searching a lot. Also I think it is very easy to implement. If it is not, at least search box text can be automatically selected when search box is shown - this is one line of code IMO. This will save one finger move from the bottom to the top part of the screen and this way will make searches easier.

Beside this QDict is very useful dictionary and perfect for my needs, thank you for creating it and for open sourcing it!

Unfortunately QDict has stopped

When I try to launch the app I get the following:

Unfortunately QDict has stopped

Samsung Note 2 (GT-N7100) Android 4.4.2

Build fails due to a lint error

:qDict:lintVitalRelease
/home/marcin/proj/QDict/qDict/src/main/java/com/mmt/app/SystemBarTintManager.java:104: Error: Expected resource of type styleable [ResourceType]
                mNavBarAvailable = a.getBoolean(1, false);
                                                ~

   Explanation for issues of type "ResourceType":
   Ensures that resource id's passed to APIs are of the right type; for
   example, calling Resources.getColor(R.string.name) is wrong.

1 errors, 0 warnings
:qDict:lintVitalRelease FAILED

Internal links (bword://) don't work

Internal links in StarDict format, like <a href="bword://二十八宿">二十八宿</a>, don't work for Unicods (non-ASCII) words.
I think link target needs to be unquoted.
Screenshots:
Before click

After click (on first Related word for example)
After click

Application licence

It appears that this application is licenced under Apache 2.0, yes? I'm asking because I'd love to see it packaged for F-Droid, and it only accepts fully open source applications.

force close activity due couldn't find "libqdicteng.so"

Hello and thanks for a nice dictionary app!
I try to build and run your application source code but when app runs it crash and force close by android OS , any idea how could i solve this problem?
I build and run your app in both android 6 and android 4.1.1 , in both version it crashed ,but when i install your app from google play store , it does not Seem to have any problem.

09-12 12:42:23.090 18090-18090/com.annie.dictionary E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.annie.dictionary, PID: 18090
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.annie.dictionary-1/base.apk"],nativeLibraryDirectories=[/data/app/com.annie.dictionary-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libqdicteng.so"
at java.lang.Runtime.loadLibrary(Runtime.java:367)
at java.lang.System.loadLibrary(System.java:1076)
at com.annie.dictionary.QDictEng.(QDictEng.java:16)
at com.annie.dictionary.QDictions.(QDictions.java:35)
at com.annie.dictionary.MainActivity.onRequestPermissionResult(MainActivity.java:282)
at com.annie.dictionary.BaseActivity.checkPermission(BaseActivity.java:58)
at com.annie.dictionary.MainActivity.onCreate(MainActivity.java:199)
at android.app.Activity.performCreate(Activity.java:6251)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5422)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
09-12 12:42:23.094 886-27444/? W/ActivityManager: Force finishing activity com.annie.dictionary/.MainActivity
09-12 12:42:23.115 886-27444/? W/ActivityManager: Force finishing activity com.estrongs.android.pop/.app.InstallMonitorActivity
09-12 12:42:23.115 886-27444/? W/ActivityManager: Duplicate finish request for ActivityRecord{5e8645c u0 com.estrongs.android.pop/.app.InstallMonitorActivity t369 f}
09-12 12:42:23.140 18105-18105/? I/GAv4: Google Analytics 7.8.95 is starting up. To enable debug logging on a device run:
adb shell setprop log.tag.GAv4 DEBUG

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.