rxandroid tutorial logo

RxAndroid Example – RxAndroid Tutorial #2

In this RxAndroid Example Tutorial, we will continue our previous topic on RxAndroid tutorial‘s Getting started where we discussed about the basics of RxJava 2 and RxAndroid and its uses. Now, we are going to integrate the RxAndroid in our Project and write a simple Android Project which shows how to declare an Observable, Observer and subscribe to the Observable …

rx android tutorial

RxAndroid Tutorial #1 – Getting started with Reactive Extensions in Android

RxAndroid Tutorial Intro: Reactive extensions usage is the current hottest trend in most programming languages like Java, JavaScript, Swift etc. Rx Android is the reactive extension for Android which is built on top of RxJava with minimum classes addition to it which makes it easier to add for Android Projects. This RxAndroid Tutorial is to help understand the usage of Reactive …

android multi language support

Android Multi Language Support Tutorial With Example

Android is the Most used Mobile Platform across the world. With more than 2 Billion+ active users per month, and a Share of 87.1% market share of the total Mobile Devices used worldwide, Android has a wide range of users from different regions which truely requires the feature of Android Multi Language Support. To reach out to wide range of …

java simpledateformat

Java SimpleDateFormat Example

In Java SimpleDateFormat article we’ll see how to use java.text.SimpleDateFormat class, which provides methods to format date to string or parse string to date. The SimpleDateFormat is a class which inherits java.text.DateFormat class. Creating a SimpleDateFormat Instance: String pattern = “dd-MM-yyyy”; SimpleDateFormat sdf= new SimpleDateFormat(pattern); The pattern String parameter used for parsing and formatting of dates. The Pattern Examples are given at the …

exception handling in java

Exception Handling in Java

While coding, we may face few compile time errors because of incorrect syntax and those errors can be removed by re-correcting our syntax. Similarly, we may also come across Run-Time errors caused by exceptions and those errors also needed to be handled. Java provides us with an important feature that allows us to handle those run time exceptions. That feature …

android sharedpreferences

Android SharedPreferences Example – Android Storage Types Tutorial #1

Android SharedPreferences provides an easy and efficient way to store data in the form of Key value pairs in Android. Unlike other storage options whose setup is a bit complex, SharedPreferences provides an easy way to read and write data into a file. What are SharedPreferences? SharedPreferences are just key value pairs which are stored in an xml file. If …

java 8 features

Using Java 8 Features in Android – Android Java 8 Tutorial #1

Java 8 is a major release in Java history with lots of new features. With the direct support of Java 8 features in Android,  we can now utilise those features into our Android Project which can help write code more efficient and less error prone. This tutorial is all about a brief overview of how to set up our Android …

oops concepts in java logo

OOPS Concepts in Java

In software development, we provide solutions to real life problems of people. Whereas, object oriented programming(OOP) is a programming technique which is inspired by real life objects, their properties and behaviors. Hence, arised this object oriented approach. Java is one of the programming languages, which uses this object oriented paradigm. This article gives a brief overview of OOPS concepts in Java. …

Android localhost connection using XAMPP / Django server

Sometimes we want to see how our app behaves locally before taking it live.This Tutorial is all about Android localhost connection using XAMPP server. Here, I’ll use my Newscrisp App which i’ve created recently for demonstration. Newscrisp uses Retrofit Library for Networking. Initially download XAMPP server version according to your operating system in order to setup android localhost. In this tutorial, I will use …

android parcelable

Android Parcelable example – Passing Objects via Bundle!

In this article, we are going to look at Android Parcelable example by passing objects via bundle between activities and fragments. Although there are no prerequisites for this tutorial, here I am going to take the Movie Board project that we’ve been building in our previous posts and implement Parcelable to it and pass the objects via bundle. The completed project …