Author |
wap guru needed / prize contest |
exosyphen Joined: Feb 25, 2003 Posts: 117 From: Romania PM, WWW
|
Hi,
It seems that people like contests.
Here it goes.
I need some sourcecode, documentation, anything for this :
I connect with my cellphone to my WAP apn through GPRS.
I need a simple code to connect to a wapsite and retrieve the index.wml.
I want to make something similar to WinWap and I need a starting point.
I am working on my laptop, so C++ sourcecode would be fine.
The prize:
A cd with our latest game Digital Hazard (http://www.exosyphen.ro) - shipped to you.
Thank you.
www.mobileground.com - All the downloads for your phone! |
|
mwright Joined: Jun 21, 2003 Posts: > 500 From: UK PM |
We need more information before we can comment on this.
It looks like you are after a WAP browser? Is that right?
Are you after code to run on a PC or on the phone?
I presume that you mean you want to retrieve the "index page" from a site - it is not always index.wml.
|
exosyphen Joined: Feb 25, 2003 Posts: 117 From: Romania PM, WWW
|
Simply show me how to download a wml to my PC thorugh a WAP connection.
I am connecting from my laptop with a T300 to a wap GPRS line.
Thank you.
www.mobileground.com - All the downloads for your phone! |
mwright Joined: Jun 21, 2003 Posts: > 500 From: UK PM |
OK - what language/IDE would you prefer.
If you are using MS VisualC - it is easy - just use one of the HTML components. Just because it is wml over WAP the protocol to download a page is the same.
If you have jabber - PM me for my name and I can chat with you
|
exosyphen Joined: Feb 25, 2003 Posts: 117 From: Romania PM, WWW
|
Hi,
I want to use sockets in C/C++ to connect to a wap server and retrieve a wml file.
Simple as that .. I don;t need to display/render the page.
I just want to simply display the wml sourceode with a simple printf()
Thank you.
www.mobileground.com - All the downloads for your phone! |
BOSSHOGG Joined: Dec 19, 2002 Posts: > 500 PM |
Just enter the url into a non wml browser and it will download the page to your hd.
This message was posted from a T300 |
exosyphen Joined: Feb 25, 2003 Posts: 117 From: Romania PM, WWW
|
I need sourcecode!
I need sourcecode to download a wml file in VIsual C++ using sockets!
I have wap browsers on my phone, laptop, etc ...
www.mobileground.com - All the downloads for your phone! |
BOSSHOGG Joined: Dec 19, 2002 Posts: > 500 PM |
*senses anger* time to back of :-D
This message was posted from a T300 |
mwright Joined: Jun 21, 2003 Posts: > 500 From: UK PM |
Rather that do it yourself - why not use an existing library.
I recommend LIBwww http://www.w3.org/Library/
It can be tricky to get all the bits right by yourself
|
exosyphen Joined: Feb 25, 2003 Posts: 117 From: Romania PM, WWW
|
Ok,
I open a socket on port 80 to google.com
I send a header : GET / HTTP 1.1
blah bla blah
and I get back the index source.
Now I want the same with WAP.
I got it done for html in a few lines .. but I don;t know how to do it for wml.
www.mobileground.com - All the downloads for your phone! |
mwright Joined: Jun 21, 2003 Posts: > 500 From: UK PM |
It is just the same for wap as for http.
The basic protocol is unchanged - only the contact is.
I use the same server (apache) to serve up html and wml - the server does not care/need to know. The protocol at this level is tha same.
The only issue might be the WAP gateway if there is one - just bypass it and go straight for the server
[ This Message was edited by: mwright on 2003-09-29 14:19 ] |
exosyphen Joined: Feb 25, 2003 Posts: 117 From: Romania PM, WWW
|
I will try that. Thanks.
Drop me a line at robert@exosyphen.ro so I can give you some feedback if it works. |
|