Android Oreo

Being the eight major releases of the Android mobile operating system, Android Oreo was also termed as Android 8.0. And as the 15th version, Android Oreo has Android O as a codename during the development. In March 2017, the alpha quality of Android O was released for developer preview. On August 21, 2017, it was … Read more

Android Marshmallow

Being the sixth major version of the Android operating system and the 13th version of Android, Android “Marshmallow” or Android 6.0, has a codename of Android M, during the development. On May 28, 2015, the first beta version of Android Marshmallow was released. And on October 5, 2015, the official release was made with the … Read more

Android Lollipop

Being the twelfth version of Android, Android “Lollipop” was the 5th major version of Google’s Android operating system and was given the codename of Android L, during the development. On June 25, 2014, Android Lollipop’s developer version was released at the Google I/O conference. On November 3, 2014, it was officially released for the public. … Read more

Android KitKat

Being the fourth major version, Android “KitKat” is the 4.4 release version and eleventh update of the Android operating system. Android 4.4 was publicly released by Google on September 3, 2013, with the motive to optimize the operating system to improve the performance of earlier devices. The minimum RAM required for this version of Android … Read more

Android Network Connectivity Services

We can connect to the Internet and even to a local network in Android. Thus, in Android we can perform network operations too. To check the network connectivity information of the device, the Android network connectivity services are required. While performing the tasks based on internet services such as fetching data from the server (internet) … Read more

Volley Library – Registration, Log-in, and Log-out

To fetch the JSON data from the URL, the Volley library is used. The Volley library and JSON can be used to create a basic user registration and log-in module. The facilities for network connectivity for an app are provided by the Volley which is an HTTP Library. Advantages of using the Volley library: Easier … Read more

Swipe to refresh Android Activity (SwipeRefreshLayout)

The SwipeRefreshLayout widget is used to create swipe-to-refresh functionality in Android. An OnRefreshListener method is added by the instance of the SwipeRefreshLayout. This instance also implements the code logic that will load on refresh. When the user swipes, a distinctive progress bar is displayed by the vertical swipe. When the progress bar shows the progress … Read more

Android Swipe to Delete RecyclerView items with UNDO

The ItemTouchHelper class added in Android Support Library V7 can be used to delete an item of RecyclerView by swiping the item with undo functionality. Or in other words, we can create a swipe to delete the items of RecyclerView, using the ItemTouchHelper class. To configure the events to be performed to swipe or move … Read more

Android QR Code / Barcode Scanner

A QR code or barcode scanner is sometimes required in an android application. There are various ways to scan the QR code programmatically: Using a web-based API solution: The QR code or barcode is uploaded to the server, and the result is returned by the server. Using a web-based application: The camera is accessed to … Read more

Android Interstitial Ads Google AdMob

In the below example, we are displaying Google AdMob full-screen Interstitial Ads on its layout. build.gradle: In the build.gradle file, we will add the below google ads dependencies. compile ‘com.google.android.gms:play-services-ads:8.4.0’ apply plugin: ‘com.android.application’   android { compileSdkVersion 28 defaultConfig { applicationId "com.example.radioapp" minSdkVersion 23 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { … Read more