Azhar has Published 721 Articles

How to check whether a headset is plugged into an Android device?

Azhar

Azhar

Updated on 07-Jul-2020 13:04:53

975 Views

This example demonstrates how do I check whether a headset is plugged into an 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 create directory programmatically in Android?

Azhar

Azhar

Updated on 07-Jul-2020 12:54:18

4K+ Views

This example demonstrates how to create directory programmatically in AndroidStep 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 ... Read More

How to make an application ignore screen orientation change in Android?

Azhar

Azhar

Updated on 07-Jul-2020 12:53:46

292 Views

This example demonstrates how to make an application ignore screen orientation change 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

The simplest way to get the user's current location on Android

Azhar

Azhar

Updated on 07-Jul-2020 12:53:11

2K+ Views

This example demonstrates how do I get the user’s current location on android in the simplest way.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 SpeechRecognizer API in Android App?

Azhar

Azhar

Updated on 07-Jul-2020 12:52:28

242 Views

This example demonstrates how do I SpeechRecognizer API 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 ... Read More

How to work with Picasso in Android

Azhar

Azhar

Updated on 07-Jul-2020 12:51:55

150 Views

This example demonstrates how to work with PicassoStep 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 work with Glide in Android

Azhar

Azhar

Updated on 07-Jul-2020 12:51:06

605 Views

This example demonstrates how to work with GlideStep 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 add table rows Dynamically in Android Layout?

Azhar

Azhar

Updated on 07-Jul-2020 12:50:22

7K+ Views

This example demonstrates how to add table rows Dynamically in Android Layout.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 an alert in Android to fire at given date and time?

Azhar

Azhar

Updated on 07-Jul-2020 12:48:44

799 Views

This example demonstrates how to do I an alert in Android to fire at a given date and time 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 ... Read More

Android GPS, Location Manager tutorial

Azhar

Azhar

Updated on 07-Jul-2020 12:47:44

2K+ Views

This example demonstrates how to access Android GPS, Location ManagerStep 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