locked
Need suggestions on G-sensor/Accelerometer development RRS feed

  • Question

  • Recently I have to do some development on G-sensor/ accelerometer, and I plan to do it on Windows Mobile. Since I have no experience on G-sensor development so there are few questions to ask.

    I did the searching in the forum but didn't get what I want. Any suggestion is welcomed!!

    Here are my questions:
    1. Which phone should I buy ?
    [MySpecs]
    A phone that is suitable for performing g-sensor/accelerometer(3 Axis) development on.

    2. About SDK
    I've downloaded Samsung SDK and htcsensorsdk (http://blog.enterprisemobile.com/2008/07/using-htc-diamonds-sensor-sdk-from-managed-code/), Windows Mobile Unified Sensor API (http://sensorapi.codeplex.com/)and a sample sensortest from Scott's blog (http://scottandmichelle.net/scott/index.html).

    For HTC
    1) htcsensorsdk/Windows Mobile Unified Sensor API /sensortest, where can I get the latest version?
    2) which phones do they support? (Touch HD/HD2, Touch Diamond/Diamond2, Touch Pro/Pro2)
    3) Is there other or better SDKs?
    4) what is the maximum sampling rate I can get? Or which chip is used in the phone so I can google it to get more details about the g-sensor.

    For Samsung
    1) Since Samsung officially offer SDKs to do development, why still lots of people (I think) do development on HTC phones? Are there some tech reasons that I didn't know?

    Thanks lot!

    Saturday, May 1, 2010 8:16 AM

Answers

  • Unfortunately, there is no standard in the Acceleromater world (unlike GPS where you have the GPSID), so it depends on the OEM to build the SDK and distribute it.

    Regarding your multiple questions, any phone with Accelerometer would work but before you buy a device, make sure you know how much audience you are targeting. HTC devices are the most sold (followed by Samsung i guess). so i would recommend HTC as you will can test against almost all the new generation devices.

    2) The SDKs you have downloaded are good, you sould be able to start from there.

    2-1) you posted the codeplex project, the latest version should be there.

    2-2) i guess that all HTC devices use the same hardware, so the same SDK will work on 90% of HTC devices.

    2-3) unfortunately,i'm not aware of any.

    2-4) i guess this depends on how many times you read the value per second, the faster you do the more recent data you get, however keep in mind that reading the value alot per second results in battery drainage. (a game called Teeter on most HTC devices is a realtime accelerometer controlled ball which is very accurate).

    3-1) HTC are the most spread phones out there, if you execlude HTC you are limiting the number of users of your application.


    If you find my post helpful, please market as an answer or vote for it.
    Check out the DualTouch SDK for Resistive touchscreens (WM) http://www.windowsphoneme.com/?p=386
    Visit our community, http://www.windowsPhoneME.com
    • Marked as answer by Yuanhang Guo Thursday, June 3, 2010 1:48 AM
    Thursday, June 3, 2010 1:33 AM

All replies

  • Unfortunately, there is no standard in the Acceleromater world (unlike GPS where you have the GPSID), so it depends on the OEM to build the SDK and distribute it.

    Regarding your multiple questions, any phone with Accelerometer would work but before you buy a device, make sure you know how much audience you are targeting. HTC devices are the most sold (followed by Samsung i guess). so i would recommend HTC as you will can test against almost all the new generation devices.

    2) The SDKs you have downloaded are good, you sould be able to start from there.

    2-1) you posted the codeplex project, the latest version should be there.

    2-2) i guess that all HTC devices use the same hardware, so the same SDK will work on 90% of HTC devices.

    2-3) unfortunately,i'm not aware of any.

    2-4) i guess this depends on how many times you read the value per second, the faster you do the more recent data you get, however keep in mind that reading the value alot per second results in battery drainage. (a game called Teeter on most HTC devices is a realtime accelerometer controlled ball which is very accurate).

    3-1) HTC are the most spread phones out there, if you execlude HTC you are limiting the number of users of your application.


    If you find my post helpful, please market as an answer or vote for it.
    Check out the DualTouch SDK for Resistive touchscreens (WM) http://www.windowsphoneme.com/?p=386
    Visit our community, http://www.windowsPhoneME.com
    • Marked as answer by Yuanhang Guo Thursday, June 3, 2010 1:48 AM
    Thursday, June 3, 2010 1:33 AM
  • Thank you for your patient and the answers. I've already buy an HTC phone.
    Thursday, June 3, 2010 1:51 AM