by
kevin_alcock >> Wed, 13 Feb 2002 20:38:18 GMT
The short answer is yes.
The quickest way to this is to create an InternetPipe app to talk to the jadehtttp.dll directly. Make sure that you set the MIME type correcty otherwise jade will send it as html.
Below is a simple method that respond to any request sent to it. Put this call back method on your sub class of InternetPipe.
This is probably cryptic so email me and I'll send more info when I have some time.
Cheers,
Kevin
--
kalcock@jade.co.nz
Jade Software Corporation Limited
Ph: +64 3 358 0102 x4100
Fax: +64 3 358 4882
Cell: +64 21 638 586
readPipeCallback(pPipe:InternetPipe; msg:Binary) updating;
vars
wapReply : String;begin
wapReply := 'Content-Type: text/vnd.wap.wml
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"
http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=1"
forua= "true"/>
</head>
<card>
<p>
Hello, Wap World! ' & app.actualTime.String & '
</p>
</card>
</wml>';
writeBinary(wapReply.Binary);
end;