views:

1669

answers:

6

I just got hold of a PDA (Samsung Omnia i900) with an embedded motion sensor (accelerometer) and would like to code something that would exploit this feature. Any pointers?

A: 

Just a suggestion. Maybe you could design a game where you have small balls that can be brought to the centre of a maze by tilting the PDA at different angles.

Codeslayer
+2  A: 

Although this may not match your device, here is an article using an HTC accelerometer in managed code...

EDIT: This API has been updated to support the Samsung Omnia.

Nescio
A: 

instead of a game why not develop a hour glass??? U can use this for fun and tracking time as well :)

Shoban
Cool idea! Have to re-learn GDI though...
egiboy
A: 

You could do something with reference to microlocation if you have a GPS receiver in your device. You could for example set tasks for rooms you have to accomplish in your appartment and then when you walk into your room you get a message (for example "clean the room"). Such concept would be good for companies as well for task management. Before doing this you should write an algorithm to reduce location errors by reading GPS data and accelerometer data which is also interesting.

niko
GPS indoors? :-)
Johann Gerell
+1  A: 

Currently there is no common public API for WM devices that have accelerometers.

If a WM5 or WM6 device has an accelerometer, any API will be device manufactor specific like the HTC API.

I beleave (and don't take my word on this), that Mircosoft are planning a common accelerometer API for WM7.

Shane Powell
+2  A: 

You might want to take a look at the Samsung Accelerometer API for Windows Mobile devices http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?platformId=2&cntsId=4600

Eugene Emelyanov