Hi guys today I am going to show how to develop auto complete suggestion in android using AutoCompleteTextView.

In this example i used the JSON parsing that parse the suggested word and display on AutoCompleteTextView.

Android AutoCompleteTextView Example JSON

This example use JSON format like this

Php file

First Create Android Project

Then define AutoCompleteTextView xml tag to your xml file for example: activity_main.xml as following

Step 2: Create the Getter Setter File SuggestGetSet.java as following

Step 3: Create JsonParse.java file as following

Step 4: Create SuggestionAdapter.java file as following

Step: 5 Create MainActivity.java file as following

Final Ouput


Download Source Code