andriod

Kotlin Constructor

In this article, you will learn about constructors in Kotlin (both primary and secondary constructors) as well as initializer blocks with the help of examples. Constructor A constructor for a class is a special member function, mainly used to initialize the properties of the newly created object of that class type. It is called implicitly, […]

Kotlin Constructor Read More »

Android Runtime Permissions with Dexter

Android Marshmallow includes a new functionality to let users grant or deny permissions when running an app instead of granting them all when installing it. This approach gives the user more control over applications but requires developers to add lots of code just to get a single permission. In this article, we will talk about

Android Runtime Permissions with Dexter Read More »

Android Get Current Location Using Fused Location Provider

In this article, we will talk about what a fused location provider is and how to use it to get the current location using a sample Android application. We need not explicitly choose either GPS provider or Network location provider, as the “Fused Location Provider” automatically chooses the underlying technology and gives the best location

Android Get Current Location Using Fused Location Provider Read More »

Android ViewPager with Mediaplayer

In the previous article, we have talked about ViewPager to create swipe views in Android application in greater detail. In this article, we will talk about how to add buttons in different pages of viewPager, how to play and stop song on button click using MediaPlayer and also how to work with Mediaplayer on page scrolled.

Android ViewPager with Mediaplayer Read More »

Android Glide Library Example

On loading the list of images manually these three problems encounter i.e OutOfMemoryError, slow loading and UI unresponsiveness(flickering). To come out from these problems we can use Glide library. In this article, we will talk about Glide in brief, how glide solved the above problems and also build a simple image gallery app where all the

Android Glide Library Example Read More »

Getting Started with Android Application

In this article, we will talk about how to get started with the very first android application HelloWorld. So step by step we will talk about how to install Android Studio, how to create android application HelloWorld, its initial project structure and then we will talk about how to create and run your first Android

Getting Started with Android Application Read More »

Save key-value data(SharedPreferences)

There are many ways of storing data in android, One of the simplest way is SharedPrefrences If you have a relatively small collection of key-values to save, you should use the SharedPrefrences APIs, Using SharedPrefrences You can stores:   String, Integer, Float, Long, Double and a String Set.  download the full project from  Github. Save data to shared preferences

Save key-value data(SharedPreferences) Read More »

Android Google Map Example

This guide is a quick start to adding a map to an Android app. We are using Android Studio as a development environment. Get the full code from Github Step 1. Create a Google Maps project Follow these steps to create a new app project including a map activity: Start Android Studio. Create a new project.

Android Google Map Example Read More »

Android CheckedTextView Example

Checked TextView CheckedTextView is an extension of normal TextView that has a checkbox along with some text. It is mainly used in a ListView where we want to show which item is selected or not. Checkmark attribute is used to provide a graphic or a drawable to CheckedTextView. Download GITHUB code from Here.   Creating New Project 1.

Android CheckedTextView Example Read More »

Android MultiAutoCompleteTextview

Multi AutoComplete Textview An editable text view, extending AutoCompleteTextView, that can show completion suggestions for the substring of the text where the user is typing instead of necessarily for the entire thing. MultiAutoCompleteTextView can hold multiple string words value at single time. These all values are separated by comma(,). Get GITHUB code from Here.   Creating New Project

Android MultiAutoCompleteTextview Read More »