Course Content

Course Content

Description

XML in Android

 

In this video we are going to see what is XML in Android and how it is used to create Web Service application.

XML stands for Extensible Mark-up Language. It is used to cover up HTML limitations. It doesn't mean that XML is replacement of HTML, but it just solves HTML problems.

HTML has more than 100 texts, and it shows output in browser. So HTML display depends on browser only.

As HTML has more than 100 texts, and it shows output in browser. So HTML display depends on browser only. While in XML it displays evenly in any format.

We use XML for maintenance of a website, for data loading and unloading, and also we can access it in any data format.

For parsing XML we are going to use XMLPullParser because it is efficient and easy to use, and is fast.

The next() method of XMLPullPARSER moves the cursor pointer to the next event. Generally we use four constants defined in the XMLPullPARSER interface.

START_TAG

TEXT

END_TAG

END_DOCUMENT

FAQs

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download The Apps

Code Scan or Download the app
Google Play Store
297K+ Downloads
4.5 Rating
10K+ Reviews
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere