Basic #AndroidApp Demo in #Kotlin

Published By Maria Desilva, 6 Sep 2017

Basic #AndroidApp Demo in #Kotlin

As google’s Io 2k17 KOTLIN is announced as official language for android development. Hence, it is a time to gear up with this new language.

So, today in this tutorial, I am going to show a simple android app demo in kotlin but before that let us first see the introduction of this Statically typed programming language.

JetBrains presented this projecte named as kotlin in july 2011, The first release that was in February 15 after an year when jetbrains unveiled this project came as kotlin v1.0.

Kotlin is a very similar language to swift, As soon as apple released swift programming language, Android developers were also willing to have some similar language.

Kotlin is developed by JetBrains, it is statically-typed language. Syntax of kotlin is more concise and more expressive than java. It provides vast features like Lambda expressions, higher order functions, string templates and more. One of the most important point both kotlin and java can be used in single project.

At the time of writing this blog android 3.0 is in canary channel yet there is time to come in stable.

Follow these simple steps to get started with kotlin

Requirements for creating kotlin project.

  • Android 3.0+

  • Android sdk

Now, let us see the most efficient and concise way to adopt kotlin in your code.

  • Create a new project from your android studio 3.o+ it will automatically show kotlin support as checked, In case it is not checked mark it as checked.

Lets Discover more about Getting Started with Kotlin for Android App Development - An Introduction and Basics