Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreMobile 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:
  #1  
Old October 19th, 2006, 07:49 PM
spacejunkie spacejunkie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 2 spacejunkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 45 sec
Reputation Power: 0
Newbee WAP Issue Please Help!

I’ve written the following program as a first step into the world of WAP. Whenever I try to download the .nth file to my phone I get an error message.

Code:
<?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="wap" title="WAP Home">
<p><a href="#nokia">Nokia S40 V1.2</a></p>
</card>
<card id="nokia" title="Nokia S40 V1.2">
<p><a href="#white">White</a></p>
</card>
<card id="white" title="White">
<p><a href="white.nth"></a></p>
</card>
</wml>


I suspect the problem is the
Code:
<p><a href="white.nth"></a></p>
line. Can anyone help me out with this?

Reply With Quote
  #2  
Old October 20th, 2006, 10:25 AM
seva seva is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 2 seva User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 45 m 24 sec
Reputation Power: 0
You have missed a <p> tag:
<card id="wap" title="WAP Home">
<p>
<a href="#nokia">Nokia S40 V1.2</a>
</p>
</card>

To check syntax of WAP pages, I recommend you a combined WAP emulator and validator: http://www.wap-proof.com

Reply With Quote
  #3  
Old October 23rd, 2006, 11:58 AM
spacejunkie spacejunkie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 2 spacejunkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 42 m 45 sec
Reputation Power: 0
Thank you. Your right I did miss those. I edited the code and the post so it looks like the edited post #1. However there was no change in the programs function. What gives? I think the server I’m on does not have the proper MIME type to serve the .nth file. What do you all think?

Reply With Quote
  #4  
Old October 26th, 2006, 04:20 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
i don't think your phone supports nth files whatever they are.
__________________
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
  #5  
Old October 26th, 2006, 04:28 AM
jabba_29's Avatar
jabba_29 jabba_29 is online now
Back in HEL
Click here for more information.
 
Join Date: Feb 2002
Location: Finland
Posts: 8,910 jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)jabba_29 User rank is General 11st Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 4 Weeks 1 Day 10 h 13 m 33 sec
Reputation Power: 1693
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Does your server know what a .nth file is?
You may have to set the mime types for this type of file.

I couldn't find the "theme" extension here,
but this page may help for future reference...

Edit:

Actually, maybe this will help more?
__________________
Cheers,

Jamie

# mdb4u | mobile movie database] | Please help to test and promote
# skiFFie | Home of the 'accessibility module' for Drupal
# Jamie Burns [me] Accessibility Module [drupal]
# guidelines | search | wap resources | not getting help | fold to cure

__________________

Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.



__________________

Last edited by jabba_29 : October 26th, 2006 at 04:29 AM. Reason: More info

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreMobile Programming > Newbee WAP Issue Please Help!


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 3 hosted by Hostway
Stay green...Green IT