A blog about Mobile App Development.

  • Change Language Programmatically in Android

    Change Language Programmatically in Android

    Update: Published locale-helper as a library which can be found at  https://github.com/zeugma-solutions/locale-helper-android While developing your awesome application, sometimes you are required to add a feature to change the language of your app on the fly. However, Android OS does not directly support this behaviour. And therefore, you need to solve this situation in some other…

  • How to Solve Dex 65K Method Exception

    While you gradually develop your application, you most probably would be encountered by the famous unable to execute dex exception.  Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536 or  Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536 You get this…

  • Anim Button – Inspired by Whatsapp

    In some of the popular chat applications like whatsapp or hangouts, there is a button which can be transformed into a record button and also when you enter some text it will transform into a send button. AnimButton is a custom ImageButton which is imitating the whatsapp’s send button behavior. Basically, it will change the…

  • SparseArray vs HashMap

    Main purpose of SparseArray in Android development is to have a memory efficient integer to object mapping. It is not solely about to gain a performance tweak, however, you will save much more memory by using SparseArray. Benefits of SparseArray Saves you memory (Less memory usage thanks to the primitive keys and no Entry objects)…