Azhar has Published 721 Articles

How to parse HTML in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 13:06:23

2K+ Views

This example demonstrates how to parse HTML 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 ... Read More

How to create a Custom Ratingbar in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 13:02:28

772 Views

This example demonstrates how to create a Custom Ratingbar 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 detect application heap size in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 13:01:40

179 Views

This example demonstrates how to detect application heap size 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 open a Facebook page from an Android app using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 12:59:00

470 Views

This example demonstrates how to open a Facebook page from an Android app 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 do I restart an Android Activity using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 12:58:17

2K+ Views

This example demonstrates how to restart an Android Activity 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 detect orientation change in layout in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 12:57:33

871 Views

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 − Add the following code to src/MainActivity.ktimport android.content.res.Configuration import ... Read More

How to disable the back button in android while logging out the application using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 12:56:44

850 Views

This example demonstrates how to disable the back button in android while logging out the application 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

Android imageView Zoom-in and Zoom-Out using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 12:55:50

2K+ Views

This example demonstrates how to implement Android imageView zoom-in and Zoom out 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 convert an image into base64 String in Android using Kotlin?

Azhar

Azhar

Updated on 05-Nov-2020 10:21:45

3K+ Views

This example demonstrates how to convert an image into a Base64 string 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 use Alarm Manager in Android?

Azhar

Azhar

Updated on 29-Sep-2020 12:10:48

190 Views

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

Advertisements