All Projects → chizoba → google-dictionary

chizoba / google-dictionary

Licence: other
An android library that provides easy access to meanings of any word, phrase, or slang via Google, within any application

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to google-dictionary

nihongo
Japanese Dictionary
Stars: ✭ 77 (+67.39%)
Mutual labels:  dictionary
Diccionario-JavaScript
project-dictionary.gitbooks.io/diccionario-javascript/content/
Stars: ✭ 13 (-71.74%)
Mutual labels:  dictionary
myRime
我的 Rime 配置,适用于朙月拼音/小鹤双拼/小狼毫 /ibus
Stars: ✭ 46 (+0%)
Mutual labels:  dictionary
Manji
Manji is a mobile application built to help people learning Japanese learn about Kanji.
Stars: ✭ 142 (+208.7%)
Mutual labels:  dictionary
programminginpython.com
This repo consists code of all the programs discussed at programminginpython.com website
Stars: ✭ 60 (+30.43%)
Mutual labels:  dictionary
Jotoba
A free online, self-hostable, multilang Japanese dictionary.
Stars: ✭ 87 (+89.13%)
Mutual labels:  dictionary
sshash
A compressed, associative, exact, and weighted dictionary for k-mers.
Stars: ✭ 62 (+34.78%)
Mutual labels:  dictionary
condict
Dictionary software for constructed languages.
Stars: ✭ 21 (-54.35%)
Mutual labels:  dictionary
wikdict-gen
Generation of bilingual dictionaries from Wiktionary/dbnary data for the WikDict project
Stars: ✭ 32 (-30.43%)
Mutual labels:  dictionary
assoc-list
Dictionary with custom keys implemented using association lists
Stars: ✭ 30 (-34.78%)
Mutual labels:  dictionary
js-mdict
*.mdx/*.mdd interpreter js implements
Stars: ✭ 91 (+97.83%)
Mutual labels:  dictionary
MagicDict
Fastest and Smallest Data structure for Querying valid english words.
Stars: ✭ 24 (-47.83%)
Mutual labels:  dictionary
vocabulary-titan
Chatbot for searching vocabulary on mainstream dictionaries
Stars: ✭ 70 (+52.17%)
Mutual labels:  dictionary
French-Dictionary
CSV files containing all french adjectives, adverbs, conjunctions, determiners, nouns, prepositions, pronouns, verbs and their gender, types and conjugations
Stars: ✭ 74 (+60.87%)
Mutual labels:  dictionary
jiten
jiten - japanese android/cli/web dictionary based on jmdict/kanjidic — 日本語 辞典 和英辞典 漢英字典 和独辞典 和蘭辞典
Stars: ✭ 64 (+39.13%)
Mutual labels:  dictionary
Britfone
British English pronunciation dictionary
Stars: ✭ 66 (+43.48%)
Mutual labels:  dictionary
new-word-tab
A browser extension to learn a new word per new tab
Stars: ✭ 30 (-34.78%)
Mutual labels:  dictionary
waylan android
A dictionary concept for Android ~ Making words and their meanings available through a natural and beautiful experience
Stars: ✭ 13 (-71.74%)
Mutual labels:  dictionary
moonstar
MoonStar Türkçe Dil Kılavuzu
Stars: ✭ 11 (-76.09%)
Mutual labels:  dictionary
mw-thesaurus.el
Merriam-Webster Thesaurus in Emacs
Stars: ✭ 84 (+82.61%)
Mutual labels:  dictionary

Google Dictionary

Want to easily check the meaning of any word, phrase or slang in your app? Just import this ;)

alt tag

Setting up

Dependency

  • Maven
<dependency>
  <groupId>com.github.chizoba</groupId>
  <artifactId>google-dictionary</artifactId>
  <version>1.0.0</version>
  <type>pom</type>
</dependency>
  • Gradle
implementation 'com.github.chizoba:google-dictionary:1.0.0'

Usage

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    // Declare a TextView you want to implement the "google search function" to 
    TextView tv = (TextView) findViewById(R.id.textView);

    // Enable TextView to be able to select text on long click
    tv.setTextIsSelectable(); // or do this via xml

    // Create an instance of the GoogleDictionary class
    GoogleDictionary gd = new GoogleDictionary();

    // Create a FragmentManager 
    FragmentManager fm = getSupportFragmentManager();

    // Call the setDictionaryEnabled() method passing in your TextView and Fragment Manager
    gd.setDictionaryEnabled(tv, fm);
}    

License

Copyright 2017 Chizoba Ogbonna

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].