Azhar has Published 721 Articles

How to create different graphs in Android App?

Azhar

Azhar

Updated on 08-Jul-2020 06:05:19

1K+ 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 dependency in the build.gradle (Module: app)implementation 'com.jjoe64:graphview:4.2.1'Step 3 − Add the ... Read More

How to resize an image in Android using Picasso?

Azhar

Azhar

Updated on 08-Jul-2020 06:04:50

603 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 − Open build.gradle (Module: app) and add the following dependency −implementation 'com.squareup.picasso:picasso:2.5.2'Step 3 − Add ... Read More

How to detect application heap size in android?

Azhar

Azhar

Updated on 08-Jul-2020 06:03:47

332 Views

This example demonstrates how do I detect application heap size 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 dynamically update a listView in Android?

Azhar

Azhar

Updated on 08-Jul-2020 06:03:18

4K+ Views

This example demonstrates how do I dynamically update 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 to add a shake feature that will refresh Android Application?

Azhar

Azhar

Updated on 08-Jul-2020 06:02:40

472 Views

This example demonstrates how do I add a shake feature that will refresh 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 detect orientation change in layout in android?

Azhar

Azhar

Updated on 08-Jul-2020 05:58:15

2K+ Views

This example demonstrates how do I detect orientation change in layout 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

Playing an Arbitrary tone with Android?

Azhar

Azhar

Updated on 08-Jul-2020 05:56:41

270 Views

This example demonstrates how do I playing an arbitrary tone with 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 detect scroll up and scroll down in android listView?

Azhar

Azhar

Updated on 08-Jul-2020 05:55:30

1K+ Views

This example demonstrates how do I detect scroll up and down in android listView.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 set the value for the attribute layout_weight for button in Android dynamically from java code?

Azhar

Azhar

Updated on 08-Jul-2020 05:50:42

1K+ Views

This example demonstrates how do I set the value for the attribute layout_weight for button in android dynamically from java code.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 ... Read More

How to create Horizontal ListView in Android?

Azhar

Azhar

Updated on 08-Jul-2020 05:38:50

1K+ Views

This example demonstrates how do I create Horizontal 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.Kindly add the below-given dependence in the Gradle −implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'com.android.support:cardview-v7:28.0.0'Step 2 − Add ... Read More

Advertisements