Azhar has Published 721 Articles

How to use BroadcastReceiver in Android?

Azhar

Azhar

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

338 Views

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

How to start an android application at boot time?

Azhar

Azhar

Updated on 03-Jul-2020 09:00:11

3K+ Views

This example demonstrates how do I start an android application at boot 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.     Step ... Read More

How to Start an service at boot time in android app?

Azhar

Azhar

Updated on 03-Jul-2020 08:52:08

3K+ Views

This example demonstrates how 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 – Create a new ... Read More

How to use ScrollBar in Android?

Azhar

Azhar

Updated on 03-Jul-2020 08:51:27

4K+ Views

This example demonstrates how do I use ScrollView 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 get a bitmap from Url in Android app?

Azhar

Azhar

Updated on 03-Jul-2020 08:50:38

3K+ Views

This example demonstrates how do I get a bitmap from Url 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 get the Action bar height in android?

Azhar

Azhar

Updated on 03-Jul-2020 08:44:49

1K+ Views

This example demonstrates how do I get the action bar height 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 pass a variable from Activity to Fragment in Android?

Azhar

Azhar

Updated on 03-Jul-2020 08:42:40

3K+ Views

This example demonstrates how do I pass a variable from activity to Fragment 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 write files to asset folder in android?

Azhar

Azhar

Updated on 03-Jul-2020 08:41:35

3K+ Views

This example demonstrates how do I write files to asset folder 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 get fling gesture detection working in an android app?

Azhar

Azhar

Updated on 03-Jul-2020 08:40:51

645 Views

This example demonstrates how do I get fling gesture detection working 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 send an object one Android activity to another using Intents?

Azhar

Azhar

Updated on 03-Jul-2020 08:40:13

187 Views

This example demonstrates how do I send an object from one android activity to another using intents.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