Efficient Android Threading Book – My Compilation of Chapter 1

Linux Process In  a Linux, each user has its own process and a unique ID. Every user has access to private resources proctected by permission and any user (except the super user) can access another user's private resource. In Android, the same thing happens, but instead of users we have applications. By default, applications and … Continue lendo Efficient Android Threading Book – My Compilation of Chapter 1

Android Gradle Plugin 2.2.0-alpha3 is missing zipalign

Today, I was trying to submit a new version of my app to Google Play and I received this message: I've verified if I was submiting the debug version of my apk and I've confirmed that I was submiting the release version generate in Build > Generate Signed APK.  I've tried to use the  zipAlignEnabled true in the release … Continue lendo Android Gradle Plugin 2.2.0-alpha3 is missing zipalign

DialogFragment/AlertDialog dismiss automatically on click button

I was dealing with the case of use an EditText inside my AlertDialog that is created inside an DialogFragment last week and I remembered that I could write a tip about some problems of it. What problems?  It's simple...An EditText...inside an AlertDialog...Ok, but how to avoid the dismiss of the Dialog when the user click in … Continue lendo DialogFragment/AlertDialog dismiss automatically on click button

Message.obtain() and new Message() – TIP

Is not possible send the same Message instance several time, only once. So we always have to create a new instance. Better than that, instead of create a new instance (new Message()), we can use the method obtain (Message.obtain()) that will return a recycled instance of Message from the pool of recycled objects, what is … Continue lendo Message.obtain() and new Message() – TIP