BlackBerryOS.com - BlackBerry 10 User Agent String Is Here For Developers
  • BlackBerry 10 User Agent String Is Here For Developers


    To make use of the amazing browser that's coming along on BB10, websites need to know what type of browser it is and thus display rich content accordingly instead of a "mobile version."

    In order to make this differentiation stand out even more RIM has released the BB10 User Agent String for developers that may need this component for their apps.

    "Mozilla/5.0 (BB10; <Device Model>) AppleWebKit/<WebKit Version> (KHTML, like Gecko) Version/<BB Version #> Mobile Safari/<WebKit Version>"

    Now, this may not make a lot of sense to any non-devs reading this, but we can assure you it's a very smart move on RIM's part.

    "What has changed?

    • Many websites are filtering on the word “BlackBerry” and providing our very capable browser with the most basic of mobile web pages, while rich content is being pushed to our competitors. To avoid this pitfall, we removed the word “BlackBerry” from our user agent and replaced it with “BB10”. This change will require web administrators to add this new identifier to their user agent detecting scripts
    • We cleaned up the user agent string by removing both the locale (e.g. “en-US”) and the strong encryption indicator (e.g. “U”) [don’t worry, we still support strong encryption]

    Check out the Inside BlackBerry Dev Blog for more information.


    comments powered by Disqus
  • Sponsored Ad

  • Recent Comments

  • Most Commented

    The most commented articles on BlackBerryOS over the past 24 hours.
  • Recent Forum Posts

    lnwpen88

    AOL IM Sound

    I cant find it royal1688 anywhere. Anyone know where this can be gclub found?

    lnwpen88 09-18-2014, 11:45 PM Go to last post
    BXavier52

    Batterie pour Z10

    Bonjour, la batterie MPJ de 5000mAh fonctionne-t-elle correctement ? vous avez un Z10-LTE compatible 4G ou la version Z10 compatible 3G ? Sur leur site,

    BXavier52 09-18-2014, 11:57 AM Go to last post
    Smiley88

    Toysoft Productivity Tools Fire Sale

    BlackBerry World is running a promotion for Indosat, EMEA and LATAM countries and I'm opening it up to the rest of the world. The promotion will start

    Smiley88 09-18-2014, 08:25 AM Go to last post
    serversurfer

    Wallpaper for Passport available?

    You will find the links to my host (complete sets, regulary extended) in german blogs (my native soil):

    Starter Kit Passport Wallpaper

    serversurfer 09-18-2014, 02:53 AM Go to last post
    ThomasWillNot

    BlackBerry Synchronization Issue

    Hi,

    I am trying to get my calendar all synchronized between my BlackBerry and computer.

    I did have it working between my BlackBerry

    ThomasWillNot 09-17-2014, 01:34 PM Go to last post
  • Sponsored Ad