Azhar has Published 721 Articles

How to convert an image into base64 String in Android using Kotlin?

Azhar

Azhar

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

4K+ 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

281 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

How to create pagination text in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:35:49

343 Views

This example demonstrates how to create pagination text 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 implement a long click listener on an Android listview using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:30:38

1K+ Views

This example demonstrates how to implement a long click listener on an Android listview 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 projectStep 2 − Add the following code to res/layout/activity_main.xml. ... Read More

How to make a GridLayout fit screen size in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:28:43

629 Views

This example demonstrates how to make a GridLayout fit screen size in Android using Kotlin.Step 1 − Create a new project in a new projectStep 2 − Add the following code to res/layout/activity_main.xml.                                 ... Read More

How do we set the input type for an Android EditText programmatically using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:25:31

1K+ Views

This example demonstrates how to set the input type for an Android EditText programmatically 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 bring an activity to the foreground i.e. top of stack using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:23:32

584 Views

This example demonstrates how to bring an activity to the foreground i.e. top of stack 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 projectStep 2 − Add the following code to res/layout/activity_main.xml. ... Read More

How to use search functionality in custom listview in Android using kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:20:54

752 Views

This example demonstrates how to use search functionality in custom listview 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 send HTML email using Android App using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:18:23

876 Views

This example demonstrates how to send HTML email using 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 can we get the current language selected in the Android device using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 12:15:10

1K+ Views

This example demonstrates how to get the current language selected in the 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

Advertisements