Azhar has Published 721 Articles

How to handle right-to-left and left-to-right swipe gestures on Android using Kotlin?

Azhar

Azhar

Updated on 28-Nov-2020 12:45:04

824 Views

This example demonstrates how to handle right-to-left and left-to-right swipe gestures on 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 an Android application is running in the background using Kotlin?

Azhar

Azhar

Updated on 28-Nov-2020 12:39:57

1K+ Views

This example demonstrates how to check if an Android application is running in the background 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 start a new activity by clicking a button on Android using Kotlin?

Azhar

Azhar

Updated on 28-Nov-2020 12:30:51

2K+ Views

This example demonstrates how to start new activity on click button on 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

Android bundle to pass data between activities using Kotlin.

Azhar

Azhar

Updated on 28-Nov-2020 12:26:45

3K+ Views

This example demonstrates how to pass data between activities 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

Custom Progress Bar in Android using Kotlin.

Azhar

Azhar

Updated on 28-Nov-2020 12:14:10

1K+ Views

This example demonstrates how to create a custom Progress Bar 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 make an Android Spinner with initial default text using Kotlin?

Azhar

Azhar

Updated on 28-Nov-2020 12:11:03

696 Views

This example demonstrates how to make an Android Spinner with initial default text 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 use AlarmManager in Android?

Azhar

Azhar

Updated on 28-Nov-2020 12:03:38

1K+ Views

This example demonstrates how do I use AlarmManager in android.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 do I send an object from one Android Activity to another using Intents in Kotlin?

Azhar

Azhar

Updated on 28-Nov-2020 11:58:05

445 Views

This example demonstrates how to send an object from one Android Activity to another using Intents 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 ... Read More

How to check internet connection availability and the network type on Android using Kotlin?

Azhar

Azhar

Updated on 28-Nov-2020 11:49:26

822 Views

This example demonstrates how to check internet connection availability and the network type on 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 do I load an ImageView by URL on Android using kotlin?

Azhar

Azhar

Updated on 28-Nov-2020 11:43:48

3K+ Views

This example demonstrates how to load an ImageView by URL on 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

Previous 1 ... 4 5 6 7 8 ... 73 Next
Advertisements