Azhar has Published 721 Articles

How to develop a soft keyboard for Android using Kotlin?

Azhar

Azhar

Updated on 26-May-2020 07:58:33

735 Views

This example demonstrates how to develop a soft keyboard for 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 find the serial number of an Android device using Kotlin?

Azhar

Azhar

Updated on 26-May-2020 07:49:31

2K+ Views

This example demonstrates how to find the serial number of an Android device 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 hide a soft keyboard on android after clicking outside EditText using Kotlin?

Azhar

Azhar

Updated on 26-May-2020 07:41:36

2K+ Views

This example demonstrates how to hide a soft keyboard on android after clicking outside EditText 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 display count of notifications in the Android App launcher using Kotlin?

Azhar

Azhar

Updated on 26-May-2020 07:37:07

418 Views

This example demonstrates how to display count of notifications in the Android App launcher 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 call an activity method from a fragment in Android App using Kotlin.

Azhar

Azhar

Updated on 26-May-2020 07:32:36

4K+ Views

This example demonstrates how to call an activity method from a fragment 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 ... Read More

How to change spinner text size and text color in Android App using Kotlin?

Azhar

Azhar

Updated on 26-May-2020 07:26:36

6K+ Views

This example demonstrates how to change spinner text size and text color 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 determine the size of an Android view at runtime using Kotlin?

Azhar

Azhar

Updated on 26-May-2020 07:23:05

304 Views

This example demonstrates how to determine the size of an Android view at runtime 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 disable copy/paste from/to EditText in Android App using Kotlin?

Azhar

Azhar

Updated on 26-May-2020 07:19:26

2K+ Views

This example demonstrates how to disable copy/paste from/to EditText in the 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 add calendar events in Android App using Kotlin?

Azhar

Azhar

Updated on 26-May-2020 07:15:15

2K+ Views

This example demonstrates how to add calendar events 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 read a simple text file in an Android App using Kotlin?

Azhar

Azhar

Updated on 26-May-2020 07:05:25

1K+ Views

This example demonstrates how to read a simple text file 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

Advertisements