User-1262787652 posted
In ASP.NET MVC4 application
HttpContext.Current.Request.Browser.IsMobileDevice
is used to dedect mobile devices. It also contains views with .Mobile as part on view name for mobile devices. Application is browser application which renders different views in browser on mobile and non-mobile devices.
51 degrees mobi module from http://51degrees.codeplex.com/ free version is also installed. If Motorola MC2180 mobile computer/handheld scanner is used to log on to application, is is not dedected as
mobile device: .Mobile views are not executed, usual views appears.
How to force it to be recognized as mobile device ? Device is running Windows CE 6.0 and it contains Motorola Rhoelements RHOS custom browser which returns version string as
Mozilla/5.0 (Windows CE 6.0) AppleWebKit/534.51 (KHTML, like Gecko) MotorolaWebKit/2.1.8.7 Safari/534.51
Application should in Mono and in ASP.NET 4. jquery is used. jqueryy-mobile is used in mobile views.