[Solved] Spell check with google dictionary [closed]


    @Override
public void onGetSuggestions(final SuggestionsInfo[] arg0) {
    isSpellCorrect = false;
    final StringBuilder sb = new StringBuilder();
    for (int i = 0; i < arg0.length; ++i) {
        // Returned suggestions are contained in SuggestionsInfo
        final int len = arg0[i].getSuggestionsCount();
        if(editText1.getText().toString().equalsIgnoreCase(arg0[i].getSuggestionAt(j))
        {
            isSpellCorrect = true;
            break;
        }               
     }        
 }

You can find the whole project from this link. In above project you can see string is appended. Instead just change the above method onGetSuggestions..

1

solved Spell check with google dictionary [closed]