How to implement BroadcastReceiver in Android

A Broadcast Receiver is an Android component which allows the users to register for an event and triggers when the event happens. A receiver can be registered for pre-defined Android actions or custom actions. To implement the Broadcast Receiver in Android Application: Define a Broadcast Register.(can be done in two ways i.e one is locally in Activity … Continue reading How to implement BroadcastReceiver in Android

Android Starting with Firebase

As most of you are knowing Firebase is on boom these days. Firebase is a platform for the web,mobile applications which provide real-time database,storage,authentication, Fcm, push notifications easily and is fast and reliable. Firebase is considered as the alternative of Parse.com So,let's start using Firebase for android. 1. First of all, create Firebase account using Gmail … Continue reading Android Starting with Firebase

How to implement Fragments in Android.

A fragment is a part or portion of Activity. It is also known as sub-activity. The Primary classes related to fragment are: android.app.Fragment: Base class for fragment definitions. android.app.FragmentManager: Class for interacting with fragments within the activity. android.app.FragmentTransaction: Class for performing operations like adding or replacing the fragments. Google also provides compatibility support v4 package … Continue reading How to implement Fragments in Android.