Azhar has Published 721 Articles

How to listen for a WebView finishing loading a URL in Android?

Azhar

Azhar

Updated on 26-Nov-2019 07:41:34

3K+ Views

This example demonstrates how do I listen for a webview finishing loading a URL 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 quit application programmatically?

Azhar

Azhar

Updated on 26-Nov-2019 07:36:08

3K+ Views

This example demonstrates how do I quit application programmatically 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 display animated gif images in Android?

Azhar

Azhar

Updated on 26-Nov-2019 07:33:23

3K+ Views

This example demonstrates how do I display animated gif images 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.Add the following dependency in build.gradle: Module: appimplementation 'com.github.bumptech.glide:glide:4.9.0'Step 2 − Add the following ... Read More

How to create a multilevel ListView in an Android app?

Azhar

Azhar

Updated on 26-Nov-2019 07:30:45

451 Views

This example demonstrates how do I create a multilevel 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.     Step 3 ... Read More

How to create animation using XML file in an Android App?

Azhar

Azhar

Updated on 26-Nov-2019 07:21:17

1K+ Views

This example demonstrates how do I create an animation using XML 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.   ... Read More

How can I encode a URL in Android?

Azhar

Azhar

Updated on 26-Nov-2019 07:14:11

984 Views

This example demonstrates how do I can encode a URL 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 use Android Picasso Library to download images?

Azhar

Azhar

Updated on 26-Nov-2019 07:10:11

231 Views

This example demonstrates how do I use the Android Picasso library to download images.Step 1 − Create a new project in Android Studio, go to File ⇒New Project and fill all required details to create a new project.Add the following dependency to the build gradle (Module: app)implementation 'com.squareup.picasso:picasso:2.4.0'Step 2 − ... Read More

How does one use Glide to download an image into a bitmap?

Azhar

Azhar

Updated on 26-Nov-2019 07:06:23

1K+ Views

This example demonstrates how do I does one Glide to download an image into a bitmap.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new projectAdd the following dependency in build.gradle: Module: appimplementation 'com.github.bumptech.glide:glide:4.9.0'Step 2 ... Read More

How to use Location API in Android to track your current location?

Azhar

Azhar

Updated on 26-Nov-2019 07:02:22

385 Views

This example demonstrates how do I use Location API in android to track your current location.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Add the following dependency in the build.gradle (Module:app) −implementation 'com.google.android.gms:play-services-maps:17.0.0'Step ... Read More

How to use NavigationView in Android?

Azhar

Azhar

Updated on 26-Nov-2019 06:57:42

2K+ Views

This example demonstrates how do I Use NavigationView 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