By Paul Rony on
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...
Read More »