Azhar has Published 721 Articles

How to centre align action bar title in android?

Azhar

Azhar

Updated on 21-Aug-2019 08:34:07

3K+ Views

This example demonstrates how do I centre align action bar title 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 create a custom alert dialogs in an android app?

Azhar

Azhar

Updated on 21-Aug-2019 08:32:31

144 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 to change app language when user selects language in Android?

Azhar

Azhar

Updated on 21-Aug-2019 08:30:37

941 Views

This example demonstrates how do I change app language when user selects language.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 checkbox in Android?

Azhar

Azhar

Updated on 21-Aug-2019 08:28:54

249 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 to use ButterKnife In Android?

Azhar

Azhar

Updated on 21-Aug-2019 08:27:41

811 Views

This example demonstrates how do I ButterKnife 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 use drag and drop in Android?

Azhar

Azhar

Updated on 21-Aug-2019 08:24:11

432 Views

This example demonstrates how do I use drag and drop 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 convert java bitmap to byte array In android?

Azhar

Azhar

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

4K+ Views

This example demonstrates how do I convert java bitmap to byte array 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

Communication between Activity and Service in Android?

Azhar

Azhar

Updated on 21-Aug-2019 07:57:55

2K+ Views

This example demonstrates how do I communicate between Activity and Service 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 ping external IP from java Android?

Azhar

Azhar

Updated on 21-Aug-2019 07:50:28

2K+ Views

This example demonstrates how do I ping external IP from java 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 check the amount of RAM to be used by an Android App?

Azhar

Azhar

Updated on 21-Aug-2019 07:48:28

569 Views

This example demonstrates how do I check the amount of RAM to be used by 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 ... Read More

Advertisements