Skip to content

Kotlin Android app

Kotlin is an alternative to Java which is preferred for Android development because of its simpler syntax and convenient features.

Kotlin code is supported in Android Studio. To get the example running, clone the GitHub repository into your AndroidStudioProjects folder. The repo includes the Gradle build configurations which contain some non-standard elements.

The current version of the app allows you to

  • Scan for nearby devices

Further features will be added in the future.

This example is intended as a starting point for your own apps. To achieve your own objectives, you will need to do further background reading. As well as the general resources listed in the introduction, th following links may be useful.

Develop Android apps with Kotlin

Kotlin Coroutines

Kotlin Android Extensions: Say goodbye to findViewById

Migrate from Kotlin synthetics to Jetpack view binding

Kotlin Beautiful Low Energy