Tuesday, April 3, 2012

Detecting Mobile Browser

Now that I have a Web Part successfully loading a web page, I need to set up a web site for the web part to reference.  Part of this is detecting whether or not the browser is a mobile browser.  If it is, I need to re-direct to a special mobile version of the site.  This version will need to have one page that does everything with AJAX, as I believe any links will actually want to launch a browser window on the device, and that is not the desired behavior.  So, I found a script to check for a mobile browser.  Next step is to create the mobile version of the site.  Then, I will need to integrate the javascript with the Android application to use the barcode scanner.

No comments:

Post a Comment