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 April 3rd, 2006, 02:00 PM
ugmusic ugmusic is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: The home of Lebron James
Posts: 9 ugmusic User rank is Corporal (100 - 500 Reputation Level)ugmusic User rank is Corporal (100 - 500 Reputation Level)ugmusic User rank is Corporal (100 - 500 Reputation Level)ugmusic User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 h 38 m 14 sec
Reputation Power: 0
Send a message via AIM to ugmusic
Question Can't view simple page

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC
"-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>
<card title="First wml example">
<p>Hello world</p>
</card>
</wml>

Is there a certain way that I have to upload this to a server so that it will display through a cell phone? When I go to view it on my cell phone nothing comes up but a blank screen. The file is uploaded to the server, could it be that I am using a linux server or should I store it on the streaming server?

Reply With Quote
  #2  
Old April 3rd, 2006, 07:48 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 9,061 jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th 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: 4 Months 3 Days 9 h 48 m 17 sec
Reputation Power: 2015
Send a message via AIM to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
What have you saved the file as ? wml ?
Does your phone accept wml files ?

Apart from maybe changing the following, the page should display
Code:
wml
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC
"-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
// change to 
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">

What kind of server are you on?
If you are on Apache, then you may have to addType to get wml to work....

Please change your "location" address as I asked you politely before!
__________________
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.



__________________

Reply With Quote
  #3  
Old April 4th, 2006, 11:36 AM
ugmusic ugmusic is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: The home of Lebron James
Posts: 9 ugmusic User rank is Corporal (100 - 500 Reputation Level)ugmusic User rank is Corporal (100 - 500 Reputation Level)ugmusic User rank is Corporal (100 - 500 Reputation Level)ugmusic User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 h 38 m 14 sec
Reputation Power: 0
Send a message via AIM to ugmusic
I saved the file as "page1.wml", and the page is being stored on a Linux server that has Apache. I added the MIME Type to the server.
text/vnd.wap.wml
text/vnd.wap.wmls
image/vnd.wap.wbmp
application/vnd.wap.wmlc
application/vnd.wap.wmlsc


I am trying to access the site through a samsung SGH-T309.

Reply With Quote
  #4  
Old April 4th, 2006, 09:17 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 9,061 jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th 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: 4 Months 3 Days 9 h 48 m 17 sec
Reputation Power: 2015
Send a message via AIM to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Your phone accepts: WAP 2.0 compliant code:

Create a page using XHTML Mobile Profile

Reply With Quote
  #5  
Old April 5th, 2006, 02:12 AM
ugmusic ugmusic is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Location: The home of Lebron James
Posts: 9 ugmusic User rank is Corporal (100 - 500 Reputation Level)ugmusic User rank is Corporal (100 - 500 Reputation Level)ugmusic User rank is Corporal (100 - 500 Reputation Level)ugmusic User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 h 38 m 14 sec
Reputation Power: 0
Send a message via AIM to ugmusic
Thanks Jabba_29, with wap 2.0 is wml and wmlscript still widely used? or is 2.0 tuned towards Xhtml, c-html, and so on.

Reply With Quote
  #6  
Old April 5th, 2006, 05:43 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 9,061 jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 15th 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: 4 Months 3 Days 9 h 48 m 17 sec
Reputation Power: 2015
Send a message via AIM to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
chtml is html basic - equivilant of HTML 3 IIRC. It is crap really, you can do some fancy things for imode, but IMHO pretty pointless -unless you have a big market in Japan .

wap 2.0 is xhtml, but a slightly restrcited version. See the links in my sig in my first post for good sites to read up about it. In particular Developers Home.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreMobile Programming > Can't view simple page


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



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT