Android

Android SharedPreferences using Kotlin — step-by-step DevOps tutorial on Progressive Robot

Android SharedPreferences using Kotlin

In this tutorial, we'll learn how to implement SharedPreferences in our Android Application using Kotlin. What is Android SharedPreferences? SharedPreferences is part of the Android API since API level 1. It's an interface that allows us to store/modify/delete data locally. Generally, it is used to cache user local data such as login forms. The data […]

Read more
Android AsyncTask Example Tutorial — step-by-step DevOps tutorial on Progressive Robot

Android AsyncTask Example Tutorial

Today we will look into Android AsyncTask. We will develop an Android example application that performs an abstract AsyncTask in background. Android AsyncTask Android AsyncTask is an abstract class provided by Android which gives us the liberty to perform heavy tasks in the background and keep the UI thread light thus making the application more […]

Read more
Android Calendar View — step-by-step DevOps tutorial on Progressive Robot

Android Calendar View

In this tutorial, we'll be discussing the Calendar Widget using the CalendarView class in our Android Application. Android Calendar View As the name suggests, a Calendar View is used to display and select dates of the Calendar. To add a CalendarView in the XML Layout do the following: <CalendarView android:id="@+id/calendarView" android:layout_width="wrap_content" android:layout_height="wrap_content"/> This is how […]

Read more
Android LiveData — step-by-step DevOps tutorial on Progressive Robot

Android LiveData

In this tutorial, we'll be discussing the LiveData architectural component in our Android Application. For a better understanding of this tutorial, do take a quick detour to [Android ViewModel](/community/tutorials/android-viewmodel). Android LiveData LiveData is a part of the architecture patterns. It's basically a data holder that contains primitive/collection types. It's used for observing changes in the […]

Read more
Android Spinner using Kotlin — step-by-step DevOps tutorial on Progressive Robot

Android Spinner using Kotlin

In this tutorial, we'll be discussing and implementing Spinners in our Android Application using Kotlin. [Android Spinner](/community/tutorials/android-spinner-drop-down-list) is used to create a drop-down list on the screen. What will you learn? Creating Spinners through XML and Programmatically Setting a prompt on the Spinner. Creating a custom layout for the Spinner. Handling Click Listeners and Display […]

Read more
Android Runtime Permissions Example — step-by-step DevOps tutorial on Progressive Robot

Android Runtime Permissions Example

Welcome to android runtime permissions example. With the introduction of Android 6.0 Marshmallow, Google has changed the way permissions are handled by the app. In this tutorial we'll look into the new android runtime permissions that are introduced and how to handle them. If not handled properly, it can cause application crashes. What are Android […]

Read more
Android Material Text Fields — step-by-step DevOps tutorial on Progressive Robot

Android Material Text Fields

In this tutorial, we'll implement Text Fields using the new Material Design Components Library. We have already implemented TextInputLayout [here](/community/tutorials/android-textinputlayout-example). Material TextFields TextInputLayout provides an implementation for Material text fields. We just need to use TextInputEditText! First and foremost, import the new material components dependency. Also, set the MaterialComponent theme in your Activity. implementation 'com.google.android.material:material:1.1.0-alpha09' […]

Read more
How To Host A Web Server On Android — step-by-step DevOps tutorial on Progressive Robot

How To Host A Web Server On Android

In this module, we will have a look at how we can host a web server on Android and port forward it using ngrok so that we can have a flexible webserver on the go. Steps to host a web server on Android Let's get right into the steps to host a web server on […]

Read more
Android Spinner - drop down list — step-by-step DevOps tutorial on Progressive Robot

Android Spinner – drop down list

This tutorial will give you a hands on experience in using Android Spinner as a drop down menu, passing data using [android bundle](/community/tutorials/android-bundle) and showing popup notification using [android toast](/community/tutorials/android-toast). We will create an android application that consists of a simple spinner that allows selecting an item from a drop down list. We will display […]

Read more
Android Splash Screen — step-by-step DevOps tutorial on Progressive Robot

Android Splash Screen

Android Splash Screen is the first screen visible to the user when the application's launched. Splash screen is one of the most vital screens in the application since it's the user's first experience with the application. Splash screens are used to display some animations (typically of the application logo) and illustrations while some data for […]

Read more
CHAT