Category: Android Mobile Application Development

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

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

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

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

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

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

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

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

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 {     /**