Quantcast
Channel: :: MobilePornNews.com :: » Device
Viewing all articles
Browse latest Browse all 13

HTML5 for the Mobile Web: Device Orientation Events

$
0
0

In this third article in our series on HTML5 for the mobile web, we take a look at the Device Orientation API. This API provides information about the orientation and movement of a device. Information comes from the positional sensors such as compasses, gyroscopes and accelerometers. Via this API, a web app can access and make use of information about how a device is physically oriented in space.

Use cases include game control based on device tilting, and mapping where a map is correctly aligned with the world based on the device orientation data.

read more

mobiForge Recent Content


Viewing all articles
Browse latest Browse all 13

Trending Articles