Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Device detection, the User Agent and beyond


Published on

This is the presentation I gave at Mobile 2.0 Europe event in Barcelona on 18 June 2009 and covers new developments of the DeviceAtlas API, the approach to device detection and how Web site should use device details to improve site design.

Published in: Technology, Business

Device detection, the User Agent and beyond

  1. 1. Device detection, the User Agent and beyond Barcelona, 18 June 2009 <ul><li>Andrea Trasatti </li></ul><ul><li>Director of Technology Strategy </li></ul>
  2. 2. Device detection <ul><li>The User-Agent string approach: </li></ul><ul><ul><li>left-to-right search </li></ul></ul><ul><ul><li>Levenshtein distance </li></ul></ul><ul><ul><li>regular expressions/keywords </li></ul></ul>Very simple API, i.e. fast implementation Going past the User-Agent string, using more HTTP request headers UAProf URL So why not just UAProf URL?
  3. 3. New DeviceAtlas API <ul><li>Use of Evidence (i.e. full HTTP request headers) </li></ul><ul><li>DeliveryContext object </li></ul><ul><li>Open and extensible </li></ul><ul><li>W3C DDR Simple API compliant </li></ul><ul><li>dotMobi extension: Cache provider </li></ul>
  4. 4. Use Case 1: Web Application
  5. 5. Use Case 2: Log Analysis
  6. 6. Normal API deployment
  7. 7. Http and Application Server Extensions
  8. 8. Detection in the cloud The greatest experts in “clouds” live in Ireland Image by etrusia_uk,
  9. 9. <ul><li>No setup </li></ul><ul><li>No update hassle </li></ul><ul><li>Manage your local cache if you want to save resources </li></ul>Detection in the cloud $ curl -d key=12345 -d User-Agent=NokiaN73 -d X-Wap-Profile=
  10. 10. The future of adaptation <ul><li>Integration with frameworks such as ASP.NET and JSF </li></ul><ul><li>Automatic image resizing </li></ul><ul><li>Smart forms using Javascript and XHR </li></ul><ul><li>Smart styling (selection of CSS, use of simple or advanced features, interaction with DOM and Javascript) </li></ul>
  11. 11. References <ul><li>Levenshtein distance, </li></ul><ul><li>DeviceAtlas, </li></ul><ul><li>mobiForge, </li></ul><ul><li>W3C DDR Simple API recommendation, </li></ul><ul><li>DeviceAtlas “in the cloud”, </li></ul>
  12. 12. Thank you <ul><li>Andrea Trasatti </li></ul><ul><li>Director of Technology Strategy </li></ul><ul><li>[email_address] </li></ul><ul><li>@AndreaTrasatti </li></ul>