Author: Lalit Vasan

Android Developer
March 29, 2021

Fingerprint Authentication using Android Biometric API

Generally, to authenticate into any android application you have to manually enter the username and password. Also, if you forgot the password or username then you have to recover it by going through a series of steps. Now, this authentication method is getting old and applications are switching to Fingerprint Authentication. By adding Fingerprint authentication to your application you do not need to remember the […]

February 4, 2020

Cleartext HTTP traffic not permitted

When you updated the android SDK version of your project from 26 to 29 and the app is making the Http API call using http instead of https. You are facing an issue that your app is not connecting to the server and there is an error in the logcat java.io.IOException: Cleartext HTTP traffic to * not permitted. Do not get worry in this post […]

January 28, 2020

How to install apk file on android emulator

Sometimes you do not have android device to test the andorid app (apk). But don’t worry you can install the android app on the emulator. It is very easy to install and test the app on android emulator. For this even you do not require any IDE or any development experience. In this post, I have will show you how to install any external app […]

August 6, 2018

Android take screenshot programmatically

Generally we are taking screenshots in android devices by pressing power + volume down button. Now arises a question that is it possible to take screenshot programmatically from android app? Yes, it is possible to capture screenshot within our android app programmatically. In this tutorial, you will learn how to take screenshot programmatically of an activity or a view.   Let’s Get it Working In […]

June 15, 2018

Android Expandable List View Tutorial

Expandable List View is a view that shows items in a vertically scrolling two-level list. It is different to list view as it allows two levels: groups that can individually be expanded to show its children. Each group can be expanded or collapsed individually to show or hide its children items. Basic usage of expandable list view is to group data by categories. Let’s Get […]

April 26, 2018

Android[Kotlin] Login and Register with SQLite Database Tutorial

In software applications, it is mostly required to store users and app data locally. Android SDK provides several API’s for developers to save user and app data, So SQLite is one of the ways of storing data. For many applications, SQLite is the app’s backbone whether it’s used directly or via some third-party wrapper. In this tutorial, we will write code in Kotlin and also […]

February 14, 2018

Android Shared Preferences Tutorial

Sometimes you need some data to be available throughout our application so that you can read that data and use it in different scenarios like user sessions, app settings, etc. There are several ways to do that, one of the common way is to store data is global variables but problem is that data get lost when user closes the application. To eliminate this kind […]

October 25, 2017

How to Get Hardware and Software Information in Android

We have seen many apps on play store which provides the hardware and software information. In Android one can easily fetch the information programmatically using Build class. Build class in android provides the basic information like serial number, android SDK, brand, model no, manufacture, version code and etc. There are many other information you can get from a android device but here we will focus […]

October 14, 2017

How to disable back button in android

When user presses back button to Disable Back Button in android and you want to perform any of the action instead of exit from the app. Like you have seen in many app when user presses back button to exit an app a toast message is displayed with message “press again to exit” or a dialog is displayed to “rate the app”. Its very easy […]

June 3, 2017

Animated Gradient Background in Android

Adding Animated Gradient Background in your app is really easy by using xml and java code. Animated moving gradients background between gradients as animation makes your android app really awesome. You might have seen this type of background color animation in Instagram app’s Login Screen. Instagram app keeps on transforming background from one gradient to another very beautifully. So this can be achieved very easily […]