The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Mobile Programming
> Mobile Programming
|
wtai
Discuss wtai in the Mobile Programming forum on Dev Shed. wtai Mobile Programming forum discussing development for mobile technologies from basic mark-up languages
such as WML and XHTML MP to server generated code and applications. Widsets, SMS, gateway and server
set up are also covered here.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

March 26th, 2002, 01:17 AM
|
|
Junior Member
|
|
Join Date: Feb 2002
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
wtai
does siemens me45 support wtai?

|

March 26th, 2002, 03:40 AM
|
 |
Contributing User
|
|
Join Date: Oct 2001
Location: New Zealand
|
|
|
The M35 does so I'm guessing the M45 does too.
|

March 26th, 2002, 09:25 PM
|
|
Junior Member
|
|
Join Date: Feb 2002
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
the script
i've tried this script but it didn't work
could you tell me what's wrong with this script?
script 1 :
<?php
header("Content-type: text/vnd.wap.wml") ;
echo "<?xml version='1.0'?>" ;
?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card>
<do type="options" label="Call">
<go href="wtai://wp/mc;+62248313816"/>
</do>
<p>
Please call me !
</p>
</card>
</wml>
script 2 :
<?
header("Content-type: text/vnd.wap.wml");
echo("<?xml version=\"1.0\"?>\n");
echo("<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n\n");
?>
<wml>
<template>
<do type="prev" label="Back">
<prev/>
</do>
</template>
<card id="card" title="Profil">
<p>
<b>Telp</b> : <a href="wtai://wp/mc;+62248313816">+62248313816</a><br/>
<b>Telp</b> : <a href="wtai://wp/ap;+62248313816">+62248313816 >>> to phone book</a><br/>
</p>
</card>
</wml>
|

March 27th, 2002, 03:41 AM
|
 |
Contributing User
|
|
Join Date: Oct 2001
Location: New Zealand
|
|
|
There doesn't seem to be anything wrong with the script, I don't know if the php headers are doing something wrong, as I founf they interfered with XML output on our server here (so they may interfere with WML output).
If it all shows correctly, then possibly the phone doesn't support WTAI.
|

April 7th, 2002, 04:13 PM
|
|
Junior Member
|
|
Join Date: Apr 2002
Location: Chicago, IL
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
<a href="wtai://wp/mc;+18471234567">1(847)123-4567</a><br/>
My clients will never be outside of the (847) area code. Within the wtai, do I need the +1.
Now that I think of it, I do - we have 11 digit dialing now.
Nevermind.....
|

April 11th, 2002, 09:44 AM
|
 |
Contributing User
|
|
Join Date: Feb 2000
Location: Alton,Hampshire,UK
Posts: 40
Time spent in forums: < 1 sec
Reputation Power: 14
|
|
|
Re: the script
Quote: Originally posted by inijoey
i've tried this script but it didn't work
could you tell me what's wrong with this script?
script 1 :
<?php
header("Content-type: text/vnd.wap.wml") ;
echo "<?xml version='1.0'?>" ;
?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card>
<do type="options" label="Call">
<go href="wtai://wp/mc;+62248313816"/>
</do>
<p>
Please call me !
</p>
</card>
</wml>
|
Try this for a header instead..
Code:
<?php
header("Content-type: text/vnd.wap.wml");
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
. " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
echo "\n\n";
?>
and here's my WTAI..
Code:
<anchor>Call Me
<go href="wtai://wp/mc;07786XXXXXX"/>
</anchor>
<br/>
I don't think you're allowed to use the +countrycode but I could well be wrong. I found that WTAI worked on my Trium Geo and Ericsson T39M, but not at all on my Nokia 7110..
|

April 11th, 2002, 01:03 PM
|
|
Junior Member
|
|
Join Date: Apr 2002
Location: Chicago, IL
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Re: Re: the script
Quote: Originally posted by peterg
I don't think you're allowed to use the +countrycode but I could well be wrong. I found that WTAI worked on my Trium Geo and Ericsson T39M, but not at all on my Nokia 7110.. [/B] |
Here in Chicago we have 11 digit dialing, even to call the person next door. I know I need 1 (area code) 7 digit number, but do I need the + ?
|

April 12th, 2002, 03:33 AM
|
 |
Contributing User
|
|
Join Date: Feb 2000
Location: Alton,Hampshire,UK
Posts: 40
Time spent in forums: < 1 sec
Reputation Power: 14
|
|
Hmmm,
I admitted defeat and RTFM'd
I found a reference to WTAI here, which has lots of examples on how to handle WTAI, but interestingly none of the examples show dialling using a '+' sign...
But it does mention phone number formats a lot, so I proceeded to look at the format guide.
..where it does mention it, but I'm still non the wiser. My theory is that once again, different manufacturers have implemented bits of the WAP spec at different levels..
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|