Author: admin

July 26, 2023

How to get Device name and model programmatically in android

Finding a way to get the android device name and model programatically. No worries We can find the device (hardware and software) information using Build Package in Android. Build package provides information about the current build, extracted from system properties. Following is a small code snippet that gets the market (consumer friendly) name of a device. /** Returns the consumer friendly device name */ fun […]

December 15, 2016

Android Count Down Timer Tutorial

A countdown is a sequence of backward counting to indicate the time remaining before an event is scheduled to occur. To achieve countdown Android comes with a built-in CountDownTimer class for constructing CountDownTimers. Its easy to use, efficient and works.This class is an abstract class whose methods need to be overridden to implement it in our project. Let’s Get it Working In this tutorial we […]

November 4, 2016

Android 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 APIs for developers to save user and app data, So SQLite is one of the ways of storing data. For many applications, SQLite is the backbone of the app whether it’s used directly or via some third-party wrapper. In this tutorial, we will see how to use […]

June 5, 2016

Android Vector Drawable Example using AppCompat Support Library

With the Arrival of the new version of the Android Support Library AppCompat v23.2 , it comes up with backward compatibility of some features and add some new features also. With the release of Android lollipop (API 21) a new component was included named Vector Drawable. But this component only works on API 21+, with the arrival of Android Support Library AppCompat v23.2 Vector Drawable […]

April 2, 2016

Android DayNight Theme Example using AppCompat support library

With the Arrival of the new version 23.2 of library support Android brings a new components that can enrich the user interface. There’s a new theme added to AppCompat in this release: Theme.AppCompat.DayNight. Before adding this theme to AppCompact developers have to make adjustments to their designs to account for different ambient light levels or time of day, but AppCompat is now offering to automate […]

March 24, 2016

Android Material Design Bottom Sheets Tutorial

With the Arrival of the new version 23.2 of library support Android brings a new component that can enrich the user interface of some of our applications, calls Bottom Sheets. You can find a detailed description of this component in the guides design of Material design. What is Bottom Sheets ? A bottom sheet is a sheet of material that slides up from the bottom […]

March 2, 2016

Android Material Design Snackbar Tutorial

One of the basic UX component in Android is an Toast. It is generally used to show little message to the user. But last year when material design was released, a new UX component Snackbar was introduced. Android Snackbar is just like a Toast message except that it has an option for user feedback. You can call it as a toast message with an action […]

February 23, 2016

Android Material Design Floating Label for EditText Tutorial

One of the basic UI widgets in Android is an EditText. It is generally used to take inputs from the user. While typing in EditText , it hides the hint which may create problem to identify EditText without label but last year when material design was released, a new concept of floating labels was introduced. This new Android floating label EditText concept initially showed a […]

February 19, 2016

Android RecyclerView CLick Listener Tutorial

In Our Previous tutorial “Android RecyclerView Tutorial” . We had learned how to render a simple RecyclerView with a custom layout. We had also learn writing a adapter class and binding data the list of books displaying the title and author . If you’ve used a RecyclerView, you may know that they don’t have a setOnItemClickListener as ListView had, so we have to create our […]

February 13, 2016

Android RecyclerView Tutorial

The new support library in Android L introduced two new UI widgets: RecyclerView and CardView. The RecyclerView is a more advanced and more flexible version of the ListView. This new component is a big step because the ListView is one of the most used UI widgets. The CardView widget, on the other hand, is a new component that does not “upgrade” an existing component. What […]