Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

RE: FN-FORUM wap emulators anyone? - LONGish

date posted 27th June 2002 12:08

Hi,

I started working with WAP before the formation of the WAP Forum with a
company called Spyglass (some of you may recall them, have a look at help
about in IE if you dont). The first device on the market was the Nokia 7110
which was extremely bug ridden and had lots of quirks in its implementation.
Designing applications to fit into under 1300 bytes of encoded data was
difficult. Compounded with the fact that there is a gateway between your
code and the final device that could also introduce its own problems
development was interesting to say the least. Having said that I was
luckily responsible for a site that was intended as a demonstration site but
in the end was rated top WAP application by one French site. If I can help
anyone out with WAP I would be more than happy to do so.

As a brief introduction:

Wap Forum (Wireless Application Protocol) is the equivelant of the W3C in
some ways and WAP itself is a collection of protocols optimised for wireless
networks in a parallel way to normal web sites. Some key protocols are

wml - html the markup language
wbml - Byte encoded version of the wml, sometimes reffered to as compiled
wtp - http the server communications
wsp - javascript

In a very simplistic overview WAP devices or clients normally talk WTP to a
wap gateway. The gateway will talk http to a normal web server and request
the files from the server. The output should be in WML format and the
gateway will convert the WML into a byte encoded format and send it to the
phone.

It is possible for the originating site ie web server to send out content
already encoded as WBXML and the gateway should transfer this transparently
to the client.

If you look at Nokia emulators you will see that they have two versions of
the 7110 to choose from. Even if you get your application to work in the
emulator though there is no promise it will work in the real phone.

Nowadays there are hundreds of different phones on the market with a wide
variety of screen sizes, user input mechanisms and range from small phones
to larger PDA. The top end is probably Opera Browser which implements WML
support natively.

The long shot of it is that if you are designing anything for a WAP device
the more traditional problems associated with Netscape/IE compatibility fall
away in comparison as they at least degrade without complaining too much.
If your WML decks are not validatable your device will not show them and may
even hang requiring battery removal in some cases. You need to make sure
your site works in all the major emulators first of all and on at least a
Nokia, Ericsson and Open Wave based device.

Now to the original question posed on how to get an application to run in an
emulator.

Certain HTTP headers are required to be set on the server to set the mime
types for the output content to either WML or WBML. If you use PHP or ASP
then this should not be a problem as they can be added in the code. If you
use a static site then the server needs to be configured to automaticaly
send the correct headers to match the file extension. Most current versions
of Apache already have these set I believe.

From my experience few emulators register themselves as the default renderer
for WML pages. So it is almost impossible to get a link on a web page to
cause a PC to automaticaly load an emulator and go directly to the
particular page on the link. [My experience with current emulators is about
4 months out of date so things may have changed]

So you are left with a situation of using Java emulators if you require some
form of demonstration capability. However to go back to the begining of
this little epic, it is most important that the site operates on real phones
correctly rather than being a nice little demo, after all if all that is
required is to run this in a web browser why not use Flash or HTML ?

Hope this has been of use to some of you,

If my over simplification of things confuses people or upsets them please
accept my appologies in advance.

Regards,

Carl Taylor
Tel: 01489 557 545
Fax: 01489 576 502
http://www.adepteo.com





Messages by Day
June 30th 2002
June 29th 2002
June 28th 2002
June 27th 2002
June 26th 2002
June 25th 2002
June 24th 2002
June 23rd 2002
June 22nd 2002
June 21st 2002
June 20th 2002
June 19th 2002
June 18th 2002
June 17th 2002
June 16th 2002
June 15th 2002
June 14th 2002
June 13th 2002
June 12th 2002
June 11th 2002
June 10th 2002
June 9th 2002
June 8th 2002
June 7th 2002
June 6th 2002
June 5th 2002
June 4th 2002
June 3rd 2002
June 2nd 2002
June 1st 2002


Messages by Month
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002


Messages by Year
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000