Azhar has Published 721 Articles

How to make a GridLayout fit screen size in Android?

Azhar

Azhar

Updated on 09-Jul-2020 12:07:43

1K+ Views

This example demonstrates how How to make a GridLayout fit screen 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 lay out Views in RelativeLayout programmatically in Android?

Azhar

Azhar

Updated on 09-Jul-2020 06:41:14

698 Views

This example demonstrates how to lay out Views in RelativeLayout 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 send a SMS using SMSmanager in Dual SIM mobile in Android?

Azhar

Azhar

Updated on 09-Jul-2020 06:18:59

946 Views

This example demonstrates how do I send 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 check if a bluetooth device is connected with Android device?

Azhar

Azhar

Updated on 08-Jul-2020 06:22:24

3K+ Views

This example demonstrates how do I check if a Bluetooth device is connected with 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 get free size of internal/external memory in Android App?

Azhar

Azhar

Updated on 08-Jul-2020 06:21:44

986 Views

This example demonstrates how do I get the free size of internal/external memory 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. ... Read More

How to convert a Base64 string into a Bitmap image in Android app?

Azhar

Azhar

Updated on 08-Jul-2020 06:21:12

3K+ 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 code to res/layout/activity_main.xml.         Step 3 − ... Read More

How to play background music in Android app?

Azhar

Azhar

Updated on 08-Jul-2020 06:20:41

6K+ Views

This example demonstrates how do I play background music 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 play videos in Android TextureView?

Azhar

Azhar

Updated on 08-Jul-2020 06:06:21

1K+ Views

This example demonstrates how do I play videos in Android TextureView.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 − Create ... Read More

How to check available space on Android Device?

Azhar

Azhar

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

237 Views

This example demonstrates how do I check available space on 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.     Step ... Read More

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

Advertisements