Search code examples
ipadhtmldevice-orientationdevice-detection

COnverting web app to ipad app(device detection/event handling)


I need to convert a web app into ipad app. Stressing on style and events.

  1. How to detect device?
  2. How to identify touchevnts?
  3. How to map click to touch,doubleclick to doubletap
  4. How to capture orientation change?

Solution

  • It really depends on the framework and techniques you used for the original web-app. There are plenty of frameworks out there to build an iOS-web-app. For example jQuery mobile, you also might want to have a look into phonegap.

    For the first few steps I can really recommendend reading this free aviable book from o'reilly about creating iPhone-Apps with HTML, CSS and javascript.