touch: autodetect touch device and serve touch UI

Bug #580778 reported by mangtronix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Internet Archive BookReader
Fix Released
High
mangtronix

Bug Description

Automatically detect touch device and serve touch-based UI.

mangtronix (mang)
Changed in bookreader:
assignee: nobody → mangtronix (mang)
importance: Undecided → High
milestone: none → r26
status: New → Confirmed
Revision history for this message
mangtronix (mang) wrote :

The 4 basic classes of devices, from a post on stackoverflow.com:

http://stackoverflow.com/questions/2607248/optimize-website-for-touch-devices

It sounds to me like you want to have a touch-screen-friendly option, to cover the following scenarios:

1. iPhone-like devices: small screen, touch only
2. Small screens, no touch (you didn't mention this one)
3. Large screens, no touch (i.e. conventional computers)
4. Touch-screen-enabled large screens such as iPad, notebooks/pcs with touch screens.
For case 1 and 2 you will probably need a separate site or a CSS file that eliminates lots of unnecessary content and makes things larger and easier to read/navigate. If you care about case #2 then as long as the links/buttons on the page are keyboard-navigable then case 1 and 2 are equivalent.

For case 3 you have your normal website. For case 4 it sounds like you want clickable things to be bigger or easier to touch. If it's not possible to simply make everything bigger for all users, an alternate style-sheet can provide you with the touch-friendly layout changes.

Revision history for this message
mangtronix (mang) wrote :

Added detection for iPad and iPhone/iPod. Still possible to select another ui mode by adding ?ui={mode} to the stream URL.

Revision history for this message
mangtronix (mang) wrote :

Added detection for Android.

Changed in bookreader:
status: Confirmed → Triaged
mangtronix (mang)
Changed in bookreader:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.