XML and JSON
Recording Media
MediaRecorder class can be used to record audio and video files. After recording the media, we can create a sound file that can be played…
VideoView : Video
By the help of MediaController and VideoView classes, we can play the video files in android. MediaController class The android.widget.MediaController is a view that contains…
Media Player : Audio
We can play and control the audio files in android by the help of MediaPlayer class. Here, we are going to see a simple example…
JSON Parser
JSON (Javascript Object Notation) is a programming language . It is minimal, textual, and a subset of JavaScript. It is an alternative to XML. Android…
XMLPullParser
Android recommends to use XMLPullParser to parse the xml file than SAX and DOM because it is fast. The org.xmlpull.v1.XmlPullParser interface provides the functionality to…
XML Parsing DOM
We can parse the xml document by dom parser also. It can be used to create and parse the xml file. Advantage of DOM Parser…
XML Parsing SAX
Android provides the facility to parse the xml file using SAX, DOM etc. parsers. The SAX parser cannot be used to create the XML file,…