Azhar has Published 721 Articles

How to change font Family of textView In Android?

Azhar

Azhar

Updated on 02-Aug-2019 08:55:34

2K+ Views

This example demonstrates how do I change the font family of textView 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.        

How to click camera programmatically in android?

Azhar

Azhar

Updated on 02-Aug-2019 08:50:38

629 Views

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

How to send an email with a file attachment in Android?

Azhar

Azhar

Updated on 02-Aug-2019 08:35:59

3K+ Views

This example demonstrates how do I send an email with a file attachment 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 make a specific text on TextView bold in Android?

Azhar

Azhar

Updated on 02-Aug-2019 08:24:31

4K+ Views

This example demonstrates how do I make a specific text on TextView bold 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 can I generate random number in a given range in Android?

Azhar

Azhar

Updated on 02-Aug-2019 08:19:13

903 Views

This example demonstrates how do I generate random number in a given range on 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 ArrayAdapter in android to create simple ListView?

Azhar

Azhar

Updated on 02-Aug-2019 08:13:25

513 Views

This example demonstrates how do I detect user pressing home key in an activity on 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 user pressing Home Key in an Activity on Android?

Azhar

Azhar

Updated on 02-Aug-2019 08:08:34

317 Views

This example demonstrates how do I detect user pressing home key in an activity on 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 close all activities at once in android?

Azhar

Azhar

Updated on 02-Aug-2019 08:03:06

2K+ Views

This example demonstrates how do I close all activities at once 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 pick an image from image gallery in Android?

Azhar

Azhar

Updated on 02-Aug-2019 07:56:39

4K+ Views

This example demonstrates how do I pick an image from image gallery in android appStep 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 a scrollable textView Android app?

Azhar

Azhar

Updated on 02-Aug-2019 07:48:11

2K+ Views

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

Advertisements