Esato

Forum > Sony Ericsson / Sony > Technical > WAP Development Questions...

12  Next
Author WAP Development Questions...
BobbyT
T68 grey
Joined: Oct 31, 2002
Posts: 37
From: Ventura, CA
PM, WWW
Posted: 2002-10-31 22:12
Reply with quoteEdit/Delete This PostPrint this post
First off, I'm new to the board (if you didn't figure that one out). At any rate I recently upgraded my cell phone to include Wireless Web. I do web design mainly as a hobby, and am interested in persuing the ability to create wap enabled pages.

I have a few questions regarding WAP and things relating to it. First off I'm guessing the answer to this question will be no... I know html sites will load to a degree on my cell phone. What I'm wondering is if there is a method to allow me to put both WAP and standard HTML in the same page. In this manner I will be able to use the existing structure of my web site and allow integration of the two.

Also I'm wondering if there are any tools out there that will let me see what my site will look like though WAP without using my phone. In this manner I can prevent myself from using more bandwidth than I am alocated in testing it...


[ This Message was edited by: BobbyT on 2002-10-31 21:14 ]
Cytech
G900 Brown
Joined: Feb 19, 2002
Posts: > 500
From: Stockholm, Sweden
PM
Posted: 2002-10-31 22:21
Reply with quoteEdit/Delete This PostPrint this post
since WAP pages uses WML and ordinary webpages uses HTML you can'tix these two... unless you separate them with for example ASP or PHP code...

On http://www.gelon.net/ you can check WAP pages....

http://www.m3gate.com/ has a plugin so you can view WAP pages in your ordinary webbrowser..

Nokia has a built in viewer in their Nokia Mobile Internet Toolkit...
http://www.forum.nokia.com/ (under "Browsing/WAP" )

[ This Message was edited by: Cytech on 2002-10-31 21:22 ]
BobbyT
T68 grey
Joined: Oct 31, 2002
Posts: 37
From: Ventura, CA
PM, WWW
Posted: 2002-10-31 22:26
Reply with quoteEdit/Delete This PostPrint this post
Was what I was looking for, thanks...
Supa_Fly
X1 Silver
Joined: Apr 16, 2002
Posts: > 500
From: Toronto, Ontario
PM, WWW
Posted: 2002-11-01 06:05
Reply with quoteEdit/Delete This PostPrint this post
Was wondering if i can do the same with XML and Schema, along with PHP? I gotta know. Thanks

This post was posted from a T39

arnoldc
Sony Xperia V
Joined: Dec 14, 2001
Posts: > 500
From: Philippines
PM, WWW
Posted: 2002-11-01 06:38
Reply with quoteEdit/Delete This PostPrint this post
if you guys will use WAP 2.0 which is based on XHTML, then you can cater to both WAP browsers and normal www browsers. The only problem is when older (pre-2.0) WAP devices connect such as Nokia phones.

Another alternative is to use Microsoft ASP .NET with Mobile Internet Toolkit that allows development on single code base and will adapt depending on the client visiting the site.

To see both XTML and ASP .NET in action, see www10.brinkster.com/azcruz
Supa_Fly
X1 Silver
Joined: Apr 16, 2002
Posts: > 500
From: Toronto, Ontario
PM, WWW
Posted: 2002-11-01 06:50
Reply with quoteEdit/Delete This PostPrint this post
As always ArnoldC, i value ur opinion. Thanks. But i plan on using a Unix machine, and looking for an XML solution to support WML 1.2/2.0? What apps should i use?

This post was posted from a T39

wapchimp
C905 Silver
Joined: Jun 09, 2002
Posts: > 500
From: Land of the chimps
PM, WWW
Posted: 2002-11-02 03:23
Reply with quoteEdit/Delete This PostPrint this post
I'm glad someone started this post as I was just about to - I need help aswell - Ive got a wap site - http://tagtag.com/wapchimp - this doesn't support colour images - Ive also get a web site http://www.wapchimp.pwp.blueyonder.co.uk - which is written in xhtml - but I can't connect to it via wap - is this a server problem?? - via www is fine - maybe it's because it's free web space & doesn't support wml/wap connections???

_________________
can u help arnold c - it would be much appreciated - can u check my source code etc as u seem to have the know-how - thanx

[ This Message was edited by: orangeman on 2002-11-02 02:26 ]
BobbyT
T68 grey
Joined: Oct 31, 2002
Posts: 37
From: Ventura, CA
PM, WWW
Posted: 2002-11-02 07:41
Reply with quoteEdit/Delete This PostPrint this post
I recently noticed something. PHP was mentioned. As it stands, I use Perl CGI fairly heavely in my web site. I'm now guessing this answer is yes. Can I determine that a wml broswer is being used & re-direct based on that? I may actually answer this question myself shortly, but I thought I'd post it just the same...
BobbyT
T68 grey
Joined: Oct 31, 2002
Posts: 37
From: Ventura, CA
PM, WWW
Posted: 2002-11-02 07:48
Reply with quoteEdit/Delete This PostPrint this post
K, I found it. I was checking my agent log file for the browser type & got:

EricssonT68/R101 UP.Link/5.1.1.4

Unfortunatly this is phone specific, but it's a start...
airevolt
K800 Black
Joined: Oct 19, 2002
Posts: 212
From: Philippines
PM
Posted: 2002-11-02 08:02
Reply with quoteEdit/Delete This PostPrint this post
:-):-(:-Dis the wap pREVIEW SITE IN COLOR?

This post was posted from a T68i

Supa_Fly
X1 Silver
Joined: Apr 16, 2002
Posts: > 500
From: Toronto, Ontario
PM, WWW
Posted: 2002-11-02 08:07
Reply with quoteEdit/Delete This PostPrint this post
Ooops?!

Say BobbyT, do you have any experience using PHP along with APACHE and XML? Or does anyone else?? Im trying to find out if I can serve a website that'll allow SyncML (based on XML) for WAP and synchronization on a Apple OS X (Jaguar) terminal. ANy help would be appreciated thanks.
BobbyT
T68 grey
Joined: Oct 31, 2002
Posts: 37
From: Ventura, CA
PM, WWW
Posted: 2002-11-02 08:40
Reply with quoteEdit/Delete This PostPrint this post
I have very minimal experience with XML. I am learning Microsoft .NET which I know at some point will include it. I use mac OS X on my own computer but I do not have the apache web server activated, so I have no experience with much of anything though it. My web site is hosted by another company, I just upload it, all the server configuration is done on their end....
BobbyT
T68 grey
Joined: Oct 31, 2002
Posts: 37
From: Ventura, CA
PM, WWW
Posted: 2002-11-02 08:46
Reply with quoteEdit/Delete This PostPrint this post
Woohoo! I found it...

#!/usr/bin/perl
$temp = $ENV{'HTTP_ACCEPT'};
print "Content-type: text/html\n\n";
print "result: ";
if( $temp =~ s/ /wap/g ) {
print "yes";
}
end;

I found the env variable $ENV{'HTTP_ACCEPT'} includes several strings, some of which include "wap". In a normal broswer this is not the case (I find in my version of IE I end up with just "*/*" and nothing else). This will allow me to direct a wap device differently than a normal web browser!!!
Supa_Fly
X1 Silver
Joined: Apr 16, 2002
Posts: > 500
From: Toronto, Ontario
PM, WWW
Posted: 2002-11-02 09:51
Reply with quoteEdit/Delete This PostPrint this post
Amazing! Thanks BobbyT. Even though i dont know Perl, the fact that you found it on a Mac OS X gives me hope.

This post was posted from a T39

arnoldc
Sony Xperia V
Joined: Dec 14, 2001
Posts: > 500
From: Philippines
PM, WWW
Posted: 2002-11-02 09:58
Reply with quoteEdit/Delete This PostPrint this post
@orangeman, i have PM for you.

for those using Unix as the platform, XHTML is still the easiest way, or WAP 1.x is you so desired. Just make sure the necessary MIME types are enabled. But for dynamic pages, PHP it is.
Access the forum with a mobile phone via esato.mobi