API Hacked from the Diamond’s Accelerometer

Posted by Brandon Miniman on July 11th, 2008

So what’s an API? For those that don’t know, an API is an application program interface. It is what allows software developers to control certain core functions of a mobile device, such as phone or contacts list.

The Touch Diamond and Touch Pro are among the first WinMo devices to sport an accelerometer. Unfortunately, HTC didn’t release the API of this feature so that software developers could make programs that use that particular function.

The geniuses over at XDA-Developers have figured out how to allow software for the Diamond and Touch Pro to differentiate not only between X, Y, and Z coordinates, but whether the phone is turned landscape, portrait, or face up. Once developers get their hands on this, we should see more programs that will automatically rotate when you rotate the device, plus games that are controlled by moving the device around.

The below video from msmobiles shows a simple application making use of the accelerometer API.


2 Comments

Post a Comment


The Samsung i900 Omnia Competes with the Diamond | Home | Shake that Diamond with the Diamond Profile Switcher