Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.mobile
Need to add this WML to my Mobile.NET application
Andrew
6/26/2002 2:43:00 PM
Hi all,
I'm wanting to add this wml code to my mobile.net application. It should
display two WBMPs that animate between each other. However, when I try to
link direct to the file (anim.wml) it gives an error in the wap emulator.
When I put it within an aspx page, i can't get it to dislpay either. Any
advice on this would be most welcome!!
Has anyone else tried to include static wml code in their mobile
applications?
Thanks for your time,
Andrew
==================
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"
http://www.wapforum.org/DTD/wml_1.1.xml...
<wml>
<card id="preloader" ontimer="#anim1><timer value="1"/><p>
<img src="image1.wbmp" alt="image1.wbmp" width ="72" height ="28"/>
<br/><br/><br/><br/><br/><br/><br/>
<img src="image2.wbmp" alt="image2.wbmp" width ="72" height ="28"/>
</card>
<card id="anim1" ontimer="#anim2"><timer value="2"/><img src="image1.wbmp"
alt="image1.wbmp" width="72" height="28"/></card>
<card id="anim2" ontimer="#anim1"><timer value="2"/><img src="image2.wbmp"
alt="image2.wbmp" width="72" height="28"/></card>
</wml>
1 Answer
Frank Tse \(MS\)
6/26/2002 7:45:00 PM
0
There are a couple things you can check:
1. If you are using IIS, have you set the correct MIME type for the
extension .wml? The MIME type should be text/vnd.wap.wml.
2. Can you browse the file locally using your WAP emulator? This can help
to verify if your static page is correct or not.
Hope this help,
Frank
This posting is provided "AS IS" with no warranties, and confers no rights.
"Andrew" <andrew.tollervey@onetoo.com> wrote in message
news:OBHAd2QHCHA.2472@tkmsftngp11...
> Hi all,
>
> I'm wanting to add this wml code to my mobile.net application. It should
> display two WBMPs that animate between each other. However, when I try to
> link direct to the file (anim.wml) it gives an error in the wap emulator.
> When I put it within an aspx page, i can't get it to dislpay either. Any
> advice on this would be most welcome!!
>
> Has anyone else tried to include static wml code in their mobile
> applications?
>
> Thanks for your time,
>
> Andrew
>
> ==================
>
> <?xml version="1.0"?>
>
> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
> "
http://www.wapforum.org/DTD/wml_1.1.xml...
>
> <wml>
>
> <card id="preloader" ontimer="#anim1><timer value="1"/><p>
>
> <img src="image1.wbmp" alt="image1.wbmp" width ="72" height ="28"/>
>
> <br/><br/><br/><br/><br/><br/><br/>
>
> <img src="image2.wbmp" alt="image2.wbmp" width ="72" height ="28"/>
>
> </card>
>
> <card id="anim1" ontimer="#anim2"><timer value="2"/><img src="image1.wbmp"
> alt="image1.wbmp" width="72" height="28"/></card>
>
> <card id="anim2" ontimer="#anim1"><timer value="2"/><img src="image2.wbmp"
> alt="image2.wbmp" width="72" height="28"/></card>
>
> </wml>
>
>
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Need to add this WML to my Mobile.NET application
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password