Azhar has Published 721 Articles

How can I validate EditText input in Android using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 07:14:29

1K+ Views

This example demonstrates how to validate EditText input in Android using Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.         ... Read More

How to check if Location Services are enabled in Android App using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 07:08:00

1K+ Views

This example demonstrates how to check if Location Services are enabled in Android App using Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. ... Read More

How to create circular ProgressBar in Android using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 07:02:52

2K+ Views

This example demonstrates how to create a circular ProgressBar in Android using Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.       ... Read More

How to detect click on HTML button through javascript in Android WebView using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 06:56:01

1K+ Views

This example demonstrates how to detect click on HTML buttons through javascript in Android WebView using Kotlin.This example demonstrates how to detect click on HTML buttons through javascript in Android WebView using Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill ... Read More

How to make a phone call using intent in Android using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 06:31:34

4K+ Views

This example demonstrates how to make a phone call using intent in Android using KotlinStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

How to turn Android device screen on and off programmatically using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 05:28:49

2K+ Views

This example demonstrates how to turn an Android device screen on and off programmatically using Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. ... Read More

How to resize Image in Android App using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 05:23:02

4K+ Views

This example demonstrates how to resize Image in an Android App using Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.       ... Read More

How to change a TextView's style at runtime in Android using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 05:17:49

3K+ Views

This example demonstrates how to change a TextView's style at runtime in Android using Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

How to send a notification from a service in Android using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 05:13:41

2K+ Views

This example demonstrates how to send a notification from a service in Android using Kotlin.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

How does one use glide to download an image into a bitmap using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 05:08:08

760 Views

This example demonstrates how to use glide to download an image into a bitmap using KotlinStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. ... Read More

Advertisements