Step by step simple example guide how to upload an image using Android Retrofit (Multipart-FormData)

    Project source code link is available at the end the post.   What is Retrofit ? We all know that doing HTTP efficiently makes your stuff load faster and saves bandwidth in mobile platforms. Retrofit is an open source library for Android and Java platforms to handle Http request asynchronously and synchronously.  Basically is a type-safe … Read moreStep by step simple example guide how to upload an image using Android Retrofit (Multipart-FormData)

Google Fused API Background Location Update with Retrofit

Step by step guide to develop a simple android application to upload the user’s location to the server via Background Intent Service using Retrofit Networking library.     Hello,   We will work on this with  Google’s Fused Location API and Retrofit. I will show you how to continuously update your device’s location via background … Read moreGoogle Fused API Background Location Update with Retrofit

Did you get android.os.NetworkOnMainThreadException ?

Hello guys, Today i would like to explain about an exception that occurs very often for Android Developers.  I can imagine the situation, if you are a newbie or seasonal android developer you would definitely encounter android.os.NetworkOnMainThreadException for sure.   This exception is predominantly thrown when an application attempts to perform a networking operation on its … Read moreDid you get android.os.NetworkOnMainThreadException ?

How to create Product Flavor in Android Gradle (Free/Paid version of the app)

We will go through simple step by step example Android project, How to create Product Flavors in Android. I will try to explain following topics,   I will create Free & Paid version of the app. Create different Label Text for Free & Paid. Create Different Activities for Free and Paid Apps. I will show … Read moreHow to create Product Flavor in Android Gradle (Free/Paid version of the app)

Setup Android SDK Home in Your Mac Permanantly ($ANDROID_HOME)

Hello, Welcome to short tutorial about how to setup Android SDK Home in Mac OS X.  Setting up android SDK home will be helpful in many situations. I will list out some situations,   When you are working with Jenkins in your local Pc. When you are working with Appium Test Automation framework. Background apps … Read moreSetup Android SDK Home in Your Mac Permanantly ($ANDROID_HOME)

Learn Gradle Basics (For Android developers)

As an Android developer, Learning Gradle will help us improve the building process of Android. Groovy is the language used to write Gradle build script files. Even though it is not necessary to learn groovy, we should understand the basics of the language. It will help us to improve our project building procedure.   Download … Read moreLearn Gradle Basics (For Android developers)

How to Efficiently Use Gradle in Android

Hello everyone, Let’s talk something about Gradle now. Gradle is playing major in Native Android development these days. Using Gradle in an efficient way, will give you good impact on your project building process and APK releasing process as well.       How to identify or differentiate the App’s Debug and Release mode  This … Read moreHow to Efficiently Use Gradle in Android

Keyboard Shortcut for Android Studio in Windows & Mac Osx

Benefits of using keyboard shortcuts. Basically it will increase the productivity. You can do many task in a short period of time. etc.. I am going to show the default keyboard shortcuts for Android Studio.  You can change the shortcuts as per your need in the preference pane.   Description Windows/Linux Mac General Save all … Read moreKeyboard Shortcut for Android Studio in Windows & Mac Osx