Thursday, July 24, 2008 ..:: Blog ::.. Register  Login
 App_Browsers, a little used, but impressive, feature Minimize
Location: BlogsFounder Blog    
Posted by: paulrony 1/10/2008 7:35 AM

First a little background.  One of the new features of SplendidCRM 2.0 is the detection of a mobile-based browser.  Within days of release, a customer requested support for a BlackBerry, and iPhone and an iPod. 

 

Our first instinct was to search the UserAgent Request variable for any of the keywords found in the most common mobile browsers.  This seems to be a very popular technique for the PHP crowd. Digging a little deeper, we found the collection of .Net 2.0 browser files at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers.  Then, we found that we could add our own application-specific to the App_Browsers folder.  The trick is to chain the app-specific profile to the last detected browser ID.

 

Once we knew what we were looking for, we were pleased to find a BlackBerry profile on CodeProject at http://www.codeproject.com/KB/aspnet/BlackberryASPNET.aspx, but we were surprised that we did not also find pre-constructed profiles for the iPhone or the iPod on Google.  In any case, we have created iphone.browser and itouch.browser files and we have included them in the project.  We would provide publicly available links to these files, but ASP.NET blocks external access to these files.  So, if you want them, you will have to either install SplendidCRM or contact our support staff and have them email you the files.  Obviously, we prefer that you evaluate SplendidCRM.

Permalink |  Trackback

  

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.
SplendidCRM and SplendidCRM Software are trademarks of SplendidCRM Software, Inc. SugarCRM is a trademark of SugarCRM Inc. in the United States, the European Union and other countries. All other trademarks used in this web site are the property of their respective owners.