WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP 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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 27th, 2004, 10:12 AM
gat gat is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: London, UK
Posts: 122 gat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 16 m 33 sec
Reputation Power: 5
WAP / WML Noobie (Few Questions)

Hi people.

I woud consider myself as a reasonably experienced web developer, however I am new to making WAP websites (today) and i need to learn more.

I have established that the coding used is WML and WML Script, and it is based on HTML, XML. I have followed the W3Schools tutorial and have gained a basic understanding, but the tutorial was quite basic. I only got to the stage where i was passing variables from page to page.

I need to create a basic WAP website to demonstrate to someone....So could anyone help me with the following questions.

1: Is there a standard Browser that I should DL for local testing? (I currently have WinWAP 3.1)

2: Is there a good, free image processing package that will allow me to save .wbmp files?

3: Lastly, does anyone know of a good tutorial to get me on the road to building a WAP site with a few decent features?

Thanks for any help.
Gareth.

Reply With Quote
  #2  
Old August 27th, 2004, 11:24 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
Quote:
Originally Posted by gat
1: Is there a standard Browser that I should DL for local testing? (I currently have WinWAP 3.1)

2: Is there a good, free image processing package that will allow me to save .wbmp files?

3: Lastly, does anyone know of a good tutorial to get me on the road to building a WAP site with a few decent features?
Hi there, welcome to the wonderful world or WAP!

1) I always view what I've built at www.wapsilon.com and then test on a Nokia 7250i, Sont Ericsson T610 and get someone else to test on a Samsung. Wapsilon will alert you to markup errors which is handy but there are also a handful of validators online which will help.

2) Checkout www.download.com as there will be something there. Most newer phones can support gif and jpgs though some are fussier than others. There are also a few image to wbmp conversion tools online which you can find with www.google.com

3) To get the best out of wap I'd suggest you tie it up with a back end scripting language like PHP then you can connect it to databases and do some wonderful stuff with it. Again www.google.com is the best friend you can have on the internet.

Hope this helps, good luck with your ventures!
__________________
Andy Moore << oh no it's got a blog.....
Word Press WAP Plugin with Ad Mob Advertising revenue
PHP developer
deploying ringtones, mp3 downloads and realtones
I'm a geek who's obsessed with stats and gadgets

Reply With Quote
  #3  
Old August 28th, 2004, 02:46 PM
tj_nt tj_nt is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2004
Posts: 1,594 tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 1 Day 9 h 39 m
Reputation Power: 616
use Irfanview for saving images to wbmp format...

it is the best program out there and it's free...!

http://www.irfanview.com/

similar to Unix/Linux's ImageMagick

Reply With Quote
  #4  
Old August 28th, 2004, 03:09 PM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
Quote:
Originally Posted by tj_nt
similar to Unix/Linux's ImageMagick
and GD Library

Reply With Quote
  #5  
Old August 30th, 2004, 10:46 AM
flyinghigh flyinghigh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 47 flyinghigh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 12 sec
Reputation Power: 4
> 1: Is there a standard Browser that I should DL for local testing? (I currently have WinWAP 3.1)

You can download some mobile phone simulators from the mobile phone manufacturer, which can be used for viewing WAP pages from your computer. I downloaded some simulators from Sony Ericcsson's website several months ago. I think those simulators should still be there.

Reply With Quote
  #6  
Old August 30th, 2004, 12:32 PM
gat gat is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: London, UK
Posts: 122 gat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 16 m 33 sec
Reputation Power: 5
Ok, thanks for the reply’s guys.
I got a book out “WML & WML Script for Beginner’s”

I found that apparently http://www.openwave.com/
was a big WAP oriented site, that also gave away browsers and development kits.

Unfortunately im am temporarily on 56k, so a 60MB file, I am too inpatient to DL. However I have now got a mobile simulator from openwave that is running my WAP sites ok.

I also realised that Fireworks can export files to WBMP, so im sorted there too.

So after looking at WML, all seems quite simple...decks, cards...easy. The WML Script I have briefly scanned over and all the programming principles seem familiar, so im sure its not too hard to get to grips with.

My question now is:
I know some phones these days can render proper HTML docs. (Or at least they look like normal web pages) Is this actually the internet, or is this a more complex WAP language. (MMS?)

Also, I am ok with PHP and I hear you can use PHP with WML. Now can you explain what andymoo meant by "tie it up with a back end scripting language like PHP" Does this mean the PHP script will produce the WML?

is there an example somewhere to help me understand this more.

Thanks, sorry if these questions seem stupid. WML is a few days old to me. Im very early stages of learning.

Cheers people.

Reply With Quote
  #7  
Old August 31st, 2004, 09:16 PM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
Quote:
Originally Posted by gat
I found that apparently http://www.openwave.com/
was a big WAP oriented site, that also gave away browsers and development kits.
OpenWave are BIG they produce browsers for the phones, well most of them from what I know.

Quote:
Originally Posted by gat
Unfortunately im am temporarily on 56k
Ouch. I don't envy you at all there, take away my broadband and I get grumpy. (Well even more grumpy than normal)

Quote:
Originally Posted by gat
I also realised that Fireworks can export files to WBMP, so im sorted there too.
Cool. Some phones take gif, jpg and png but if you're going into PHP with WAP you'll be able to use the PHP $HTTP_ACCEPT variable to find out on a user by user basis. When you tie that up with the $HTTP_USER_AGENT you can build a powerful database of what each phone does and doesn't do.

Quote:
Originally Posted by gat
So after looking at WML, all seems quite simple...decks, cards...easy. The WML Script I have briefly scanned over and all the programming principles seem familiar, so im sure its not too hard to get to grips with.
It seems like you have got off to a good start then, nice one! If you have the basics covered which it seems you have it shouldn't be rocket science for you to get WAP doing what you want it to.

Quote:
Originally Posted by gat
My question now is:
I know some phones these days can render proper HTML docs. (Or at least they look like normal web pages) Is this actually the internet, or is this a more complex WAP language. (MMS?)
It's just the phones ability to render HTML, MMS is multi media message sending where you can send text, pictures and sounds from one phone to another. Again the $HTTP_ACCEPT variable will tell you more, both on support of HTML and MMS which is a totally different story and still a bit silly as many networks are charging interconnects on them like they did on SMS in the old days.

Quote:
Originally Posted by gat
Also, I am ok with PHP and I hear you can use PHP with WML. Now can you explain what andymoo meant by "tie it up with a back end scripting language like PHP" Does this mean the PHP script will produce the WML?
Yes, a PHP script can produce WML, it just needs to set the headers so the phone can understand it okay. This is great as you can do almost anything with WAP once you marry the two together. Our site uses PHP to select from a database and show the ringtones we have, then we use loops and ifs etc so show the options for ordering and so on..... A quick example:
PHP Code:
<?php

$ip 
$_SERVER['REMOTE_ADDR'];

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 
"<wml> 
<card id=\"card1\" title=\"IP\"> 
<p>Your IP address is $ip</p>
</card> 
</wml>"
;

?>
Let us know how you get on!
Cheers

Reply With Quote
  #8  
Old September 10th, 2004, 03:30 PM
flyinghigh flyinghigh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 47 flyinghigh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 12 sec
Reputation Power: 4
You can use any server-side web language (eg ASP, JSP, PHP, Coldfusion, etc) you like, not necessarily php. Each language has its own pros and cons. Choose one that suits your situation.

Reply With Quote
  #9  
Old September 12th, 2004, 03:23 PM
flyinghigh flyinghigh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 47 flyinghigh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 12 sec
Reputation Power: 4
One more thing, do you know about the XHTML MP and WAP CSS? XHTML MP and WAP CSS are defined in the WAP 2.0 standard. WML is an older technology for the WAP 1.x standard. Newer mobile phone models should have support for the WAP 2.0. If you are targeting newer mobile phone models, you should use XHTML MP instead of WML.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > WAP / WML Noobie (Few Questions)


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway