Azhar has Published 451 Articles

How to add jar as library on Android Studio?

Azhar

Azhar

Updated on 26-Nov-2019 08:05:08

2K+ Views

This example demonstrates how to add jar as a library on Android Studio.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 jar file to Project/app/libs/Step 3 − Add ... Read More

How to send Email on Android using JavaMail API?

Azhar

Azhar

Updated on 26-Nov-2019 07:57:24

3K+ Views

This example demonstrates how to send Email on Android using JavaMail API.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 disable copy/paste from/to EditText in Android App?

Azhar

Azhar

Updated on 26-Nov-2019 07:49:25

1K+ Views

This example demonstrates how do I disable copy/paste from/to editText 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 out if the GPS of an Android device is enabled or not?

Azhar

Azhar

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

393 Views

This example demonstrates how do I find out if the GPS of an Android device is enabled or not.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 ... Read More

How to quit application programmatically?

Azhar

Azhar

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

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

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

673 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 can I encode a URL in Android?

Azhar

Azhar

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

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

397 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

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

Advertisements