XMII Browser Detect

Hello All,
I am reading through the sdn doc "How to configure the  xmii server and xmii pages for mobile devices" I am trying to incorporate the logic which detects the kind of browser and displays the appropriate page for mobile device. I am a little confused about how to use the client.ini entry to acomplish this. The document just states: "from this string the keyword can be extracted as the identifier....." but does not give any details.
Does anyone have a step by step on how to display the page specifically for a mobile web browser.
Thanks,
Mahwish
Message was edited by:
        Mahwish De Silva

All browsers have a unique identifier describing them, called HTTP_USER_AGENT ID string. This information is usually sent by the browser when making the HTTP request to the server and makes part of the transmission headers. Browser IDs (more correctly User Agent IDs) appear, among other places, as the environmental variable HTTP_USER_AGENT in Apache).
You need this information to make the fewest checks possible for the browser environment - or how to optimize the display or ... to know who and what is crawling around your site. In our case, it's to set up the display capabilities of xMII for your mobile devices.
To give you an idea of how varied the UA strings are (even for a single device type), here’s a sampling of “Windows CE” agent ID strings:
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; 240x320)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; 320x240)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; O2 Xda 2mini; PPC; 240x320)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; O2 Xda 2s;PPC;240x320; PPC; 240x320)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; O2 Xda II;PPC;240x320)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PIEPlus 1.2; PPC; 240x320)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PIEPlus 1.2; PPC; 240x320; SPV M2000; OpVer 5.12.2.141)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PIEPlus 1.3; PPC; 240x320; PIEPlus 1.2)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320) 4.01
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320; 240x320)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320; PIEPlus 1.1)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320; PIEPlus 1.2)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; MDA Compact/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1)
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; Smartphone; 176x220)
The article/author can NOT give any details about selecting the right word which uniquely identifies your mobile device due to their variety, but it gives you an example.
First you need to test your mobile device ID string by visiting a web site which will display this information. Then you have to find the right "filter" and include it in the "client.ini" file together with the information about what to display (e.g. <i>Token=SIMPLEHTML, Mime-Type=text/html</i> to avoid applets).
If you want specific information, please tell us specifics of the mobile devices you use.

Similar Messages

  • Browser detection code for JSP ?

    Hi ,
              Im new to JSP (in case the question wasn't a give-away!!).
              I would like to know how to do a browser detect - becuase I have
              1 CSS for IE and another for Netscape.
              Is there some code snippet site that I can get it from, or can
              someone post it here please> >?
              Thanks heaps
              ROb
              

    try:
              request.getHeader("User-Agent")
              If you want to see it, do something like:
              Browser: <%= request.getHeader("User-Agent") %>
              Hope that helps.
              Regards,
              Eric
              "rob" <[email protected]> wrote in message
              news:[email protected]..
              > Hi ,
              >
              > Im new to JSP (in case the question wasn't a give-away!!).
              >
              > I would like to know how to do a browser detect - becuase I have
              > 1 CSS for IE and another for Netscape.
              >
              > Is there some code snippet site that I can get it from, or can
              > someone post it here please> >?
              >
              > Thanks heaps
              >
              > ROb
              

  • Browser Detection Kit

    I have a site with several flash buttons. I can see them in
    IE but not Fiirefox or Netscape. I have re-downloaded Flash Player.
    This is the page:
    http://trainedwhistle.com/Audio_Books.html.
    I have found references to the Flash Browser Detection Kit on this
    sire but none of the links work. can anyone help me?

    I get a 404 error when trying your link.
    Can you check it and re-post.
    regards
    Nick Barling
    www.barkingweb.com

  • ¿How i make a Browser Detect swf movie?

    Hi, i use a simple embed swf movie in one of many pages i own, but recently I build a new page in html5. But i tested in Internet Explorer and doesnt work well. What i need its a script code in AS3 to use in my swf movie that detect the browser and if the browser its IE9 load an old page, but if its other browser is like mozilla or chrome, load  the new page in html5.
    It is possible to do that in AS3 right?
    Thanks to all
    Firefawx 

    You can simply say "I want an animation to play before it decides which page to load" and we'd get it. So you want to show your logo animation.
    Use the tutorial link I gave you and look at the code. It is a full example of browser detection using both actionscript and javascript. ActionScript needs JavaScript to get the information on what browser it is. All of the information and code examples are there to show you how to detect the browser.
    Spanish translation:
    Usted puede simplemente decir "yo quiero una animación para jugar antes de que decida lo que se cargue la página" y que sería para nosotros. Así que usted quieremostrar su animación de la insignia.
    Utilice el enlace tutorial que te di y mirar el código. Se trata de un ejemplo completo dela detección del navegador utilizando tanto ActionScript y JavaScript. ActionScriptnecesita JavaScript para obtener la información del navegador que es. Todos los ejemplos de la información y el código están ahí para mostrar la forma de detectar el navegador.

  • Unsupported Browser Detected

    On three computers (since we updated adobe this last time) when we try to open a PDF file, we get the following message-
    "Unsupported Browser Detected
    PDF Compatibility Mode requires Internet Explorer 5.5 for Windows or better
    If you are not sure whether a supported browser is installed on  your computer, please contact your system administrator. PDF  Compatibility can be toggled on/off in your System Configuration  settings."
    I have IE10, Windows 7 (on this system) and XP on the other two. I have re-downloaded both acrobat and flash a few times now, went into the registry key to delete the "creative update" as was suggested on another thread (it was not there), and tried earlier versions. I also downloaded firefox as a browser as was also suggested... no go. I was also told that a 32 bit browser like Chrome would work. It didn't.
    After three days of troubleshooting, re-downloading, etc., I am at my wits end.
    HELP PLEASE

    If the site only works with older versions of Firefox try it with Firefox 3.6
    You may wish to try Firefox Portable, you can then use that for the problem site, and continue to use Firefox 8, or 9 for day to day browsing. (I think Firefox 9 is due out as a new Release today).
    * see [[installing a previous version of firefox]]
    * and http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • Does Weblogic Provides any in built utility for server side browser detection

              Hi
              Does Weblogic Provides any in built utility or package for server side browser
              detection i.e. to know the browser details
              of the client with the first request.
              One such available product is BrowserHawk(http://www.cyscape.com).
              any thing similar to this available?
              Thanks in advance
              Mrutyunjay
              

    Hey Mohammed,
              yes, you could use just wl server to do file uploading. in your html client
              code, you need to specify the type of the data that you are sending as
              follows:
              <form action="UploadTestServlet" enctype="multipart/form-data" method=POST>
              File: <input type=file name=file><br>
              <input type=submit>
              </form>
              This will send your file to be processed by the UploadTestServlet. You need to
              code UploadTestServlet yourself to parse and extract useful data. check out
              www.servlets.com for a utility class that does just that
              Winston
              Mohammed Ali Usmani wrote:
              > Hi to All;
              >
              > I want to know if I can use weblogic (webserver) for file uploading from
              > client browser without using any ftp server.
              > Do I have to use some special code (may be in my servlet/html page) for
              > handling this. I mean that do I have to provide the implementation of RFC
              > 1867 by myself at server side?
              >
              > Or it is just merly a browser support? It doesn't effect the webserver at
              > all?
              >
              > Thanks
              

  • OT: asp vbscript browser detection

    Hello, from some times when I user firefox 2.x or safari on a
    page with
    browser detection script
    Server.CreateObject("MSWC.BrowserType")
    I get 'Default' browser name, with explorer all works fine...
    howdy

    Hello Michael, I thankyou for your suggestion, I see on web
    stats some
    users with ie5, I try to write some specific style ;-)
    Michael Fesser write:
    > .oO(howdy)
    >
    >> I need to switch the css or redirect to another page
    old browsers (ie5
    >> for sample) because I use some transparent png.
    >
    > Do such browsers really show up in your logs anymore?
    And even if they
    > do, I wouldn't care anymore. Or do you want your site to
    look perfect in
    > Netscape 4 as well? Somewhere you simply have to draw
    the line.
    >
    > I don't even care about IE 6 that much anymore. I also
    use a lot of PNGs
    > with alpha-transparency, which is not supported in IE 6
    (at least not
    > natively). But as long as it doesn't look too bad and
    all the content is
    > accessible, I can live with some glitches.
    >
    > Write reasonable, standards-compliant markup and CSS,
    that's the primary
    > goal. Make sure your content is properly structured and
    also accessible
    > and usable without CSS.
    >
    > Then, if you think you have to fix something in IE here
    and there, have
    > a look at conditional comments to include an IE-specific
    stylesheet.
    > That's the recommended and most reliable way to supply
    workarounds. If I
    > remember correctly they're supported as of IE 5. But as
    said - if this
    > browser doesn't show up in your logs anymore, you don't
    really have to
    > care about it. It would be too much work for nothing.
    >
    > Micha

  • Browser detection script

    Hello,
    I'm wondering how playback in Flash or on older browsers work. Does the published content run a browser detection script?
    Thank you.

    Actually this seems to work better:
    if (accept.indexOf("vnd.wap.wml") >= 0) {
         // I have a WAP browser...
    }I thought Opera (being WML compatible) would load the WML content, but thankfully it does not broadcast it in the Accept header.
    Thanks.

  • IE6-only browser detect?

    How do I insert code to detect ONLY IE6? This seems to be the
    only major browser that messes up my design.
    http://descom.org/okay/home.html
    Thanks!

    Use IE Conditional Comments instead. Browser detection is
    pretty
    unreliable. To read more about IE CC's Google it.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "descom" <[email protected]> wrote in
    message
    news:ea84c0$o98$[email protected]..
    > How do I insert code to detect ONLY IE6? This seems to
    be the only major
    > browser that messes up my design.
    >
    http://descom.org/okay/home.html
    >
    > Thanks!

  • Need code for mobile browser detection

    So I've read there are several different ways to do this using HTML, JS, PHP, Cookies, etc... and found a discussion suggesting to search for "javascript detect mobile browser" which I did, and maybe since the forum is from 2010 the search results are lacking ...here is a link to that forum: http://forums.adobe.com/message/3172216#3172216.
    I have code and editing knowlege but not on the developer side of things...I could not write a JS, or PHP if needed...but have created a jQuery mobile site no problem!
    Thanks!
    ~Jenny

    You could use either JavaScript or PHP to do this but I prefer PHP, as Nancy said JavaScript can be a bit shakey to say the least across different devices and it may not be enabled.
    I have come across a few ways to this but my preferred choice is a project called MobileESP. This project offers a JavaScript or a PHP solution for detecting a massive array of different devices. Because of how complex this project is, I thought I'd explain a very basic way of using the scripts to redirect the client to the appropriate page dependant on what type of device the client is using. PHP is the best solution for this. This script was acquired from there site.
    Go to http://blog.mobileesp.com/ and download the PHP version of MobileESP which is a file called mdetect.php.
    Put this file in a folder called scripts.
    Then for your index.php home page at the site root, add this script below,
    <?php
    include("/scripts/mdetect.php");
    //Instantiate the object to do our testing with.
    $uagent_obj = new uagent_info();
    //Detect iPhone Tier and iPads...
    if (($uagent_obj->DetectTierIphone() == $uagent_obj->true) ||
    ($uagent_obj->DetectIpad() == $uagent_obj->true))
      { header('Location: http://www.yoursite.com/i/'); } //Edit here
    //Detect Rich CSS Tier...
    else if ($uagent_obj->DetectTierRichCss() == $uagent_obj->true)
      { header('Location: http://www.yoursite.com/r/'); } //Edit here
    //Detect All Other Mobile Devices...
    else if ($uagent_obj->DetectTierOtherPhones() == $uagent_obj->true)
      { header('Location: http://www.yoursite.com/m/'); } //Edit here
    //Else it's a regular PC browser -- send to regular desktop site
    else
      { header('Location: http://www.yoursite.com/d/'); } //Edit here
    ?>
    This script redirects iPhone Tier devices and iPads to www.yoursite.com/i/, Rich CSS devices such as Nokia N95 to www.yoursite.com/r/, Generic mobile devices to www.yoursite.com/m/ and Desktop browsers and all others to www.yoursite.com/d/.
    You can also redirect to any file i.e. www.yoursite.com/d/index.html or www.yoursite.com/d/index.js.
    Hopefully this should answer your question.

  • Help JavaScript Browser Detection for CSS

    Hi Guys,
    I have developed this online catalogue using php/mysql. The site works 100% in firefox and chrome but does not seem to work in IE, any version. I used spry dropdown menu and the menu works but the menu css gets dropped by IE. I am looking for a small javascript script which will detect the browser and should the browser be IE it should use different colors for the CSS.
    I am not skilled in Javascript at all so any help would be great.
    Thanks Guys,
    Owen

    As Ken has stated, a link to your site will allow us to have a look at the code.
    In the meantime I can only guess that you have changed the background of the menu items and left the background for IE untouched as in
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;
    Gramps

  • Wallaby, HTML 5 and browser detection

    I have a web site that runs a simple flash move that changes pictures and text.
    I have used Wallaby to successfully convert the fla file to html5 code and i have the code working in Safari.
    The html5 code won't work in Firefox or IE so i need to put some conditional code to detect the browser and then use the appropriate code (fla or html 5)
    How do i do this?
    Thank you very much!
    Steve

    This should get you started: http://www.w3schools.com/js/js_browser.asp

  • Browser Detection

    Is there some sort of HTML code I can add to my page (using an HTML editor, not iWeb I guess) to have the page auto-detect if a user is running IE 6, and then redirect them to some sort of 'update your browser to continue' type page? As is, the website crashes IE 6 after the page loads for about 10 seconds. Thanks!

    Check for vertical lines in your site. Verticals will crash IE sometimes.

  • CS5 built-in mobile browser detection?

    Hi all,
    Just got CS5 after having previously used GoLive for a long time.
    I'm wondering if DW has an built-in functionality for detecting mobile browsers. I don't need to detect exactly -which- mobile browsers are being used, as the page content is very rudimentary.
    thanks in advance,
    Andrew

    httpServletRequest.getHeader("User-Agent") returns the user agent. That's all about the technical information you can obtain about the browser. Keep in mind that it is not safe to base your application's behaviour on the detected user agent, because client-side information can easily be spoofed/faked by the client.

  • Android 2.2 web browser detected as iPhone/iPad

    Hi,
    I have a smart TV box with Andriod 2.2  and it was stated as having Flash10.1 built in, but every site I went with the web browser and try to view the videos I am told I needed flash 10 plugin.
    When I click the link to get Flash I end up at the same Adobe page as I do if trying to install on iPhone/iPad???
    Why is Andriod 2.2 web browser being detected as this?

    Hi,
    I have a smart TV box with Andriod 2.2  and it was stated as having Flash10.1 built in, but every site I went with the web browser and try to view the videos I am told I needed flash 10 plugin.
    When I click the link to get Flash I end up at the same Adobe page as I do if trying to install on iPhone/iPad???
    Why is Andriod 2.2 web browser being detected as this?

Maybe you are looking for

  • How do I fix a problem with PSE 13 not being able to open my printer so I cannot print anything?

    PSE 12 Trial version worked fine with my printer but now I get errors like " the saved print information is an incompatible version.  It has been set to default values."  As well as, " default printer could not be opened."  I have Windows 7.  I tried

  • I feel like a kid again

    I cannot believe how much I LOVE my MBP. I have been writing commercial software (Windows) since 1996. I have NEVER, in my entire career, been this excited/impressed with a piece of hardware/software. Thank you Apple - the MBP is seriously one of the

  • Same IO or WBS to be used in Different Controlling Area ? Is this possible

    I have a Internal Order say, 10001 of Controlling Area : AAA, in Co code : ABC. Can i use the same Internal Order, in Controlling Area : BBB, in code code : XYZ  ??? Pl. reply thanks amit

  • How to start a new line in BBM Blackberry Z 10?

    I'm wondering how can i press (enter) to start a new line when a BBMing in my Blackberry Z10? the same when I want to type a new Text Message!!  As when I press enter it send the message, and what i want is to add a new line to start a new sentence b

  • IQ846 Memory Dump/BSOD

    While using Windows Media Center with Live TV, whether it is Windows Vista, Windows 7 or Windows 8, the application locks up my system after ~20-~30 minutes, with a weird noise from the speakers, and then the BSOD shows up with a mememory dump.  Then