Azhar has Published 721 Articles

How to call a method after a delay?

Azhar

Azhar

Updated on 03-Jul-2020 11:25:53

800 Views

This example demonstrates how do I call method after a delay 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 jump to the home screen of the app using a button in android?

Azhar

Azhar

Updated on 03-Jul-2020 11:25:19

876 Views

This example demonstrates how do I jump to the home screen of the app using a button 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 ... Read More

How to play YouTube video in my Android Application?

Azhar

Azhar

Updated on 03-Jul-2020 10:15:17

2K+ Views

This example demonstrates how do I play Youtube video 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 following the dependancies in the build.gradle (Module:app)implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'com.android.support:cardview-v7:28.0.0'Step 3 ... Read More

How to create TextToSpeech in an android app?

Azhar

Azhar

Updated on 03-Jul-2020 10:14:44

107 Views

This example demonstrates how do I create TextToSpeech 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 to switch between different activities in android?

Azhar

Azhar

Updated on 03-Jul-2020 10:14:05

4K+ Views

This example demonstrates how do I switch between different activities 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 send data back to the main Activity in android?

Azhar

Azhar

Updated on 03-Jul-2020 10:12:13

764 Views

This example demonstrates how do I send data back to the main activity 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 change a textView Style at runtime in android?

Azhar

Azhar

Updated on 03-Jul-2020 10:11:17

740 Views

This example demonstrates how do I change a textView style in runtime 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 determine the size of an android view at run time?

Azhar

Azhar

Updated on 03-Jul-2020 09:06:06

139 Views

This example demonstrates how do I determine the size of an android view at run time.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 rotate an Image in ImageView by an angle on Android?

Azhar

Azhar

Updated on 03-Jul-2020 09:05:03

1K+ Views

This example demonstrates how do I rotate an image in ImageView by an angle 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

What permission do I need to access Internet from an Android application?

Azhar

Azhar

Updated on 03-Jul-2020 09:04:06

545 Views

This example demonstrates how do I open google from android app using Internet permission.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

Advertisements