Show Posts in

Kotlin Conditionals – if Statement and if Expression

We’re talking about Kotlin conditionals in this post. If statement and if Expression. Why do we need conditional constructs in a programming language? To make decisions based on conditions. We execute a set of code if a condition is true. Or another set of code if it’s false. …

Kotlin – Variables and Values

We’ll see Kotlin variables and values in this post and how to write programs using the basic types. In any language, variables are named memory locations used to store values. The RAM in our computer consists of a lot of memory cells. Each cell has an address. As …

Kotlin – Hello World Program – First Program

In this post, we’ll write our first Kotlin program. It’s very simple and straightforward. It simply displays the text “Hello World!” on screen. We will be using IntelliJ IDEA. If you haven’t installed and setup IntelliJ, go to this post on how to set up the Kotlin development …

Kotlin – Setting up the environment

This post will deal with setting up the environment for Kotlin development. We can use many IDEs like IntelliJ and Eclipse, or plain text editors to do Kotlin programming. We recommend using IntelliJ IDEA, as it is feature rich and really powerful. We’ll be using it in our …

Kotlin – What? , Why?

If you’re into Android development, chances are high that you’ve already heard of the programming language named Kotlin. For those who haven’t heard of Kotlin, it is a high-level, general-purpose programming language developed by JetBrains. JetBrains is the company that makes IDEs (Integrated Development Environments are software packages …

First Java Program

We’re gonna write, compile and execute our first Java program. It’s a simple ‘hello world’ program. The longstanding tradition in the programming world is that the first program in any programming language you learn is to print the text ‘hello world’ on the screen. We’re gonna stick to …

Introduction to Java Programming

Java is one of the most widely used programming languages. It is used in a wide variety of applications from AI to Android development.  It is object-oriented. Read my post about object-oriented programming to get a clear idea of what is object-oriented programming. So, let’s dive in. (Check …

Android Activity Lifecycle

In this post, we will look at the Android activity lifecycle and various event handlers associated with each stage changes. If you don’t know what an Activity in Android is, go to Android application components first. We know how an application behaves in desktop platforms like Windows, Linux or Mac. After starting …

What on earth is Object Oriented Programming?

If you are in some way related to the field of computer science, it’s highly unlikely that you haven’t heard of the phrase ‘object oriented programming’. For the beginners, it’s a hard-to-perceive concept. At least, for me, it was. So what on earth is this object oriented programming? Let’s take …

Android Application Components

In this article, we will try to make an overview of the Android Application Components. That is the various elements by which an Android Application is built. (I assume you have read the article about Android architecture to get an overview of the platform architecture of Android OS) There are mainly …