Floating Japanese Dictionary for Android

Index » Learning resources

  • 1
 
balloonguy Member
Registered: 2007-05-06 Posts: 54

Floating Japanese Dictionary

This app provides a floating window in which one can look up the definitions of Japanese words even when another app is running. It probably takes up too much space to to use on small screens, but it works great on a 7-inch tablet (like a Nexus 7).

* Requires at least Andriod 3.0 (Honeycomb)
* This app assumes the presence of an external or built-in SD card. Not having one will prevent the app from working

Download Link
Github Repo

Screenshots
https://dl.dropboxusercontent.com/u/263833/FloatingDocs/collapsed.manga.pnghttps://dl.dropboxusercontent.com/u/263833/FloatingDocs/expanded.manga.pnghttps://dl.dropboxusercontent.com/u/263833/FloatingDocs/definition.manga.png

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/video.png

Usage

Start the app
If the app is running for the first time, you will be prompted to let the app download the dictionary file (11.2MB). If you chose to download the file later, the app will close and will ask for permission again the next time you start the app.

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/download.dialog.png

Looking up words
If the dictionary file has been downloaded and processed, the floating window will appear

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/expanded.empty.keyboard.png

Type the word you want to look up in the the text field
Remember to switch to Japanese input

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/expanded.filled.png

If the word is not in the dictionary, the window will display No Results. To quickly clear the text field, tap the X button (if you tap the button when the text field is empty, it will cause the window to collapse, see Expanding the window to learn how to expand the window again).

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/no.results.launcher.png

When you look up a word that is in the dictionary, you will be presented with a list of possible definitions

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/inflected.png

You can look through all the definitions by swiping up and down on the list of definitions. Notice that the app attempts to deinflect the given word.

Saving a word
When you want to save a word with its definition, tap the entry. The entry will be saved to the file `Words.txt` in the device's `Download` directory. Accessing the file is left to the user.

Interacting with window
Collapsing the window
To collapse the window so it does not take up as much space, tap the X button next to the text field  when the text field is empty. Therefore, if the text field contains text, tapping the X button once will make the text field empty and tapping the button again will cause the window to collapse. The window will now be smaller and contain an button with a search icon (a magnifiying glass).

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/expanded.empty.pnghttps://dl.dropboxusercontent.com/u/263833/FloatingDocs/collapsed.png

Expanding the window
When the window is collapsed, to restore the window to its expanded state so that you can look up words, tap the button with the search icon.

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/collapsed.pnghttps://dl.dropboxusercontent.com/u/263833/FloatingDocs/expanded.empty.png

Resizing the window
When the window is expanded, you can drag the bottom-right corner to make the window larger.

Moving the window
You can move the window around by tap-dragging the window by either tapping and dragging the black space in the title bar or any visible blank gray space. When the window is collapsed, the blank gray space is the space next to the button with the search icon. When the window is expanded, the blank gray space is the space visible when the window is not displaying definitions.

Closing the window
To close the window, tap the close button in the titlebar (the button with the * icon in the upper right corner). To open the window, you must start the app again.

The dropdown menu
To display the dropdown menu, tap the button with the + icon in the upper left corner. From here you can also close the window, view licensing information, and delete the downloaded dictionary file by tapping Reset.

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/dropdown.png


Looking up words using your voice
Note: In order for this to work, you appear to need to have Google Voice Search installed and have set the voice language setting to Japanese in Google Voice Search's options

If you have a capable device, a button with a microphone icon will appear next to the text field.

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/microphone.png


Tapping on the microphone will prompt you to say the word

https://dl.dropboxusercontent.com/u/263833/FloatingDocs/prompt.png

The text field will not contain the word you said (or attempted to say) and will display the definitions of the word.

Developing
This app depends on the StandOut library. Instructions on how to import the library are available at http://forum.xda-developers.com/showthr … ?t=1688531


License
This app is licensed under the GNU General Public License version 2 with the various copyright notices in the source code. It also uses the MIT-licensed StandOut Library by Mark Wei. In addition, many of the dictionary searching functions have been strongly inspired by Rikaichan.

When downloaded, the dictionary file is a derivative of the EDICT dictionary file. This file is the property of the Electronic Dictionary Research and Development Group, and is used in conformance with the Group's licence. See http://www.csse.monash.edu.au/~jwb/edict.html and http://www.edrdg.org/.

Changes
* v2.0
    * Implement search on type so you no longer have to hit submit
    * Allow the window to be resized when expanded

* v1.0
    * Initial release

Last edited by balloonguy (2013 September 24, 10:22 am)

Zarxrax Member
From: North Carolina Registered: 2008-03-24 Posts: 949

Looks really cool! I'll try installing this tomorrow.

Zarxrax Member
From: North Carolina Registered: 2008-03-24 Posts: 949

After using it for a while, this is really cool!
It's probably going to be one of my most used Japanese apps going forward.

A couple small suggestions:
Search as you type, instead of having to hit a separate button.
Option to make the window larger. Maybe just a simple toggle to 2x size?

Advertising (register and sign in to hide this)
JapanesePod101 Sponsor
 
balloonguy Member
Registered: 2007-05-06 Posts: 54

Thanks for the feedback, I'll get these done in the next few days.

Zarxrax Member
From: North Carolina Registered: 2008-03-24 Posts: 949

Well, 2x size might be kinda huge. Maybe something more like +50% larger in each direction or something?

cb4960 Member
From: Los Angeles Registered: 2007-06-22 Posts: 917

Works fine on my Nexus 7 (2nd generation). Thanks.

balloonguy Member
Registered: 2007-05-06 Posts: 54

I've implemented your suggestions

Download Link

Instead of having an explicit expanding option, I made the window resizable. Just drag the bottom-right corner.

Changes
* v2.0
    * Implement search on type so you no longer have to hit submit
    * Allow the window to be resized when expanded

toshiromiballza Member
Registered: 2010-10-27 Posts: 277

I don't have a tablet, so it's pointless having it on my small-screened phone, but no romaji input?

And which keyboard app are you using here: https://dl.dropboxusercontent.com/u/263 … .manga.png ?

Edit: Ah, it's Google Japanese Input.
Edit 2: Wow, time to say goodbye to ATOK.
Edit 3: No need for romaji with Google Japanese Input keyboard.

Last edited by toshiromiballza (2013 September 26, 2:28 pm)

Zarxrax Member
From: North Carolina Registered: 2008-03-24 Posts: 949

This new version crashes when I try to launch it.

balloonguy Member
Registered: 2007-05-06 Posts: 54

Something went wrong when I packaged it, it should be fixed now (same download link).

toshiromiballza wrote:

I don't have a tablet, so it's pointless having it on my small-screened phone, but no romaji input?

No plans for romaji, especially with the way the app currently works.

Last edited by balloonguy (2013 September 26, 10:21 am)

Zarxrax Member
From: North Carolina Registered: 2008-03-24 Posts: 949

Awesome! This is just so incredibly useful and time-saving when I am trying to read on my tablet.
The only other thing I could suggest, is if there is any way to make it show up in the list of recently used apps? Not sure if that's possible with this type of app though.

Reply #12 - 2013 October 06, 8:06 pm
balloonguy Member
Registered: 2007-05-06 Posts: 54

Thanks for the feedback, you've really helped challenge some of my unfounded assumptions that I had made while I was developing this.

Getting the app to show up in the recently used list adds more complexity than I would like, so for at least now I am not going to implement this.

ohooghuis New member
From: Tokyo Registered: 2011-03-14 Posts: 7

Thanks for the great app. I have a Galaxy Note 3 and I don't see the X button to collapse the window. And I have one suggestion: can you remove the title bar because it unnecessarily takes up a lot of space. Maybe you can shrink the two buttons and move them next to the voice input button? Or else at least reduce the height of the title bar. Any way thanks again!

balloonguy Member
Registered: 2007-05-06 Posts: 54

Can you post a screenshot? And I'll see what I can do about the title bar. Thanks.

ohooghuis New member
From: Tokyo Registered: 2011-03-14 Posts: 7

balloonguy wrote:

Can you post a screenshot? And I'll see what I can do about the title bar. Thanks.

http://s7.postimg.org/7f3g0r8ev/Screenshot_2013_11_18_14_40_53.jpg

ohooghuis New member
From: Tokyo Registered: 2011-03-14 Posts: 7

And another suggestion to make it more space efficient for using with phones: maybe you can add an option for smaller fonts. Also the search box has a lot of empty space between the text field and the borders that could be reduced. Thanks!

balloonguy Member
Registered: 2007-05-06 Posts: 54

Thanks for posting, I'll try to see what I can do.

  • 1