Solved

redirect based on a Tablet device

Posted on 2011-09-12
2
204 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
2 Comments
 
LVL 17

Accepted Solution

by:
OriNetworks earned 500 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now