Azhar has Published 721 Articles

How to automatically start and stop an Async task in Kotlin?

Azhar

Azhar

Updated on 23-May-2020 11:37:22

337 Views

This example demonstrates how to automatically start and stop an Async task in 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.Example     ... Read More

How to stop asynctask thread in Kotlin?

Azhar

Azhar

Updated on 23-May-2020 11:27:11

763 Views

This example demonstrates how to stop an asynctask thread in 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.Example           ... Read More

How to make an Android SlidingDrawer slide out from the left in Kotlin?

Azhar

Azhar

Updated on 23-May-2020 11:15:34

156 Views

ample demonstrates how to make an Android SlidingDrawer slide out from the left in 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.Example   ... Read More

How to get a list of installed Android applications in Kotlin?

Azhar

Azhar

Updated on 23-May-2020 11:08:59

2K+ Views

This example demonstrates how to get a list of installed Android applications in 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.Example     ... Read More

How to make an ImageView with rounded corners on Android App using Kotlin?

Azhar

Azhar

Updated on 23-May-2020 11:04:20

1K+ Views

This example demonstrates how to make an ImageView with rounded corners on 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.Example ... Read More

How to enable or disable the GPS programmatically on Kotlin?

Azhar

Azhar

Updated on 23-May-2020 10:59:06

2K+ Views

This example demonstrates how to enable or disable the GPS programmatically on 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 &minsu; Add the following code to res/layout/activity_main.xml.Example       ... Read More

How do I load an Image by URL using Picasso Library on Kotlin?

Azhar

Azhar

Updated on 23-May-2020 10:50:48

2K+ Views

This example demonstrates how to create a WebView 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.Example     ... Read More

How to create a listView with a checkBox in Kotlin?

Azhar

Azhar

Updated on 23-May-2020 10:44:43

1K+ Views

This example demonstrates how to Create a listView with a checkBox in 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.Example Step 3 ... Read More

How to create a WebView in an Android App using Kotlin?

Azhar

Azhar

Updated on 23-May-2020 10:43:11

2K+ Views

This example demonstrates how to create a WebView 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.Example         Step 3 − Add the following code to ... Read More

How to set the Android wallpaper image programmatically in Kotlin

Azhar

Azhar

Updated on 23-May-2020 09:58:11

2K+ Views

This example demonstrates how to set the Android wallpaper image programmatically in 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.Example Step 3 − Add the following code to src/MainActivity.ktExampleimport android.graphics.Bitmap ... Read More

Advertisements