Solved

redirect based on a Tablet device

Posted on 2011-09-12
2
206 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C#.NET and microsoft certification. 3 42
Automated testing suggestions? 2 47
Simple Injector with Web Service 4 46
Convert datetime to time string 10 22
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

825 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