Hello Folks, there are situations when you need to revert all the commits of a feature without checking out an earlier commit. This allows you to retain changes made for other features while isolating the problematic ones.
[Read More]
apkToJava - Gem to convert apk file to java code
Hello Friends, here I am with another cool ruby gem apkToJava which will help you to improve your productivity while working on android project. This gem can convert apk file to java code and open it in a friendly GUI.
[Read More]
Android Padding vs Margin
Android padding vs margin is a very frequently asked question. Most of the beginners miss understand it. So here is a little help from my side. The idea behind android margin and padding is very similar to CSS margin and padding. Let’s understand it with examples.
[Read More]
Android UI for beginners
This article covers the basic Android UI which every android developer should know. Here we will discuss what are the basic android UI building blocks and how they can be used. With a little attention you can master the basics of android UI design. I have created a demo application...
[Read More]
Decorator Design Pattern
What Is Decorator Pattern?
[Read More]
Junit Rules Vs Setup and TearDown
There has been a lot of confusion when it comes to Junit Rules. People hardly use it or avoid using it without knowing its essence. This article will cover the power of junit rules and how to implement them. Also we will see whats the benefits of using junit rules...
[Read More]
Android Build Process
There are a lot of steps involved in android build process. We will discuss them one by one. But before jumping to the explanation lets take a look at the below diagram first where I have tried to put all the steps of build process together.
[Read More]
What happens when android screen rotates?
Rotating the android device changes the device configuration. Android replaces the current resources with the best suited resources for that screen orientation. Thats why when we add a resource in android we add different versions of that resource. For example an image can be added in four formats(hdpi, mdpi, xhdpi, xxhdpi). The...
[Read More]
Is ruby monkey patching evil?
We have been using monkey patching since we had exposure to it. Now the question is ruby monkey patching is it good or bad?. Before answering the question lets understand what monkey patching is.
[Read More]
Android Instrumentation Testing Using Espresso
Hello Folks, This is my second article on Android Instrumentation testing. My previous instrumentation testing article was about testing a list view with core instrumentation (without any external library or framework). In this I am going to discuss the Espresso framework which I use for android instrumentation testing. I have also recored...
[Read More]