Azhar has Published 721 Articles

How to dynamically update a ListView on Android Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 08:45:12

998 Views

This example demonstrates how to dynamically update a ListView on Android 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 a bluetooth device is connected with an Android device using Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 08:42:36

1K+ Views

This example demonstrates how to check if a Bluetooth device is connected with an Android device..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 display a list view in an Android Alert Dialog in Kotlin?

Azhar

Azhar

Updated on 21-Apr-2020 08:39:29

832 Views

This example demonstrates how to display a list view in an Android Alert Dialog.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 Service using Alarmmanager in Kotlin Android?

Azhar

Azhar

Updated on 21-Apr-2020 08:35:44

633 Views

This example demonstrates how to start Service using Alarmmanager in Kotlin 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 to pass an image from one activity to another activity in Kotlin?

Azhar

Azhar

Updated on 20-Apr-2020 13:44:10

2K+ Views

This example demonstrates how to pass an image from one activity to another activity 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

Shared Preferences - Save, edit, retrieve, delete in Kotlin?

Azhar

Azhar

Updated on 20-Apr-2020 13:41:50

497 Views

This example demonstrates how Save, edit, retrieve, delete shared preference data 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.       ... Read More

How to draw a smooth line following my finger using Kotlin?

Azhar

Azhar

Updated on 20-Apr-2020 13:37:42

234 Views

This example demonstrates how to draw a smooth line following my finger using Android 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 can I use marquee text in Kotlin?

Azhar

Azhar

Updated on 20-Apr-2020 13:36:03

889 Views

This example demonstrates how to use marquee text in an Android Kotlin App.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 ... Read More

Send data from one Fragment to another using Kotlin?

Azhar

Azhar

Updated on 20-Apr-2020 13:27:44

5K+ Views

This example demonstrates how to send data from one Fragment to another 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 use a simple SQLite database in Kotlin android?

Azhar

Azhar

Updated on 20-Apr-2020 13:24:24

4K+ Views

This example demonstrates how to use a simple SQLite database in Kotlin 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.                                    

Advertisements