Azhar has Published 721 Articles

How to display a listView in an android alert dialog?

Azhar

Azhar

Updated on 02-Jul-2020 07:19:55

1K+ Views

This example demonstrates how do I display a listView in an android aler dialog.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 a gridView layout in an Android app?

Azhar

Azhar

Updated on 02-Jul-2020 07:19:21

496 Views

This example demonstrates how do I gridView layout in an android app.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 get the Value of a edittext field in Andriod?

Azhar

Azhar

Updated on 02-Jul-2020 07:18:42

249 Views

This example demonstrates how do I get the value of a editText filed 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 parse JSONArray in Android app?

Azhar

Azhar

Updated on 02-Jul-2020 07:18:02

133 Views

This example demonstrates how do I parse JSONArray in android app.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 hide soft KeyBoard on android after clicking outside edittext?

Azhar

Azhar

Updated on 02-Jul-2020 07:17:03

3K+ Views

This example demonstrates how do I hide soft keyboard on android after clicking outside edittext.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 add custom adapter for my listView on Android?

Azhar

Azhar

Updated on 02-Jul-2020 07:15:55

2K+ Views

This example demonstrates how do I add custom adapter for my 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 to find Serial number of Android device?

Azhar

Azhar

Updated on 02-Jul-2020 07:15:18

516 Views

This example demonstrates how do I find serial number of android device.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 draw text on Image in Android?

Azhar

Azhar

Updated on 02-Jul-2020 07:14:34

3K+ Views

This example demonstrates how do I draw text on imagein 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 run an Android service always in background?

Azhar

Azhar

Updated on 02-Jul-2020 07:13:55

7K+ Views

This example demonstrates how do I run an android service always in background.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 show soft Keyboard based on Android EditText is focused?

Azhar

Azhar

Updated on 02-Jul-2020 07:11:24

3K+ Views

This example demonstrates how do I show soft keyboard based on Android EditText is focused.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