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

    marshel

    new thread

    Hi! I am Sacharsmith. I am the new member of this forum. I hane a good knowledge of the blackberry os. I have also stuff on yhe otherdevices of the hp.

    marshel 01-28-2015, 05:24 AM Go to last post
    tanphat1412

    [FREE][Native] Pocket Doctor - All about Health and Medical

    FEATURES:
    . Medical Health Encyclopedia: A-Z listings of medical conditions.
    . Symptoms analyzer: a disease diagnosis by body area.

    tanphat1412 01-27-2015, 07:57 AM Go to last post
    Altijdzwart

    i need some help in a specific case!!

    Any luck with the new clean install?

    Altijdzwart 01-26-2015, 03:45 AM Go to last post
    h0feer

    i need some help in a specific case!!

    hi to everyone,


    I'm using one blackberry bold 9900, and i have some troubles with internet connection,


    i tried

    h0feer 01-25-2015, 07:41 PM Go to last post
  • Sponsored Ad