Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsMobile ProgrammingMobile Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 26th, 2002, 01:17 AM
inijoey inijoey is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 4 inijoey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
wtai

does siemens me45 support wtai?

Reply With Quote
  #2  
Old March 26th, 2002, 03:40 AM
binky's Avatar
binky binky is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: New Zealand
Posts: 1,774 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 58 m 15 sec
Reputation Power: 23
The M35 does so I'm guessing the M45 does too.
__________________
Smartfone Warehouse

Reply With Quote
  #3  
Old March 26th, 2002, 09:25 PM
inijoey inijoey is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 4 inijoey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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>

Reply With Quote
  #4  
Old March 27th, 2002, 03:41 AM
binky's Avatar
binky binky is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: New Zealand
Posts: 1,774 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 58 m 15 sec
Reputation Power: 23
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.

Reply With Quote
  #5  
Old April 7th, 2002, 04:13 PM
topls64 topls64 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Chicago, IL
Posts: 5 topls64 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.....

Reply With Quote
  #6  
Old April 11th, 2002, 09:44 AM
peterg's Avatar
peterg peterg is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Alton,Hampshire,UK
Posts: 40 peterg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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..

Reply With Quote
  #7  
Old April 11th, 2002, 01:03 PM
topls64 topls64 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Chicago, IL
Posts: 5 topls64 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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 + ?

Reply With Quote
  #8  
Old April 12th, 2002, 03:33 AM
peterg's Avatar
peterg peterg is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Alton,Hampshire,UK
Posts: 40 peterg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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..

Reply With Quote
Reply

Viewing: Dev Shed ForumsMobile ProgrammingMobile Programming > wtai

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap