473,396 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Support of Handheld Web Browsers

I noticed that my brokerage house as well as gmail present different (i.e.
simpler, more compact) interfaces when I surf them with my handheld (a
Blackberry) versus a desktop or laptop computer. How is that done? I've
got to assume something in the HTTP headers lets the server software know?

Thanks.

Nov 20 '06 #1
2 1509
David T. Ashley wrote:
I noticed that my brokerage house as well as gmail present different (i.e.
simpler, more compact) interfaces when I surf them with my handheld (a
Blackberry) versus a desktop or laptop computer. How is that done? I've
got to assume something in the HTTP headers lets the server software know?

Thanks.
Read up on WML.

Also look up http://wurfl.sourceforge.net/ .

--Yan
Nov 20 '06 #2
download user agent switcher addon for firefox, fire it up and import
<useragent
description="pocket pc mobile 2003"
useragent="Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC;
240x320)"
appname=""
appversion=""
platform="windows mobile edition 2003 sp2"
vendor=""
vendorsub=""
/>

shove in that as an entry, (I think you can save as a file ad import if
you cant be bothered to type)

when accessing
http://www.google.com/

their hacked version of apache (GFE/1.3) just checks the user-agent
header and redirects to
http://www.google.com/pda

from there on, you will be looking at a simple version and whatever you
click will be passed through a filter as long as you keep pda in the
url.
This way the rewrite condition based on user-agent header is done once
- I should imagine there is a long list and it would be ineffecient to
do it for each request once on /pda/... you can verfiy this by
returning your user-agent header back to firefox default and pressing
refresh, you will remain on the simple version, however navigating to
http://www.google.com will return you to the complex browser oriented
version.

you can a long list of user-agents from the url given by the previous
respondant, if you are willing to use a little xslt on the 4.1MB
wurfl.xml.

Nov 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Carla | last post by:
Is there a way for my website to redirect handheld and mobile browsers to another set of pages that are optimized for mobile/tiny browsers? I've seen this done but I couldn't find any sign of a...
2
by: Philipp Lenssen | last post by:
I'm looking for samples which make use of the XHTML Basic doctype and handheld CSS. Anybody know some good URLs which use plain CSS to layout the page (as opposed to many graphics)? I want to...
9
by: boclair | last post by:
In a discussion between AJ Flavel and Spartanicus, The later said. "Layouts that work well on the desktop and on small screen devices are single column layouts. Layouts that use more than one...
3
by: bissatch | last post by:
Hi, Is there anything online or downloadable that will allow me to preview my webpages on handheld devices such as PDA's and xhtml/wap2 mobile phones? Some kind of emulator service. I would...
12
by: code_wrong | last post by:
Hi, as the subject says How many browsers must we support? How many are there exactly? When I run this JavaScript in Firefox and IE6: function init(){ if(document.getElementById) alert("W3C...
26
by: Matt Kruse | last post by:
Are there any current browsers that have Javascript support, but not RegExp support? For example, cell phone browsers, blackberrys, or other "minimal" browsers? I know that someone using Netscape...
1
by: Harlan Messinger | last post by:
English Wikipedia allows registered users to define custom styles. I created a set of styles inside a @media handheld wrapper to see if I could override the default absolute positionings and floats...
1
by: noodyn | last post by:
Hi, I want to have a table for screen layout like this: One Two Three Four One Two Three Four When i access the page via handheld, i want that table to look like this: One Two
2
by: CD Tom | last post by:
Here's what I'm trying to do. First I export an existing table to a .txt file and move it to a handheld computer, it is then added to a database on that handheld. Data is inputted into the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.