Professional Documents
Culture Documents
applications
Web Service
JSON
XML (RSS feed)
Web Service
1 Android http://rss.cnn.com/rss/edition.rss Perform an HTTP SAX, DOM XML Array, List TextViews, ListView
GET operation to Parser
retrieve the RSS
data
2 iPhone http://rss.cnn.com/rss/edition.rss Perform an HTTP NSXMLParser Array, List Table View, UIView,
GET operation to ,libxml2 SAX ImageView
retrieve the RSS
data
3 Blackberry http://rss.cnn.com/rss/edition.rss Perform an HTTP SAX, DOM XML Array, Vector ListField
GET operation to Parser
4 Windows Phone7 http://rss.cnn.com/rss/edition.rss retrieve
Perform the RSS
an HTTP DOM Parser Vector Panoramic View Control
GET operation to
Challenges Faced – Minimal data
exchange between mobile &
internet
Internet Data in mobile connection (GPRS)
environment is very slow.
The application cannot retrieve the data using mobile
internet(GPRS) fast as internet connectivity.
So the application should be talking to quick and
minimal data
Mobile Applications quickly get the data from the feed
and process it for display.
Challenges Faced – Minimal data
exchange between mobile &
internet
Mobile Application in Offline mode.
When user tries to connect Mobile application which
suppose to connect to internet should have interface
to show case the cached information available in the
device
Caching of data will help user to navigate minimum
level of information and when internet is available the
rest of the information will be shown.
XML VS JSON Data Bytes
Percentag
UnCompressed Compressed e saved by
No URL Functionality Format
(Bytes) (Bytes) compressi
on(%)
Category Listing :
1 http://rss.cnn.com/rss/edition.rss To list all categories XML 476 383 20
2 http://rss.cnn.com/rss/edition.rss JSON 397 247 38
Videos from Category :
1 http://rss.cnn.com/rss/edition.rss To list the videos from the particluar XML 4222 1205 71
2 http://rss.cnn.com/rss/edition.rss category JSON 3078 930 70
Video Feed Page :
1 http://rss.cnn.com/rss/edition.rss To show the particular video XML 1089 772 29
2 http://rss.cnn.com/rss/edition.rss JSON 511 486 5
Keyword Search :
1 http://rss.cnn.com/rss/edition.rss To list out all videos as per the keyword XML 4275 1276 70
2 http://rss.cnn.com/rss/edition.rss JSON 3131 1045 67
Special Search :
1 http://rss.cnn.com/rss/edition.rss To list out all videos as per its rating XML 4158 1216 71
2 http://rss.cnn.com/rss/edition.rss JSON 3052 958 69