Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sushilange
Old
(Last edited by sushilange; 28th June 2008 at 10:03 AM.)
#1  
Senior Member - OP
Thanks Meter 9
Posts: 478
Join Date: Aug 2007
Default Any news about accelerometer API?

Hi,

where could i find the API/SDK for the accelerometer, because i would develope an an application (.net cf) which should use the g-sensor.
 
sushilange
Old
#2  
Senior Member - OP
Thanks Meter 9
Posts: 478
Join Date: Aug 2007
no ideas?
 
Caspertje19
Old
#3  
Senior Member
Thanks Meter 13
Posts: 227
Join Date: Apr 2007
Location: Purmerend
Take a look at this application, maybe you can contact the author. I don't know if any API/SDK is used, but it is the first program I have seen wich uses the accelerometer:
http://forum.xda-developers.com/showthread.php?t=403939
 
sushilange
Old
#4  
Senior Member - OP
Thanks Meter 9
Posts: 478
Join Date: Aug 2007
Thanks, but he don't want to tell us, how they did it.
 
Magic_Knight
Old
#5  
Member
Thanks Meter 4
Posts: 50
Join Date: Jan 2007
Location: Monza
The authors of GSen won't tell anybody how he did it.
It's a commercial software house... someday they will surely try to sell that utility or develope some commercial applications and games using Diamond's accellerometer.
I presume they reverse engineered Teeter or Opera to find out how it works.
 
CharlyV
Old
#6  
CharlyV's Avatar
Senior Member
Thanks Meter 0
Posts: 113
Join Date: Nov 2004
At moment, we keep the infos for several reasons.
GSen is " freeware ", no need to change the status.
SKKV Software
 
MasK
Old
#7  
MasK's Avatar
Senior Member
Thanks Meter 25
Posts: 773
Join Date: May 2005
Location: Singapore
Quote:
Originally Posted by CharlyV View Post
At moment, we keep the infos for several reasons.
GSen is " freeware ", no need to change the status.
Great software ya got there.
Just a feedback.. it's a real pain to edit the config file.
The save function on the device doesnt work. It's like the same function as "restore to default". I had a number of apps there and all gone when I clicked saved. Undo doesnt seem to work either.

Looks like I gotta do the hard way.. check for the window names and edit the config file on PC manually.

Visit my blog: www.imraneo.com

Palm m100 | Cassiopeia E-125 | iPaq hp2210 | O² XphoneII | O² XDAII Mini | O² XDA Atom | HP rw6828 | HTC P3300 | HTC Touch Cruise | HTC Touch Diamond | HTC Touch Diamond2 | HTC HD2 |
Samsung Galaxy S | Samsung Galaxy S2 | Galaxy Nexus | HTC Oneˣ | Samsung Galaxy S3 LTE | Sony Xperia Z | Samsung Galaxy S4
 
Leechoonhwee
Old
#8  
Leechoonhwee's Avatar
Senior Member
Thanks Meter 75
Posts: 850
Join Date: Apr 2006

 
DONATE TO ME
Checkout OnDeviceTilt...
 
sushilange
Old
#9  
Senior Member - OP
Thanks Meter 9
Posts: 478
Join Date: Aug 2007
After a lot of searching and disassembling manila.exe, etc. i figure out, that we have to use "HTCSensorSDK.dll" in Windows-Directory.

There are functions like "HTCSensorOpen", "HTCSensorClose", etc.

The problem is, that I don't know the parameters of these functions, and HTC won't answer on emails.
 
walshieau
Old
#10  
Senior Member
Thanks Meter 16
Posts: 1,503
Join Date: Nov 2006
Quote:
Originally Posted by sushilange View Post
After a lot of searching and disassembling manila.exe, etc. i figure out, that we have to use "HTCSensorSDK.dll" in Windows-Directory.

There are functions like "HTCSensorOpen", "HTCSensorClose", etc.

The problem is, that I don't know the parameters of these functions, and HTC won't answer on emails.
the HTCSensorSDK is the Light Sensor not the Accelerometer API, you should disasm the "Teeter" game on the Diamond to see what API's its using

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more