Azhar has Published 721 Articles

How to implement Android button Sheet widget?

Azhar

Azhar

Updated on 02-Jul-2020 07:31:34

296 Views

This example demonstrates how do I implement android button sheet widget.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 count number of characters in EditText while typing in android?

Azhar

Azhar

Updated on 02-Jul-2020 07:29:27

2K+ Views

This example demonstrates how do I count number of characters in editText while typing 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 simulate touch event with android at a given position?

Azhar

Azhar

Updated on 02-Jul-2020 07:28:41

2K+ Views

This example demonstrates how do I simulate touch even with android at a given position.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 use calendar widget using the calendarView class in Android App?

Azhar

Azhar

Updated on 02-Jul-2020 07:27:33

1K+ Views

This example demonstrates how do I use calendar widget using the calendarView class 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 use SharedPrefernces in Android?

Azhar

Azhar

Updated on 02-Jul-2020 07:26:41

40 Views

This example demonstrates how do I use shared preferences 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

Progress Dialog in Android?

Azhar

Azhar

Updated on 02-Jul-2020 07:24:23

543 Views

This example demonstrates how do I progress dialog 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 the following ... Read More

How to stop AsyncTask thread in android?

Azhar

Azhar

Updated on 02-Jul-2020 07:23:38

338 Views

This example demonstrates how do I stop AsynchTask thread 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

Web scrapping in Android application

Azhar

Azhar

Updated on 02-Jul-2020 07:23:00

4K+ Views

This example demonstrates how do I do web scrapping in android application.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 – Open build.gradle(Mobule:app) and add the following dependencyimplementation 'org.jsoup:jsoup:1.11.2'Step 3 − Add ... Read More

How to use JSONobject to parse JSON in Android?

Azhar

Azhar

Updated on 02-Jul-2020 07:22:27

365 Views

This example demonstrates how do I use JSONObject to parse JSON 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 use XMLPullParser to parse XML in Android?

Azhar

Azhar

Updated on 02-Jul-2020 07:21:53

672 Views

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

Advertisements