Wireless Telephony Application Interface (WTAI) 璐熻矗瀹氫箟姝ら」瀹炵幇錛?瀹為檯涓婏紝鏃╂湡鐨刯2me 瀹炵幇綾諱技鍔熻兘錛屾嵁璇翠篃鏄皟鐢╳ap嫻忚鍣ㄦ潵闂存帴鍋氬埌鐨勩?br />
WTAI URI鍩烘湰鏍煎紡濡備笅
wtai://<library>/<function> (; <parameter>)* [! <result>]
< > Denotes an enumerated operator
[ ] Denotes an optional section
|聽 Denotes a pair of mutually exclusive options
( )*聽 Repeat none or multiple items
*( )聽 Repeat one or multiple items
library聽 Name that identifies type of library, WTA Public uses library 鈥渨p鈥?br />function聽 Function within a library, for example 鈥渕c鈥?for function 鈥渕ake call鈥?in 鈥渨p鈥?library
parameter Zero or more parameters sent to a function, should be delimited by a semicolon 鈥?鈥?br />result聽 Start of result is denoted by 鈥?鈥? optional
WTAI 浠g爜紺轟緥
1. 瀹炵幇click - to- dial 鍔熻兘
mc: make call
<a href="wtai://wp/mc;5551212">Call 5551212</a>
鍙﹀鍦ㄤ竴浜涘悓鏃舵敮鎸亀ml鍜寈html mp鐨勬墜鏈猴紝姣斿nokia 緋誨垪錛?涔熷彲浠ヤ互闈炴爣鍑哤TAI URI鐨勬柟寮忚皟鐢紝姣斿
<a href="tel:+468123456">Call</a>
2.聽 Add-to-Phonebook聽
WMLScript: WTAPhoneBook.write("2", "5554367", "EINSTEIN");
3. Add-to-Speed Dial
<a href="wtai://wp/ap;5551212;My Company鈥?gt;5551212</a>
4. voice call
wtai://vc/sc; 5554367;1
5. Accept Call
鍙互鎺ユ敹涓涓猚all 鍏ョ數璇濓紝榪欎釜榪樹笉鐭ラ亾鎬庝箞鐜╋紝姣旇緝鏈夋剰鎬濄?濡傛灉鑳藉拰鍚庡彴璇煶緋葷粺鏁村悎
6. read text
鍙互璇誨叆涓涓綉緇滄枃鏈紝騫朵笖淇濆瓨鍒版墜鏈恒?瓚呯駭鐭俊錛熻繖涓仛騫垮憡鐨勬椂鍊欎細姣旇緝瀹炵敤銆?br />
WTAI鏄竴涓瘮杈冭佺殑瑙勮寖錛?榪樹笉鏀寔鐭俊璋冪敤銆?br />鏌ヤ簡涓涓嬶紝鍦?xhtml mp涓彲浠ョ敤濡備笅鏍煎紡 鍙戦佺煭淇°?br />
<a href="sms:+3581234567">Send SMS to us </a>
ps:瀹為檯嫻嬭瘯鍙戠幇錛?sms鍙湁nokia鏀寔錛?phonebook錛岄櫎浜唍okia錛屽緢澶氭墜鏈洪兘鍙敮鎸佸姞鐢佃瘽錛屼細涓㈠け鑱旂郴浜轟俊鎭?br />

]]>