Home » Android » core

core

Android FloatingActionButton Example

1. Introduction The Floating Action Button is a special type of button primarily used for functionalities such as morphing, launching, and the transferring anchor point. Further, this type of button is often found on the floating surface of a user interface. The primary difference between the Floating Action Button and the other types buttons is that the Floating Action Button, like the name, ...

Read More »

Android Web App Example

Nowadays, mobile applications are trending so much that, most of the websites have their Android application. Android made it so simple that one can convert their websites to application or can open web page in their application by using WebView. This tutorial walks you through the concept usage ant its implementation. Table Of Contents 1. Introduction 2. Methods & Description ...

Read More »

Android Application Class Example

We all know there is an Application class in the Android API, that is usually used for maintaining global application state but how does it work? In this article, let’s explore it with the help of examples and discuss its advantages & disadvantages. Table Of Contents 1. Introduction 2. Callback Methods 3. Creating the Application 3.1. The Activity File 3.2.The ...

Read More »

Android Logging Example

1. Introduction Being an Android developer, all of you might have heard of logging. Well if not, this tutorial will guide you with the concept usages and its implementation. Let us start with the quick introduction of the concept about what it is and why it is used. LOG in a simple language can be defined as ”record of events”. ...

Read More »

Android Volley Example

1. Introduction The Android Volley library is an Android library which enables developers building application which will make requests to some sort of API Server more manageable and fast in terms of overall application performance. This library achieves this by means of two main constructs that the library makes available, namely the RequestQueue and the RequestObject. Together these two constructs make it possible to ...

Read More »

Android Toast vs Snackbar Example

1. Introduction In Android, one can use the Android Toast or the Android Snackbar to display feedback or action messages to users of an application. The Android Toast is mainly for Platform oriented messages although the Android Snackbar could be also be used for these requirements. The added advantage of using an Android Toast instead of an Android Snackbar is ...

Read More »

Android Snackbar Example

1. Introduction In this example, we will be implementing a basic Android SnackBar Activity, which will be able to display a long waiting SnackBar, a short waiting SnackBar, and an interactive SnackBar. To Trigger these different functionalities we will create 3 separate buttons for each one of the SnackBar scenarios. Further, when each one of these buttons will be clicked they ...

Read More »

Android TabLayout Example

1. Introduction In this example, we will be going through the process of creating a basic user interface using the tab layout constructs available on the Android platform. In Android, the TabLayout is a construct for better organizing a user interface. It does so by making the user interface more organized and less cluttered. This example will also explain the ...

Read More »

Android StackView Example

The Honeycomb Android version, introduced some interesting widgets with collections. One of them is the Android StackView, a stacked card view where the front view-item can be flipped to give room for the item after it. The StackView collection may be found in several widgets, because of its view behaviour. Generally, StackView is an AdapterView thus working with StackView is ...

Read More »

Android Activity Transition Example

The transitions between different Android Activites consist of animations that are used when we enter and exit a specific Activity. In this example, we are going to define simple transition animations in XML resource files and use them as simple transitions between the Android Activities of our example. All we have to do is to override the Activity.overridePendingTransition(). Let’s take ...

Read More »