Azhar has Published 721 Articles

How to show current progress while downloading a file on Android App using Kotlin?

Azhar

Azhar

Updated on 28-Nov-2020 08:27:57

559 Views

This example demonstrates how to show current progress while downloading a file 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. ... Read More

How to crop a circular area from bitmap in Android using Kotlin?

Azhar

Azhar

Updated on 28-Nov-2020 08:21:49

742 Views

This example demonstrates how to crop a circular area from bitmap 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 create EditText accepts Alphabets only in Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 15:18:29

243 Views

This example demonstrates how to create EditText accepts Alphabets only 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 can I generate random numbers in a given range in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 15:17:52

499 Views

This example demonstrates how to generate random numbers in a given range in 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

How to add a TextView to a LinearLayout dynamically in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 15:16:21

2K+ Views

This example demonstrates how to add a TextView to a LinearLayout dynamically 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 can I get the current Android SDK version programmatically using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 15:13:13

1K+ Views

This example demonstrates how toStep 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 − Add the following code ... Read More

How to send a SMS using SMSmanager in Dual SIM mobile in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 15:10:41

1K+ Views

This example demonstrates how to send a SMS using SMSmanager in Dual SIM mobile 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 ... Read More

How to implement an endless list with RecyclerView in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 15:09:00

2K+ Views

This example demonstrates how to implement an endless list with RecyclerView 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 can I display Toast messages from a thread in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 15:06:09

456 Views

This example demonstrates how to display Toast messages from a thread 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 create Horizontal ListView in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 15:05:01

1K+ Views

This example demonstrates how to create Horizontal ListView 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.     Step 3 ... Read More

Previous 1 ... 6 7 8 9 10 ... 73 Next
Advertisements