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...

Indexed Table Views In Swift

Let’s start creating a new project in Xcode. We will start with Single View Application Template. In Xcode go File->New-Project in the menu and choose a Single View Application template.   Fill in Product Name. Then choose where your Xcode project will be stored. Now in ViewController.swift class change base class from UIViewController to UITableViewController. […]

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...

Creating Grouped Table Views In Swift

Let’s start creating new project in Xcode. We well start with Single View Application Template. In Xcode go File->New-Project in menu and choose Single View Application template. Fill in Product Name. Then choose where your Xcode project will be stored. Now in ViewController.swift class change base class from UIViewController to UITableViewController. In Main.storyboard remove existing […]

Read More...

Android Lollipop – JobScheduler API

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

Read More...

Activity And Fragments – How They Communicate

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

Read More...

Send Email On Button Click – Without Launching Email Chooser

Sending email in Android is always very easy. We just need to call the email intent and create email chooser and that is it. As soon as you run the app and try to send email you will be asked to select the email application by which you wish to send email such as yahoo, […]

Read More...