Category Archives for "Android"

This blog post will give you 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 a application in android. These components are defined as Objects in Android SDK with some methods which can be used by an application. […]

Continue reading

This exaple 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 […]

Continue reading

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 […]

Continue reading

Enabling the user to access and consume content of 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 are […]

Continue reading

Thanks to google that he has introduced Job Scheduling API in its latest version Android Lollipop. Sometimes we may face the situation where we want to run a particular task later on some specific condition (known as scheduling). We can do this using the JobScheduler APIs provided by Android 5.0 onward now. In this tutorial, I will explain […]

Continue reading

Android developers must know what is activity, what is fragments and why and how to use them. But many of them feel it difficult when it comes to the communication between an activity and a fragment. Today in this tutorial I will be showing you how an activity and a fragment communicates. I got so […]

Continue reading

AutoScroll TextView can be added to Spinner, ListView or any other component as required or as needed. This tutorial will allow us to scroll text inside a TextView in a spinner. Generally, textview will marque the text only when it is focused. By using the below code, the textview will automatically scroll even without focus […]

Continue reading

In this tutorial, I will explain how to use SlidingPaneLayout. Its an interesting component which can be used whenever we want a multi-pane horizontal layout in our app. It is divided in two different parts: left side: The master pane which usually contains a list of values. right side: The detail pane which usaully contains […]

Continue reading
1 2 3 33