Azhar has Published 721 Articles

How do I get the dialer to open with the phone number displayed in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:18:16

594 Views

This example demonstrates how to get the dialer to open with the phone number displayed 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 do I programmatically add buttons into layout one by one in several lines using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:11:49

480 Views

This example demonstrates how to programmatically add buttons into layout one by one in several lines 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.Example ... Read More

How to run an Android service always in the background using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:06:26

3K+ Views

This example demonstrates how to run an Android service always 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.Example ... Read More

How to clear an ImageView in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:01:57

404 Views

This example demonstrates how to clear an ImageView 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.Example Step 3 − ... Read More

How to change the position of the Dialog on screen Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 12:58:28

639 Views

This example demonstrates how to change the position of the Dialog on screen 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.Example Step 3 ... Read More

How To Make a Circle Custom Progress Bar in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 12:55:55

277 Views

This example demonstrates how To Make a Circle 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.ExampleStep 3 − Add ... Read More

How to draw text On image in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 12:52:27

990 Views

This example demonstrates how to draw text On image 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.Example Step 3 ... Read More

How to get and store device ID in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 12:47:00

4K+ Views

This example demonstrates how to get and store device ID 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.Example Step ... Read More

How to update listview after insert values in Android sqlite using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 12:44:14

518 Views

This example demonstrates how to update listview after insert values in Android sqlite 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.Example ... Read More

How to prevent a dialog from closing when a button is clicked using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 12:37:51

278 Views

This example demonstrates how to prevent a dialog from closing when a button is clicked 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.Example ... Read More

Advertisements