Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,032 Members 43,746 Now Online
XDA Developers Android and Mobile Development Forum

[Xposed][MOD][4.0+] XDictionary - Quick Dictionary Search Button

Tip us?
 
perseus0807
Old
(Last edited by perseus0807; 17th July 2014 at 06:57 PM.)
#1  
Senior Member - OP
Thanks Meter 53
Posts: 128
Join Date: Mar 2011
Location: Pune

 
DONATE TO ME
Post [Xposed][MOD][4.0+] XDictionary - Quick Dictionary Search Button

Introduction:

XDictionary adds a quick dictionary search popup button to text you select. The popup is extremely non-intrusive (similar to iOS), and appears next to the Paste/Replace buttons. It then opens the definition of the selected word.

Now, you don't need to bother with opening your dictionary app, typing in the whole word and hitting search - it's essentially just a one-click procedure.


IMPORTANT: after installing, run the app, and allow it to copy dictionary data to external memory. If the app force closes, delete the folder /xdictionary, and reboot. For a proper install, there should be nine files in /xdictionary/dict - the folder will be around 33 megabytes. If all else fails, you can manually make the folders, and download the files from here.


Limitations:
  • Currently only works in text input fields where Paste/Replace do show up. Making it global for all text is high priority.
  • Supports only English. Support for other languages may or may not happen, depends on the response.

Bugs:
  • May break for certain OEM skins or ROMs with heavily modified UIs.
  • Occasional force closes when you try to copy dictionary data

Source:

https://github.com/vinit-ivar/XDictionary

Future:

A Translate button is in the works - it'll replace the selected text with the equivalent in another language.

Donate:

If you liked the app, and you're feeling generous, do buy the Google Play version! Developing while going through college can be pretty tiring work, and I like the way this app is going.

Download:

The APK is attached; knock yourselves out!

Changelog:

Code:
1.1.0 - dictionary is now offline.
1.0.0 - added support for Toast (donate) and popup windows.
0.9.0 - initial version.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-06-28-11-36-49.png
Views:	5472
Size:	84.4 KB
ID:	2825769   Click image for larger version

Name:	Screenshot_2014-06-28-11-37-06.jpg
Views:	4726
Size:	109.4 KB
ID:	2825770   Click image for larger version

Name:	Screenshot_2014-07-15-16-15-14.png
Views:	1403
Size:	137.4 KB
ID:	2852640   Click image for larger version

Name:	Screenshot_2014-07-15-16-15-34.png
Views:	1204
Size:	89.7 KB
ID:	2852641  
Attached Files
File Type: apk XDictionary_v1.1.0_demo.apk - [Click for QR Code] (10.28 MB, 341 views)
The Following 32 Users Say Thank You to perseus0807 For This Useful Post: [ Click to Expand ]
 
sshafranko
Old
#2  
sshafranko's Avatar
Senior Member
Thanks Meter 2,042
Posts: 3,358
Join Date: Feb 2013
Location: Little Ferry
Great idea man will def try and let you know.
 
Planterz
Old
#3  
Planterz's Avatar
Senior Member
Thanks Meter 189
Posts: 671
Join Date: Feb 2014
Location: Tucson, AZ
Quote:
Originally Posted by perseus0807 View Post
Limitations:
  • Opens the definition in your browser. Support for installed apps will be added soon.
Awesome idea. Support for the dictionary.com app would be the best place to start, IMO (it's the most popular, and their widget is great). Merriam-Webster and Oxford English also have apps. If you figure this out, you could also extend it to search Wikipedia, which would be a fantastic idea too.

I don't know nothin 'bout programming or porting, but something similar to the way those Words with Friends cheat apps have a built-in dictionary search might be something to look in to.
Relax, go nutz!
 
RedBeardT
Old
(Last edited by RedBeardT; 1st July 2014 at 12:39 AM.)
#4  
RedBeardT's Avatar
Member
Thanks Meter 28
Posts: 81
Join Date: Aug 2013
Looks like a great app. Just took the leap and purchased through Google Play because of all the potential features mentioned in the reddit thread.

Upon installation though it does not appear to work?

Perhaps I misunderstood the functionality of this module so could you give me a scenario to try to test? I'm not given the option to define when selecting text in Chrome(address bar), or Hangouts (text input field).

I'm running SlimKat ROM with their gapps.
The Following User Says Thank You to RedBeardT For This Useful Post: [ Click to Expand ]
 
themadproducer
Old
#5  
themadproducer's Avatar
Senior Member
Thanks Meter 1,282
Posts: 2,702
Join Date: Aug 2009
Not working here either on 4.0.4 stock S3. tested many apps.
Samsung Galaxy S3 I747m - 2gb Ram/LTE, Stock Rom Rogers LH1, ICS rooted CWM 6.12 (as of February 10 2013)
 
jorv976
Old
#6  
jorv976's Avatar
Senior Member
Thanks Meter 167
Posts: 464
Join Date: Feb 2011
Lol. Very nice. And useful. Thank you.

Sent from my SPH-L710 using XDA Free mobile app
 
cdonald
Old
#7  
cdonald's Avatar
Member
Thanks Meter 23
Posts: 81
Join Date: Jun 2014
Location: NJ
Is it possible for the "define" button to not show up next to paste when pasting something that is more than one word?
 
perseus0807
Old
#8  
Senior Member - OP
Thanks Meter 53
Posts: 128
Join Date: Mar 2011
Location: Pune

 
DONATE TO ME
Quote:
Originally Posted by RedBeardT View Post
Looks like a great app. Just took the leap and purchased through Google Play because of all the potential features mentioned in the reddit thread.

Upon installation though it does not appear to work?

Perhaps I misunderstood the functionality of this module so could you give me a scenario to try to test? I'm not given the option to define when selecting text in Chrome(address bar), or Hangouts (text input field).

I'm running SlimKat ROM with their gapps.
I'm sorry to hear that; maybe SlimKat have modified their code.

Give me a day, I'll get back to you ASAP. Meanwhile, could you take a screenshot of the Paste/Replace thing?

Sent from my XT1033 using XDA Free mobile app
 
perseus0807
Old
#9  
Senior Member - OP
Thanks Meter 53
Posts: 128
Join Date: Mar 2011
Location: Pune

 
DONATE TO ME
Quote:
Originally Posted by themadproducer View Post
Not working here either on 4.0.4 stock S3. tested many apps.
Is this the same problem RedBeardT was facing? If so, could you perhaps take a screenshot? It'll help.

Sent from my XT1033 using XDA Free mobile app
 
RedBeardT
Old
(Last edited by RedBeardT; 1st July 2014 at 05:30 AM.)
#10  
RedBeardT's Avatar
Member
Thanks Meter 28
Posts: 81
Join Date: Aug 2013
Quote:
Originally Posted by perseus0807 View Post
I'm sorry to hear that; maybe SlimKat have modified their code.

Give me a day, I'll get back to you ASAP. Meanwhile, could you take a screenshot of the Paste/Replace thing?

Sent from my XT1033 using XDA Free mobile app
No DEFINE




Tags
android, dictionary, xposed
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes