Category Archives for Android

Extracting Colors In Android 5.0 – “The Palette API”

Before the new update of Palette’s API in android 5.0 developers were allowed to extract colors from images. Now with the release of Android Lollipop, the Palette class makes easy to extract prominent colors from bitmap images. These colors are very useful if you want to style other view components to match colors from your image, […]

Read More...

Animations In Android KitKat

With the introduction of Android KitKat, Google has brought a number of new additions to Android. In this tutorial I will focus on one of those additions i.e. transition framework. Time by time with the new versions of android it brings new improved animation tools for developers. Animations Added in Honeycomb come with very good and easy API for creating […]

Read More...

Storage Access Framework

Storage Access Framework (SAF) was introduced with the release of Android 4.4 (API level 19). However the new selector UI provides the user an easy way to access files stored on their device and in the cloud , it doesn’t necessarily give developers the same ease of use. I am writing this tutorial by digging up the […]

Read More...

Step Counter App With Android KitKat 4.4

Today I will write a simple app for you that utilizes the step counter. This is a sample app same like the pedometer app which will register the sensor events when it starts, and update the UI with the latest step count whenever a new event is detected by the app. The code will specify SensorManager.SENSOR_DELAY_NORMAL as the update […]

Read More...

Implementing ListView With Search

Today I will be going to explain how to add search functionality in list view. The android ListView contains many features that make ListView a powerful tool. Let’s see the steps on how to perform search operation on Array and redraw the ListView. Step 1) Create a new project in android IDE. Write the following code […]

Read More...

Android Components – The Activity

This blog post will give you an introduction to Android Application Components and detailed description on one of the component i.e. Activity Basically we have five major components that are used to build an application in android. These components are defined as Objects in Android SDK with some methods which can be used by an […]

Read More...

Check Bluetooth Status Using Bluetooth Adapter

This example will explain how to check if Bluetooth is supported in running device and whether its ON or OFF. In the example below we will call startActivityForResult() with Intent of BluetoothAdapter.ACTION_REQUEST_ENABLE, when user click button to enable it. Then we will re-check the status again in onActivityResult() when result returned. Follow the steps below to create […]

Read More...

BarCode Reader Application – Using ZXing Library

In this tutorial, I will show you how to use the ZXing Library to implement barcode scanning within an Android app. We will use the resources of this open source library in our app, and retrieve and process the results returned by the Library. I you don’t have any barcode scanner app installed on your […]

Read More...

A Guide to VideoView With MediaController

Enabling the user to access and consume content of the device(such as mobiles or tablets etc) is an essential use of smartphones nowadays. Especially when it comes to “video” it becomes an important and most common usage of the device. Android includes two classes which are responsible for the implementation of video playback on Android devices. These classes […]

Read More...

The Android Studio – An Introduction With The HelloWorld App

In this tutorial, I will show you how to setup your system to start developing your first Hello World using the Android Studio. Android is based on a modified version of the Linux kernel, and includes following versions till date as shown in the figure below. Please read it from top to bottom. Android 5.0 Lollipop […]

Read More...