Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

redirect based on a Tablet device

Posted on 2011-09-12
2
Medium Priority
?
211 Views
Last Modified: 2012-05-12
Good Day Experts.
We have a decent mobile version of our main site and need to include code to handle tablet detections and redirection in a different way to a Phone.
I’ve read articles on using screen resolution, etc but that it not without issue, so I was hoping that somehow had resolved this issue already and would be willing to share the solution.
To recap. Detect and redirect based on a Tablet device.
We're using .net 4.0
Any ideas?
0
Comment
Question by:QuestionManA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
OriNetworks earned 2000 total points
ID: 36522679
There are two methods

1. Checking the user-agent string which may changed as new devices come along.
2. Adapting your site according to client capabilities such as checking screen resolution.

WURFL is a project to look at - http://wurfl.sourceforge.net/
or a simple google search can give you results like http://stackoverflow.com/questions/5341637/how-do-detect-android-tablets-in-general-useragent
0
 
LVL 2

Author Comment

by:QuestionManA
ID: 36523305
http://wurfl.sourceforge.net/ could work.
I'll take a look.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question