HTML5 设备访问入门
GeolocationGeolocation工作原理Geolocation APIgetCurrentPosition方法Geolocation数据Handling ErrorsPositionOptions对象watchPosition()方法和clearWatch()方法Example相关资源设备事件 可以让开发人员确定用户在怎样使用设备(智能手机,平板电脑)orientationChange 事件MozOrientation 事件deviceorientation 事件devicemotion 事件触控和手势Notes: 有些手势不产生事件,有些手势需要在一定的条件下才会产生事件;但是我们可以通过组合各种手势进行处理。One-Finger EventsThe panning gestureThe touch and hold gestureThe double-tap gestureTwo-Finger EventsThe pinch open gestureTwo-finger panning gestureMulti-Touch Events在线阅读 Slides