I'm taking my chances and only using 1 web application and 1 masterpage for my SharePoint site, which I'm now also optimizing for mobile devices.
I'm currently in the progress of developing a webcontrol to trim away all the webpartzones and webcontrol which I don't want to be downloaded to the mobile device.
I've read a bit about this, watched the Gavin & Chris session from the SharePoint 2011 convention in Anaheim, California. Since SharePoint Mobile is clearly not an option, since you get login prompted, my options is to create a Render-trimmer.
Request.Browser.IsMobileDevice seems to be the #1 choice for many developers, but I'm facing a problem where when my site is loaded on a cellphone it still renders all controls. I've set up some logging and it returns "IsMobileDevice = false" when loaded on a mobile device.
To get around this I'm now using Request.UserAgent, checking if it contains "Mobile". This works, seems to be pretty legit, but it leaves me wondering why Request.Browser.IsMobileDevice fails.
Is my solution really that legit? And why doesn't Request.Browser.IsMobileDevice work as intended? And are there, in your opinion, better ways of doing this, when using the same Web App and Masterpage regardlesss?