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

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

Service restart behavior – Compilation

START_STICKY Service is restarted if it gets terminated. It will tell the system to create a newest copy of the service, when available memory is sufficient to do, after it retains state and recovers from the low memory. In this process we will loose the results that might have calculated before. onStartCommand() will be called on the … Continue lendo Service restart behavior – Compilation