WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP 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:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old July 29th, 2005, 02:29 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,613 jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th 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 3 Weeks 3 Days 5 h 32 m 57 sec
Reputation Power: 1550
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
Please test my Device Detection script

Hello, Finally managed to get something online. Now I need some testing done to see if the damn thing works as it should.

I have got a couple of simle web pages that should be visible in an html browser or mobile phone with either xhtml capabilities or wml.

Could people check to see whether they infact can access the site specifically through a handheld device.

I have only emulated this, it works, but emulation is one thing, real life another. As I said there are only a couple of very basic pages.

Here are the links:

Home page
/* Lnk Removed */

Please state what device you are using and any problems if any experience.

Thanks in advance
__________________
Cheers,

Jamie


# skiFFie | Home of the 'accessibility module' for Drupal
# Jamie Burns [me] Accessibility Module [drupal]
# guidelines | search | wap resources | not getting help | fold to cure

# Any form of employment is strictly prohibited ......


__________________

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 : November 27th, 2005 at 08:22 AM.

Reply With Quote
  #2  
Old July 29th, 2005, 05:14 PM
trinisam's Avatar
trinisam trinisam is offline
Here to share and learn.
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: London, UK
Posts: 621 trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 5 h 49 m 56 sec
Reputation Power: 61
Hey Jamie,

Blackberry 7100T

Browsed the Home Page and got Parse error, unexpected T_STRING in /home/jamieb/www/site/files/mhtml.php on line1

Browsed the CV page and got HTTP Error 500: Internal Server Error

Reply With Quote
  #3  
Old July 29th, 2005, 09:38 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,613 jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th 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 3 Weeks 3 Days 5 h 32 m 57 sec
Reputation Power: 1550
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
Hi, Thanks.

What time did you test(just before posting)? I had reuploaded the files at some point again yesterday.
Couldn't find your IP in my log files (maybe they will appear later).
At least the detection actually work though, mhtml.php would have been the correct template file.

I have amended code, so that parse error should be erradicated (although I haven't been able to reproduce). Server error unknown, need to check my log files.

Reply With Quote
  #4  
Old July 30th, 2005, 02:21 AM
vrspectre's Avatar
vrspectre vrspectre is offline
I see semi-colons
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Location: Portland, OR
Posts: 297 vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 10 h 38 m 59 sec
Reputation Power: 16
Send a message via AIM to vrspectre Send a message via Yahoo to vrspectre
Moto v300 here and both seem to work fine. didn't have time to poke around though. I'll let you know if I have any problems.

Reply With Quote
  #5  
Old July 30th, 2005, 04:09 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,613 jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th 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 3 Weeks 3 Days 5 h 32 m 57 sec
Reputation Power: 1550
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
Thanks vrspectre, does your phone support xhtml or where you browsing the wap site?

Reply With Quote
  #6  
Old July 30th, 2005, 12:06 PM
vrspectre's Avatar
vrspectre vrspectre is offline
I see semi-colons
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Location: Portland, OR
Posts: 297 vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level)vrspectre User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 10 h 38 m 59 sec
Reputation Power: 16
Send a message via AIM to vrspectre Send a message via Yahoo to vrspectre
My phone does support XML and XHTML I'm not sure how to tell which version of your site I was viewing though.

HDS Express link on main page won't load. I get "Requested entity to large" which means either the WML/HHTML file is to big or it's in HTML.

Only just tried it on the Frankie link. When trying to access "My News [n]" and "My Pictures [p]" It takes me to the page to display the months (like January 2005). But when I click a month to view that month’s content it reloads the same page and doesn't go anywhere.

But when I use the first "skip to content" link on the news it loads the most recent news. When using that link on the "my pics" page It takes me to a different month list of the, but they still don't take me to the pics for that month. They take me back to the main frankies page.

If I use the skip to content now at this point it will take me to the pics from February 2004, however thumbnail for pic 007 doesn't load. And when I click any of the pics, they take me back to the main frankie page. I viewed the URL to see what it was: "http://frankie.227net.com/MyPics/2004/February/004.jpg/" Perhaps you have it set that if it would have a 404 when trying to load a directory that doesn't exist, it loads the main index file again?


When the pics load they load quickly, but then my phone browser slows to a creeping crawl. It's so slow to scroll w/ them on the page. This is not the case for other pictures or wap sites. I wonder what file format you use and are you dynamically resizing them, or are the thumbnail images separate images from the larger pictures?

Last edited by vrspectre : July 30th, 2005 at 12:08 PM. Reason: spelling

Reply With Quote
  #7  
Old August 1st, 2005, 03:43 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,613 jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th 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 3 Weeks 3 Days 5 h 32 m 57 sec
Reputation Power: 1550
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
Hi,

Sorry for the late reply - doing a bit of debugging...essentially, the only pages that should be device independent were the ones listed in my first post. I haven't gotten round to doing the other sites yet.
HDS is xhtml transitional, content type text/html...
Frankie's site is the same me thinks. I think the problem with the images maybe something to do with referrer blocking - ot should redirect to a 404 if the directories don't exist - put again that may be device specific (man, I need to get a new phone).

As stated though, the main pages to check where the home page and /* Lnk Removed */. I have put a little test page that prints out whatever accept language is best for your device -> here.

Thanks again for your efforts vrspectre & trinisam...
any one else out there with a internet connection on their phone?

Jamie

Last edited by jabba_29 : November 27th, 2005 at 08:23 AM. Reason: links updated

Reply With Quote
  #8  
Old August 1st, 2005, 11:09 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
hi jamie, i used a samsugn d500 to take a look at the homepage, it came up and offered me two links, one to the top frame which did nothing when i clicked it and another to the main frame which came back with insufficient memory for this operation.

i'm in the thick of it right now, i will try to fish out the browser detection stuff i have used and post something up here, it's just a rewrite of something i found online but has been okay for me.
__________________
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
  #9  
Old August 1st, 2005, 07:30 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,613 jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th 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 3 Weeks 3 Days 5 h 32 m 57 sec
Reputation Power: 1550
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
Frames? Wierd.

This script works in FX. Eg: I have the option to override the accept type in the script.

Even without override, IE is HTML, FX is XHTML. When Gelon (what has happened to that site?) was up, using there emulator it did show as wml...

Reply With Quote
  #10  
Old August 2nd, 2005, 03:09 AM
trinisam's Avatar
trinisam trinisam is offline
Here to share and learn.
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Location: London, UK
Posts: 621 trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level)trinisam User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 5 h 49 m 56 sec
Reputation Power: 61
Quick reply before i head out Jamie,

Whenn trying to access your CV page on my blackberry 7100T I get HTTP Error 500: Internal Server Error.

Reply With Quote
  #11  
Old August 6th, 2005, 02:39 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,613 jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 9th Grade (Above 100000 Reputation Level)