More About Process, Threads, Stack in Android

Here I'm trying to find new way to explain and study this so important subject. Let me try to explain process and threads in a new easy way, without too much theory. When you click in a app icon for the first time, a process, Linux process, will be started to host the app and … Continue lendo More About Process, Threads, Stack in Android

When should I use Android Service?

To rank higher the process which is hosting my application Because a process running a service is ranked higher than a process with background activities, an activity that initiates a long-running operation might do well to start a service for that operation, rather than simply create a worker thread. An activity can be stopped or destroyed, … Continue lendo When should I use Android Service?

SOLID – Focusing on Encapsulation

Understanding the encapsulation is easy: your objects and methods must hide the implementation. You have to look at the methods name and understand "what it does" but never "how it does". Rules, variables or instances which are necessary to do what is being done must to be hidden in a method; It helps to reuse … Continue lendo SOLID – Focusing on Encapsulation

SOLID is not About How to Make your Code Beautiful!

SOLID was created because engineers were concerned about code quality and they focused on abstraction, cohesion and encapsulation to reach the quality. But it's not merely about how make code beautiful, actually, they create it because maintenance it the biggest fase of software development and modify a code with a bad design can break it … Continue lendo SOLID is not About How to Make your Code Beautiful!