Android Development

Kotlin AsyncTask Tutorial with Example

asynctask kotlin example

Here is an example of implementing AsyncTask in Kotlin. I will create an Android application project in order to implement AsyncTask class. AsyncTask class allows us to perform some tasks in the background without blocking the main thread. AsyncTask is used for short background operations. It also allows us to …

Read More »

Android XML Parser Example using XMLPullParser

android xml parser

Parsing XML in Android is pretty simple and easy by using XMLPullParser. There are different types of parsers are available in Android such as Dom, SAS and XMLPullParser. XMLPullParser is the most efficient, easy and the recommended method. In this Android XML Parser example, We will create a small Android application project to demonstrate …

Read More »

Kotlin Android Tutorial – Age Calculator App

kotlin android tutorial

If you have the Android Studio version below 3.0, you need to download the Android Studio 3.0 from below link. Android Studio 3.0 has the built-in support for Kotlin. I m using Preview version at this time. It will be available as stable version soon. Download Android Studio 3.0 (Preview …

Read More »

Android Splash Screen Example

android splash screen example

A splash screen is the first screen that appears when the user opens the application. There are different ways to create the android splash screen. We will create a sample android application to implement the splash screen in two different scenarios. What will you learn? Android Splash Screen Example App …

Read More »

Installing Kotlin in Android Studio

install kotlin android studo

Kotlin is a modern language. It provides all the features of a modern language to Android developers. Kotlin is easy to learn and understand. The codes written in Kotlin is clean and simple. New developers will prefer learning Kotlin instead of Java for Android application development, on the other hand, …

Read More »

Close Android App Programmatically

close android app programmatically

In this tutorial, I m going to demonstrate how to close android app programmatically with help of a small android application project. You will come across different methods of closing android application programmatically but I m going discuss only those who work for me. How To Close Android or Exit …

Read More »

Android HttpURLConnection Example

android httpurlconnection post get

Connecting Android application to a remote server is the most common task in the android application development. Android HttpURLConnection client is the preferred method to connect to a remote server through HTTP. All the network calls use the HTTP to send and receive data. Android HttpURLConnection client supports TLS, streaming uploads …

Read More »

ADB Over Wifi – Android Debug Bridge on TCP

adb over wifi wireless debugging

How can I connect Android device with ADB over Wifi? is the most asked question by new developers. Connecting Android device with ADB over TCP is a straight forward process.In this post, I m going to demonstrate each step involved in connecting ADB via TCP. Android Debug Bridge is the …

Read More »

How To Detect Gestures in Android

gestures in android

There are different types of touch events in Android. These touch events make the different type of gestures.Touch gestures occur when user place one or two fingers on the screen. The application collects the data of touch events and then relate it to a particular gesture. We will create a …

Read More »

Install or Update Android App Programmatically

Update Android App Programmatically

To Install or Update android app programmatically is very simple and easy to implement. Android application can be updated without going through Google Play Store. We can download the apk file from the server and install it programmatically. An apk file will be downloaded by using HttpURLConnection class within AsyncTask. …

Read More »