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 …

android custom font for entire application

Android Custom Font For Entire Application using Android Studio

In this Android custom font article, we will look at how to apply custom font for the entire Application. Here I am taking the project of my previous article on FirebaseUI and cloning it to apply custom font to that application. The entire code for this tutorial is made available as a separate Github project. You can clone/download.from the following link: …

Android Push Notifications using Firebase Cloud Messaging (FCM)

In this tutorial, we are going to discuss about Implementing Android Push Notifications using Firebase Console. In the upcoming tutorials we will be discussing about more advanced features of FCM using our own server instead of Firebase Console. The complete code for Android Push Notifications using FCM can be cloned/downloaded from Github Link (Note: In order for the above code …

FirebaseUI Android Example using Firebase Database – Getting Started With Firebase Android

FirebaseUI android was introduced very recently by Google. According to Google, FirebaseUI is a library that allows developers to build native Mobile Apps quickly with Firebase by binding common UI views to Firebase references or queries. Currently FirebaseUI android supports ListViews, GridViews, and RecyclerViews. In this example, we will Integrate Realtime Firebase Database to our Recyclerview using Firebase UI so that the …