How to Inspect HTTP Requests of your REST API for Android and iOS Apps

Hello everyone,   This post is going to every mobile developers who is going to work in REST base APIs.   Some time you may have noticed that web services act like weird. It is really hard to debug input unless our web service guy enabled server logger in webservice host.  To solve API error … Read moreHow to Inspect HTTP Requests of your REST API for Android and iOS Apps

Get You Last known Location & Current Location using FusedLocationProviderClient

Get Last known Location using Fused Location Provider Client

                                   I would like to cover very basic and simple example of retreiving last known location & Current Location  using Fused location API.  I have written many example for fused location API in my previous posts but in this … Read moreGet You Last known Location & Current Location using FusedLocationProviderClient

Step by step example of Developing and Publishing Android Instant App

What is Instant App? Android Instant Apps give permission for Android users to run your apps instantly. You can open/run the part of the app or full app without installing the app using the pre-defined url (https only) in the manifest file.  This beautiful feature works only in Android Marshmallow (API 23) or upper version. … Read moreStep by step example of Developing and Publishing Android Instant App

Jenkins : Continuous Integration / Continous Delivery for Android & iOS mobile Applications

Learn how to setup Android/iOS Continuous Integration Jenkins in mac Hello guys,  We will learn what is Jenkins,  how to setup and configure it in the Mac OS X for Android and iOS. Build Automation on Android using Jenkins, Jenkins is an open source automation tool which can be used to automate all kinds of … Read moreJenkins : Continuous Integration / Continous Delivery for Android & iOS mobile Applications

Android In App Billing API : Monetize your app using Play billing library (Buy & Subscribe)

    Android In App Billing API Buy Subscribe Monetize app Play billing library Android In App Billing API provides a effortless and simple interface for sending In-app Billing requests, receiving response and managing In-app Billing transactions using Google Play. The step by step example android app will cover the basics of how to make … Read moreAndroid In App Billing API : Monetize your app using Play billing library (Buy & Subscribe)

How to upload and download an Alpha or Beta App in Google Play

How to upload and download an Alpha or Beta App in Google Play

Getting early feedback is extremely useful.! How to upload and download an Alpha or Beta App in Google Play It is always really good practice to do the the alpha or beta testing before we launch the app to production.   Developers can help users by giving bug free version. What is Alpha Testing and … Read moreHow to upload and download an Alpha or Beta App in Google Play

Write your own Custom Content Provider with SQLite Database Helper Class.

What is Content Provider Part of the Android components. It helps other applications to access/edit/delete the data or files stored in your app. Without Content Provider, accessing the other application’s data is really harder and we should find another mechanism like cloud synching. Don’t forget to mention your content provider in Manifest file. Android provides … Read moreWrite your own Custom Content Provider with SQLite Database Helper Class.

Android Scroll to Rotate Image (Step by step coding example)

    Hello,   In this example application we i will show you how to use scroller to rotate image.   I have created a simple Android app using Android studio. You can find the full source code in my github.     Extending ImageView I created our own custom image view because by default … Read moreAndroid Scroll to Rotate Image (Step by step coding example)

Playing with Reactive Java 2 and Reactive Android (RxJava/RxAndroid)

  What is Reactive Pattern? I don’t want to write huge theory here. Because you can browse many more articles around the web.  Simple answer for the question is, The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by … Read morePlaying with Reactive Java 2 and Reactive Android (RxJava/RxAndroid)

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

Working with Android Crash Report Analytics

Android Crash Report Analytics is a free and open source android library which helps android mobile applications to Email their Crash reports or post the crash reports to its reporting server.  Which is really helpful for developers to identify the the reason for the application’s crash.   1) Add the ACRA (Current version is 4.9.2) library to the project. Simple … Read moreWorking with Android Crash Report Analytics

How to check your internet connectivity in Android Application

One of the simple and best utility i found when i was doing a research. Hope it will help you guys as well.     import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.telephony.TelephonyManager; /**  * Check device’s network connectivity and speed  *  */ public class Connectivity {     /**      * Get the … Read moreHow to check your internet connectivity in Android Application