SlideShare a Scribd company logo
1 of 16
Presentation by,
Suveeksha Jain
Wireless Content Types
 Creation of wireless Internet applications involves many types of
contents.
 Markup languages
 Images
 Multimedia
 Phone based applications concerned with markup languages and
basic images.
 Higher end devices such as windows CE or Symbian OS will have the
options of multimedia content and Microsoft word business files.
Markup Languages
• HDML: Handheld Device Markup Languages
• Advantage
 Suitable for use on cellular phones
 Quotes are not required around the attribute
• Limitation
 Lack of scripting capabilities
 Restricted for executing logic locally on the device
 Device specific tasks using HDML have to be driven from the server
rather than client. This increase network traffic, hence reducing
performance.
HDML: decks and cards
1. <HDML VERSION=”3.0”>
2. <CHOICE>
3. <CENTER><b>Inventory Search</b>
4. <CE TASK=”GO” DEST=”#ProductSearch”>Search by Name
5. <CE TASK=”GO” DEST=”#SKUSearch”>Search by SKU
6. <CE TASK=”GOSUB” DEST=inventorylist.jsp>Inventory List
7. </CHOICE>
8. <ENTRY NAME=”ProductSearch” KEY=”ProductName”>
9. <ACTION TYPE=”ACCEPT” TASK=”GO”
DEST=”ProductSearch.jsp?Product=$ProductName”>
10. Enter Product Name:
11. </ENTRY>
12. <ENTRY NAME=”SKUSearch” KEY=”SKU”>
13. <ACTION TYPE=”ACCEPT” TASK=”GO” DEST=”SKUSearch.jsp?SKU=$SKU”>
14. Enter SKU:
15. </ENTRY>
16.</HDML>
Fig 1: HDML Emulator output
Wireless Markup Language : WML
 Wireless markup language is based on XML derived from xhtml, is a
markup language intended for WAP devices such as mobile phones.
 It provides navigational support, data input, hyperlinks, text and image
presentation, and forms, much like HTML
 The role of WML in mobile Internet applications is the same as that of
HTML in web applications. WAP sites are written in WML, while web
sites are written in HTML.WAP sites can also be opened in pc just we
have to install plugins for our browser.
 WML files have the extension “.wml”.
 Many companies develop application in XHTML and use conversion
tools to transcode into markup language.
 Difference between HDML and WML
 All WML elements must be closed making syntax stricter.
 WML elements must be properly nested.
 WML documents must be well-formed.
 WML tag names must be lowercase.
 Attribute value must be quoted.
Difference between WML and HTML
WML HTML
Makes use of variables Does not use variables
WML script stored in a separate file Javascript is embedded in the same
HTML file
Images stored as WBMP Images are stored as GIF, JPEG or
PNG
WBMP is a 2 bit image Size of the images are much larger in
HTML
Case sensitive Not case sensitive
WML has fewer tags than HTML HTML has more tags than WML
A set of 'WML Cards' make a 'DECK' A set of 'HTML pages' make a 'SITE'
WML Advantages
 Very easy to use and understand.
 Transmission of WML documents requires less bandwidth than
HTML documents because WML documents are simpler and WML is
compressed before it is sent to the WAP device.
 Compared to HTML documents, displaying WML documents requires
less processing power and memory.
 WML provides support for limited graphics.
WML Limitation
 Like HTML, WML does specify how the content is to be displayed.
Thus micro browsers on different WAP devices display the WML
content differently.
 WAP devices such as WAP phones will not accept large decks.
 There are many variations between WAP phones, for example Screen
sizes, keypads, and soft keys can be different .This variation is similar to
the variation found with Web browsers and their platforms .The
problem is harder in case of WML because there are many more WAP
devices than Web browsers and their platforms.
WML elements
<!-->
<wml>
<onevent>
<p>
<card>
<go>
purpose
Defines a WML comment
Defines a WML deck (WML
root)
Defines an onevent event
handler
Defines a paragraph
Defines a card in a deck
Represents the action of
switching to a new card
WML decks and cards
 A WAP site is composed of WML files.
 Each WML file is also called as deck.
 Each deck is made up of cards.
 Only one card is displayed at time.
 First card is displayed first by default
 Each card contains content that you want to display on the screen.
• <?xml version="1.0"?><!DOCTYPE wml PUBLIC "-
//WAPFORUM//DTD WML
1.2//EN""http://www.wapforum.org/DTD/wml12.dt>
• <wml>
• <card id="one" title="First Card">
• <p>This is the first card in the deck </p></card>
• <card id="two" title="Second Card">
• <p>This is the second card in the deck</p>
• </card>
• </wml>
When we press right button then second card will be visible as follows
WMLScript
 It provides more advanced capabilities to WML
applications just as JavaScript.
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN"
"http://www.wapforum.org/DTD/wml13.dtd">
<wml>
<card id="card1" title="WMLScript Tutorial">
<p>
<ahref="helloWorldEg1.wmls#helloWorld()">RunWMLScript</a><br/>
$(message)
</p>
</card>
</wml>
extern function helloWorld()
{
WMLBrowser.setVar("message", "Hello World. Welcome to our
WMLScript tutorial.");
WMLBrowser.refresh();
}

More Related Content

Similar to Wireless Content Types: Markup Languages, Images and Multimedia

Similar to Wireless Content Types: Markup Languages, Images and Multimedia (20)

Lecture16
Lecture16Lecture16
Lecture16
 
Mobile Business
Mobile BusinessMobile Business
Mobile Business
 
Wap
WapWap
Wap
 
Wireless Application Protocol
Wireless Application ProtocolWireless Application Protocol
Wireless Application Protocol
 
Wireless Markup Language,wml,mobile computing
Wireless Markup Language,wml,mobile computingWireless Markup Language,wml,mobile computing
Wireless Markup Language,wml,mobile computing
 
Banking system-رويال كلاس للبحوث الأكاديمية
Banking system-رويال كلاس للبحوث الأكاديمية Banking system-رويال كلاس للبحوث الأكاديمية
Banking system-رويال كلاس للبحوث الأكاديمية
 
Wap wml
Wap wmlWap wml
Wap wml
 
Wap architecture and wml script
Wap architecture and wml scriptWap architecture and wml script
Wap architecture and wml script
 
transcoding.ppt
transcoding.ppttranscoding.ppt
transcoding.ppt
 
WAP Technology
WAP TechnologyWAP Technology
WAP Technology
 
Mwml
MwmlMwml
Mwml
 
Session 8
Session 8Session 8
Session 8
 
Survey of WML
Survey of  WMLSurvey of  WML
Survey of WML
 
Qnx html5 hmi
Qnx html5 hmiQnx html5 hmi
Qnx html5 hmi
 
mst_unit1.pptx
mst_unit1.pptxmst_unit1.pptx
mst_unit1.pptx
 
What is WAP?
What is WAP?What is WAP?
What is WAP?
 
Wap
WapWap
Wap
 
Wireless Application Protocol ppt
Wireless Application Protocol pptWireless Application Protocol ppt
Wireless Application Protocol ppt
 
HTML 5 - A developers perspective
HTML 5 - A developers perspectiveHTML 5 - A developers perspective
HTML 5 - A developers perspective
 
Dive into HTML5
Dive into HTML5Dive into HTML5
Dive into HTML5
 

Recently uploaded

chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 

Recently uploaded (20)

chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 

Wireless Content Types: Markup Languages, Images and Multimedia

  • 2. Wireless Content Types  Creation of wireless Internet applications involves many types of contents.  Markup languages  Images  Multimedia  Phone based applications concerned with markup languages and basic images.  Higher end devices such as windows CE or Symbian OS will have the options of multimedia content and Microsoft word business files.
  • 3. Markup Languages • HDML: Handheld Device Markup Languages • Advantage  Suitable for use on cellular phones  Quotes are not required around the attribute • Limitation  Lack of scripting capabilities  Restricted for executing logic locally on the device  Device specific tasks using HDML have to be driven from the server rather than client. This increase network traffic, hence reducing performance.
  • 4. HDML: decks and cards 1. <HDML VERSION=”3.0”> 2. <CHOICE> 3. <CENTER><b>Inventory Search</b> 4. <CE TASK=”GO” DEST=”#ProductSearch”>Search by Name 5. <CE TASK=”GO” DEST=”#SKUSearch”>Search by SKU 6. <CE TASK=”GOSUB” DEST=inventorylist.jsp>Inventory List 7. </CHOICE> 8. <ENTRY NAME=”ProductSearch” KEY=”ProductName”> 9. <ACTION TYPE=”ACCEPT” TASK=”GO” DEST=”ProductSearch.jsp?Product=$ProductName”> 10. Enter Product Name: 11. </ENTRY> 12. <ENTRY NAME=”SKUSearch” KEY=”SKU”> 13. <ACTION TYPE=”ACCEPT” TASK=”GO” DEST=”SKUSearch.jsp?SKU=$SKU”> 14. Enter SKU: 15. </ENTRY> 16.</HDML>
  • 5. Fig 1: HDML Emulator output
  • 6. Wireless Markup Language : WML  Wireless markup language is based on XML derived from xhtml, is a markup language intended for WAP devices such as mobile phones.  It provides navigational support, data input, hyperlinks, text and image presentation, and forms, much like HTML  The role of WML in mobile Internet applications is the same as that of HTML in web applications. WAP sites are written in WML, while web sites are written in HTML.WAP sites can also be opened in pc just we have to install plugins for our browser.  WML files have the extension “.wml”.
  • 7.  Many companies develop application in XHTML and use conversion tools to transcode into markup language.  Difference between HDML and WML  All WML elements must be closed making syntax stricter.  WML elements must be properly nested.  WML documents must be well-formed.  WML tag names must be lowercase.  Attribute value must be quoted.
  • 8. Difference between WML and HTML WML HTML Makes use of variables Does not use variables WML script stored in a separate file Javascript is embedded in the same HTML file Images stored as WBMP Images are stored as GIF, JPEG or PNG WBMP is a 2 bit image Size of the images are much larger in HTML Case sensitive Not case sensitive WML has fewer tags than HTML HTML has more tags than WML A set of 'WML Cards' make a 'DECK' A set of 'HTML pages' make a 'SITE'
  • 9. WML Advantages  Very easy to use and understand.  Transmission of WML documents requires less bandwidth than HTML documents because WML documents are simpler and WML is compressed before it is sent to the WAP device.  Compared to HTML documents, displaying WML documents requires less processing power and memory.  WML provides support for limited graphics.
  • 10. WML Limitation  Like HTML, WML does specify how the content is to be displayed. Thus micro browsers on different WAP devices display the WML content differently.  WAP devices such as WAP phones will not accept large decks.  There are many variations between WAP phones, for example Screen sizes, keypads, and soft keys can be different .This variation is similar to the variation found with Web browsers and their platforms .The problem is harder in case of WML because there are many more WAP devices than Web browsers and their platforms.
  • 11. WML elements <!--> <wml> <onevent> <p> <card> <go> purpose Defines a WML comment Defines a WML deck (WML root) Defines an onevent event handler Defines a paragraph Defines a card in a deck Represents the action of switching to a new card
  • 12. WML decks and cards  A WAP site is composed of WML files.  Each WML file is also called as deck.  Each deck is made up of cards.  Only one card is displayed at time.  First card is displayed first by default  Each card contains content that you want to display on the screen.
  • 13. • <?xml version="1.0"?><!DOCTYPE wml PUBLIC "- //WAPFORUM//DTD WML 1.2//EN""http://www.wapforum.org/DTD/wml12.dt> • <wml> • <card id="one" title="First Card"> • <p>This is the first card in the deck </p></card> • <card id="two" title="Second Card"> • <p>This is the second card in the deck</p> • </card> • </wml>
  • 14. When we press right button then second card will be visible as follows
  • 15. WMLScript  It provides more advanced capabilities to WML applications just as JavaScript. <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd"> <wml> <card id="card1" title="WMLScript Tutorial"> <p> <ahref="helloWorldEg1.wmls#helloWorld()">RunWMLScript</a><br/> $(message) </p> </card> </wml>
  • 16. extern function helloWorld() { WMLBrowser.setVar("message", "Hello World. Welcome to our WMLScript tutorial."); WMLBrowser.refresh(); }