Month: November 2013

  • Android AutocompleteTextView with Database Data as Suggestions

    Our code example for today is about a very useful Android widget called AutocompleteTextView. Specifically, we’ll code an Android AutocompleteTextView with database data as drop-down suggestions. If you’re not yet familiar with AutocompleteTextView, this widget looks like an EditText but shows completion suggestions automatically while the user is typing. The list of suggestions is displayed […]

  • Simple Android JSON Parser Example Code with URL and Logcat Output

    Today I’m going to share an Android JSON Parser example code to parse a JSON string from a URL. This code is really useful because nowadays, JSON string is being used by most APIs like Facebook graph API and Google Maps. You should use JSON in your projects instead of XML because it is lightweight, […]

  • Fixing Android EditText Lag

    Lately I encountered this annoying android EditText lag, each time I try to type a character, it makes me wait for around 1 to 3 seconds before I can type the next character! Now that’s horrible. EditText is not useful. Keyboard looks broken. If you have the same issue, I have a good news for […]