Azhar has Published 721 Articles

How to get all checked items in a listView in Android?

Azhar

Azhar

Updated on 07-Jul-2020 13:45:41

1K+ Views

This example demonstrates how do I get all checked items in a listView 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.   ... Read More

How do I get the height and width of the Android Navigation Bar programmatically?

Azhar

Azhar

Updated on 07-Jul-2020 13:17:19

803 Views

This example demonstrates how do I get the height and width of the android navigation bar programmatically.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 set dialog to show with full screen in Android?

Azhar

Azhar

Updated on 07-Jul-2020 13:16:44

1K+ Views

This example demonstrates how do I set the dialog to show with full screen 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. ... Read More

How to clear an ImageView in Android?

Azhar

Azhar

Updated on 07-Jul-2020 13:16:01

1K+ Views

This example demonstrates how do I clear an imageview 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.

How to convert Image into base64 String in Android?

Azhar

Azhar

Updated on 07-Jul-2020 13:15:14

2K+ Views

This example demonstrates how to do I 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 − Add the following ... Read More

How to set the absolute position of a view in Android?

Azhar

Azhar

Updated on 07-Jul-2020 13:11:11

3K+ Views

This example demonstrates how do I set the absolute position of a view 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 ... Read More

How to use Font Awesome in Native Android Application?

Azhar

Azhar

Updated on 07-Jul-2020 13:10:32

395 Views

This example demonstrates how do I use FontAwesome in the native android applications.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

BareCode scanning in Android?

Azhar

Azhar

Updated on 07-Jul-2020 13:08:51

861 Views

This example demonstrates how do I use barcode scanning 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 ... Read More

How to bring an activity to foreground i.e. top of stack in Android?

Azhar

Azhar

Updated on 07-Jul-2020 13:08:06

2K+ Views

This example demonstrates how do I bring an activity to the foreground (top of stack) 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. ... Read More

How to run a method every 10 seconds in Android?

Azhar

Azhar

Updated on 07-Jul-2020 13:07:01

8K+ Views

This example demonstrates how do I run a method every 10 seconds 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 ... Read More

Advertisements