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

MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 

Recently uploaded (20)

MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 

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(); }