Azhar has Published 721 Articles

How do I connect to a Wi-Fi network on Android programmatically using Kotlin?

Azhar

Azhar

Updated on 30-Nov-2020 03:41:30

2K+ Views

This example demonstrates how to connect to a Wi-Fi network on Android 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 parse JSON Objects on Android using Kotlin?

Azhar

Azhar

Updated on 28-Nov-2020 12:53:28

3K+ Views

This example demonstrates how to parse JSON Objects 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.     Step 3 ... Read More

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

1K+ 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

2K+ 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

3K+ 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

2K+ 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

1K+ 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

564 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

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