yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] FooL:
Idea

What about a "GSen - DPAD controller" where you can controle the Left / Right / Up / Down directions by tilting the Diamond.

I am especially thinking about games : for example, it's a big pain in the *ss to control mario kart (in PocketSnes) with the diamond DPAD, although it might be easy and fun to turn with the Gsen !!!

This software could be controlled as the SKKV GSen App where you can select which software use it or not !

what do you think ?

I precise it is just an "idea" because I have no dev skills on PPC
[Touch Diamond, MDA Compact IV Themes and Apps] mugglesquop:
what do u think this is?

it is on the first post.
[Touch Diamond, MDA Compact IV Themes and Apps] sensorama:
Ive posted a request on the developers forum with links to the sdk on the diamond wiki.

It would be really nice to see some cool games that utilizes the g-sens function in a creative way.

Another cool game would be something like the 3d version of marble madness:

http://www.youtube.com/watch?v=mX4D7dRMUss
[Touch Diamond, MDA Compact IV Themes and Apps] FooL:
This is to use the Diamond as a PC game controller. I propose to control games ON the diamond with the GSEN.
[Touch Diamond, MDA Compact IV Themes and Apps] chand4u76:
G Sensor enabled Alarm Clock

http://www.koushikdutta.com/2008/07/klaxon-windows-mobile-g-sensor-enabled.html
[Touch Diamond, MDA Compact IV Themes and Apps] svenss:
you have to read there's standing: "request :) Toch Diamond as a pc gamecontroller"
[Touch Diamond, MDA Compact IV Themes and Apps] pego2007:
nice idea ??

@ Hi to all

I`snt it a nice idea for g-sensor app ?:p

greetz

pego 2007
[Touch Diamond, MDA Compact IV Themes and Apps] Da9L:
i don't get it .. What should that use the g-sensor for? But its nice anyway.. :p
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
updated... I think!

I have an idea...

a plane noise. so as you move the phone around in the air, starts to make plane noises. like you would try to spoon feed a kid. as you dip, you get the eyyooooooo, and on the way up it goes, maaaaaaa, and when you shake it, it shoots: ratatatatat :)
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
another idea:

dice! you shake it, and the dice shakes on the screen. nice and easy!
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
sorry, I'm having a flurry of ideas today!

how about powerball? you know, if you get the spin right, you increase the rpm sorta thing.

I'm not sure that'll be so good for the g sensor, as all the mecrury (is that how it works?) inside would probably disintegrate into small bubbles!
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
and another...

Maracas!! :D
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
I really don't know what's happening to me today! I'm in the train and bored, so coming up with loads of ideas

pendulum?!
[Touch Diamond, MDA Compact IV Themes and Apps] uniqueboy:
Brainstorm agogo today, how about a snowstorm you could put in your own wallpaper, utterly useless but nice anyway. We are getting a lot of ideas here, sometimes it takes a silly idea to spark off something monumental, I can feel it coming.
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
that is cool, do you mean like one of those snow domes?
[Touch Diamond, MDA Compact IV Themes and Apps] uniqueboy:
That is exactly what I mean.
[Touch Diamond, MDA Compact IV Themes and Apps] svenss:
hehe nice idea i love the snow domes always shaking that thing :D
[Touch Diamond, MDA Compact IV Themes and Apps] uniqueboy:
I'd be so chuffed if someone finally picked up one of my crazy ideas!
[Touch Diamond, MDA Compact IV Themes and Apps] uniqueboy:
Pocket hand job

Appologies for this suggestion, please mods delete if its too rude for this forum, but having just about polished off a bottle of wine, my girlfriend has suggested a wanking machine! I leave the details and the actions to your imagination!

Edit: I said I could feel it coming!
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
I'm not sure I'd install that!
[Touch Diamond, MDA Compact IV Themes and Apps] uniqueboy:
I know I wouldn't either! But just for testing.

Don't put it on your main post 1 list please, I feel embarrassed and ashamed now.
[Touch Diamond, MDA Compact IV Themes and Apps] danthekilla:
Heres a small test app i made

hey guys heres my first diamond app im going to make a few games that use the tilt sensor i have a few weeks free soon so keep all them ideas coming

it just simulates a bunch of differently sized balls but its cool (try it in a car with it being held flat) lol

http://rapidshare.com/files/133720330/Ball_Simulation_Ver_0.31.rar.html
[Touch Diamond, MDA Compact IV Themes and Apps] danthekilla:
so no one wants to try my ball simulator

if you have can you tell me what you thought please

i also have made a magic 8 ball application using the g-sensor too

link:

http://rapidshare.com/files/133799977/Magic_8_Ball_0.1_alpha__bug_free_just_not_finished_.zip
[Touch Diamond, MDA Compact IV Themes and Apps] sciep:
First of all...Thank you to all developers for creating all those nice apps.

A thing I can't find for the HTC Diamond is this (iphone has it:mad:):

http://www.youtube.com/watch?v=Nc0jbWOCe2o

It's a fluid on your screen and if you flip the device, the fluid follows the movement. Would be fun with a fish in it or something :D
[Touch Diamond, MDA Compact IV Themes and Apps] uniqueboy:
Hi danthekilla, just tried your stuff, it is working properly on my Diamond with dutty's v1, the graphics could do with sprucing up a bit but a cool start. Looking forward to what you come up with next, how about a snowstorm? and thanks for your work.
[Touch Diamond, MDA Compact IV Themes and Apps] danthekilla:
its just a video not a real fluid simulation they just remember the movements thats why if you look at the 5 different videos on youtube they all do the exact same motion
[Touch Diamond, MDA Compact IV Themes and Apps] dscemama:
Diamond TV is also compatible with G Sensor:

http://www.diamondtv.fr
[Touch Diamond, MDA Compact IV Themes and Apps] emre_aachen:
it was so nice Danthekilla... The only problem (or your taste) was that there are different gravititions on diffeent balls :) it takes different times to reach ball to the other edge while they are stainary standing on one edge...

Furthermore I think I could help you in writing diff. eqns for the mass spring behaviour of such things if ofcourse you need...

I wish you keep coding ;) The only thing I am looking for (i cannot write codes :( ) is one of those car performance meters that iphone has already had... 0-100km, G-meter, whatever...
[Touch Diamond, MDA Compact IV Themes and Apps] Pixeye:
great idea here !

hi,

first i'm sorry for my poor english.

i think about one thing : if everyone create one app used gsensor it's create a lot of bug or conflicts.

the best way is to create one app with plugins :

in this app we have list of all move possible like shake slow, shake fast, face down...

the final user associated one move to a plugin.

i'm not a developer yet, please anyon can create this ? i'm sure it's a good thing.
[Touch Diamond, MDA Compact IV Themes and Apps] Koush:
Hi Sama, can you change the G-Sensor SDK to the following link:

http://www.koushikdutta.com/2008/07/using-htc-touch-diamond-sensor-sdk-from.html

You are currently linked to my employer's website (where I also publish copies of my blog entries), and not mine. Mine will maintain up to date links to the SDK.
[Touch Diamond, MDA Compact IV Themes and Apps] sciep:
Ow, okay. I'm sorry then. Would be nice to have something like that anyway. Too bad I suck at coding. I appreciate your work.

Cheers.
[Touch Diamond, MDA Compact IV Themes and Apps] robinVerdegaal:
I needed the maracas sensor application today. Possibly in combination with a tambourine. Somebody please? :D :D

[edit] How could i forget? Ofcourse we need a cowbell as well [/edit]
[Touch Diamond, MDA Compact IV Themes and Apps] ArtoD2:
Yes, MORE cowbell!
[Touch Diamond, MDA Compact IV Themes and Apps] ArtoD2:
Personal alarm device

one more idea to the mix...

how about movement sensor alarm soft? if the phone moves, it starts to "scream" like a bat out of hell :p
[Touch Diamond, MDA Compact IV Themes and Apps] Brevi:
G-Sensor Calibrator is working now!
[Touch Diamond, MDA Compact IV Themes and Apps] uniqueboy:
Nice Idea, but why MeatLoaf?
[Touch Diamond, MDA Compact IV Themes and Apps] ArtoD2:
for example, on my workplace, i'll go and take a dump and leave the phone on my desk (for some reason i'm not in the solitaire mood)... i can set it to alarm -mode so that my pranking workmates crap their pants when they touch my phone or laptop, if i leave the phone on top of the laptop...
[Touch Diamond, MDA Compact IV Themes and Apps] uniqueboy:
Hi sama, just found this one "sensor maze".

http://xdaforums.com/showthread.php?t=413531
[Touch Diamond, MDA Compact IV Themes and Apps] cakrit:
i found this

its funny, it will be nice to see something like this freeware ;)
[Touch Diamond, MDA Compact IV Themes and Apps] pldi:
thanks very mach!!!!
[Touch Diamond, MDA Compact IV Themes and Apps] iliescu902:
nice bundle of appz. greatly appreciated :)
[Touch Diamond, MDA Compact IV Themes and Apps] mscosta:
block breaker?

another idea is a game like brick braker or block breaker, were the bar is moved by the G sensor...
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
just released the first (very basic) version of my next G sensor game: G-Invaders

http://xdaforums.com/showthread.php?t=414399
[Touch Diamond, MDA Compact IV Themes and Apps] kultus:
so what about arkanoid and space invaders
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
Beer application

Check here for a draft beer application:

http://xdaforums.com/showpost.php?p=2488658&postcount=21

And for SensorMaze:

http://xdaforums.com/showthread.php?t=413531
[Touch Diamond, MDA Compact IV Themes and Apps] cataplof:
Idea

Hi, I think in some kind of alarm , motion based, for example to keep the baggage secured in the airport or in the train. Else it could be added a gps sms

ops! , I see a similar post, sorry
[Touch Diamond, MDA Compact IV Themes and Apps] oddjobb57:
It would be a good to add the magic 8 ball developped by Danthekilla in the first post :

http://xdaforums.com/showthread.php?t=413155
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
hi guys, I've been away for the weekend. I'll catch up with it all and update the first post soon.
[Touch Diamond, MDA Compact IV Themes and Apps] Nameless21:
i think gigabytes new gsmart phones come with that game,

http://www.phonehello.com/cellphones/gigabyte-unveils-new-gsmart-trio-at-computex/

it has a G-Sensor

would be nice if someone could get the cab file.
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
ok, I've sivved through the posts and updated the first post. Please let me know if I've missed anything.

Cheers
[Touch Diamond, MDA Compact IV Themes and Apps] ArtoD2:
Beer is allready released, beta tough...

http://xdaforums.com/showpost.php?p=2488658&postcount=21
[Touch Diamond, MDA Compact IV Themes and Apps] danthekilla:
G-flow

Here is the first release of G-Flow

which is a cool little game kinda like a futuristic version of snake

E-mail me on game requests and any bugs you guys find and please donate

Download Here
[Touch Diamond, MDA Compact IV Themes and Apps] logger:
Here's my very original idea for a G Sensor application. Dunno why no one has mentioned it earlier. Maybe it is not possible, but on the other hand...

How about a ....wait for it.... a G Sensor.

What I mean by this is an application that displays G forces, not angles in degrees or bubble tilt. I just mean plain old G Force.

Was flying along in my plane today and fiddling swith the Digital Flight Data Recorder (DFDR) and from it I can dynamically read

VRTG - vertical G

LATG - Lateral G

LONG - Longitudinal G

I read that the KXSD9 "Kionix low-g accelerometers can be used to achieve precise measurements of inclination (tilt). Motion sensing and drop-detection applications can be readily implemented with Kionix accelerometers featuring built-in algorithms and interrupt outputs."

So is it possible to make a Black Box style G force recorder application. I have no idea if the accelerometer chip is always on and measuring in the Diamond. Assuming it was or could be made to be this is what I envisage:

The applications would run in a continuous loop recording the dynamic G Forces at say 1 sec intervals meausered by the chip, say for the last 1 hour. Time period could be limited by how much info needed to be stored.

User could then using some form of GUI see a graph of g forces experienced on the three axis. Maybe it could even hide readings below a threshold and only show spikes.

The Black Box application would have to have an Orange icon of course cos everyone knows a Black Box is not Black.

Now how/why on earth might this be useful?

Well it could form as rudimentary crash recorder for use on your person. Say you stacked your car, you could take a look at it (when you regained consciousness) to see how hard you hit :eek:

Flying my plane I could have a competition with my Co Pilot to see who could do the smoothest landing :cool: You get the drift.

If it was a goer it might even have safety or insurance type uses, who knows.

What do you reckon. Is this do able with this hardware? Seeing it was my idea we could even call it "Black Box G Logger" :D :D
[Touch Diamond, MDA Compact IV Themes and Apps] robinVerdegaal:
PSYCHO!

Stab the air with your Diamond like you're stabbing the shower curtain

in Psycho, and activate the scene's signature violin soundeffects.

squeek! squeek! squeek! squeek! :eek:
[Touch Diamond, MDA Compact IV Themes and Apps] penguin:
lunarTilt v.09 update is now posted here with levels, landing pad and improved installer (you can now also install to Internal Storage)

Find it here: http://www.pocketmax.net/smf/index.php?topic=6500.0
[Touch Diamond, MDA Compact IV Themes and Apps] RedUser:
If someone has made the game similar to these for GSensor, it would be excellent. :)
[Touch Diamond, MDA Compact IV Themes and Apps] Trident:
This might also be a nice "security" feature.

When the phone moves after a predetermined amount of non-movement, you get 5 seconds to enter a code or the device sounds an alarm.

Could call this version "G-Lock".
[Touch Diamond, MDA Compact IV Themes and Apps] akucher:
Bad link for Kai's Bubble Level.Net

fix it please
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
thanks man, fixed
[Touch Diamond, MDA Compact IV Themes and Apps] rollerg2008:
How about a Diamond version of Etch-a-Sketch :)

Admitedly the only use for the G Sensor would be when you want to clear the screen by shaking the phone, just like in the original.

I guess the dials would have to work something like this:

[Up - Down] would be on the left button graphic.

(finger sweeping up repeatedly over the button would create a vertical line heading to the top of the screen etc etc..)

[Left - Right] on the right button

Holding down on both areas would create the diagonal (depending on the combination) .....

or someone could just create bluetooth etch-a-sketch dials ...lol..

Could be re-used to tune the appalling radio in or maybe be a retro volume dial....... "I`ll get me coat" :p :)
[Touch Diamond, MDA Compact IV Themes and Apps] sama:
nice idea!

it looks like the need for a unified architecture for the g-sensor is in order. a library that can detect:

shake, tilt, roll, etc, and raise events which other programs can hook on to, would mean one implementation for each movement would be enhanced, rather than lots of different people trying to create the code for a shake.

someone already mentioned this in this post here
[Touch Diamond, MDA Compact IV Themes and Apps] l3v5y:
Black Box G Logger

First attempt at using the Diamond sensor, and since I don't have a device my self, someone else will have to test it.

It's a formless app that logs the X/Y/Z data and time every second. Data is stored as a file specified by HKCU\\Software\\l3v5y\\BlackBoxGLogger under the string value "Path" (default is \BBGL.csv) in the CSV format (datetime,X,Y,Z).

The file can be opened in excel or similar and a graph can be produced from that.

Also, I've failed to get the icon! If someone feels like making one, drop me a PM!

Things I'm working on:

Customisable time between checks

UI

Graphing

EDIT:

Needs .NET CF 2.0 or above!
[Touch Diamond, MDA Compact IV Themes and Apps] Koush:
Hi, I'm the developer of the Managed Sensors library for the HTC Diamond. I wrote something like this basically for Klaxon. I'll add it to the Sensors project that everyone uses sometime.

Please PM me a list of events you would like to be accessible via the the API. So far I have:

Shake Fast

Shake Slow

Flip

Keep in that a lot of these events are similar enough that the user can trigger multiple events with one action. Like, flipping the phone over very fast can cause the flip event and the shake event to fire.
[Touch Diamond, MDA Compact IV Themes and Apps] bobcntsa:
diamond as wiimote

I m verry sorry if someone already write about that, I did try the search engine but I did n t find anything.

Dear lord developers, why not create an application to emulate a wiimote (wii remote controler) in order to play wii with the diamond.

thank you for reading :)
[Touch Diamond, MDA Compact IV Themes and Apps] teomatteo89:
Maybe a re-posted question: does anyone have ported the "ibeer & co"(like the one with half dollar..) application for iphone to our loved diamond? :D

like this: http://it.youtube.com/watch?v=A3MfQ..._download_magic_for_iphone_and_ipod_touch.php
[Touch Diamond, MDA Compact IV Themes and Apps] l3v5y:
There is the Diamond Beer app (see link in the first post).
[Touch Diamond, MDA Compact IV Themes and Apps] logger:
Nicely Done. Seems to be doing exactly what you said it should.

Couple of quick observations. The File BBGL.csv is growing at 0.1k a second. Think it will grow to about 10mb a day very roughly. Can open in excel on the PC not probs. Tried changing the extention to .xls but Excel Mobile cant open it. No big deal. Graphs just fine in Excel on PC.

Was stunned this morning to see someone actually went and made the app. I thought the lack of responeses meant no one would be interested.

Obviously the app is doing what it intended. It is recording and logging the G to a file on the diamond. Now of course there is plenty of room for an interface.

More later - Very well done.
[Touch Diamond, MDA Compact IV Themes and Apps] logger:
Actually l3v5y, on further investigation - It looks like your app is actually logging the TILT angle of the device and not the G FORCE or acceleration. I don't even know if the G sensor can be made to output G. but given that it is called a G Sensor I thought this would be possible. Does anyone else around here know? Logging the G is what we are after and not the TILT.
[Touch Diamond, MDA Compact IV Themes and Apps] l3v5y:
Could you send me a log file so I can have a look? I don't actually have a Diamond, so I can't test it myself!

In theory, my app should poll the sensor for the X/Y/Z acceleration.
[Touch Diamond, MDA Compact IV Themes and Apps] Drpa:
Bad registry values

Guys please can you place here all your register keys and values in HKLM\Drivers\BuiltIn\GSensor\ ? Because When I tried calibration my sensor isnt working now when I replace values. Thank you !
[Touch Diamond, MDA Compact IV Themes and Apps] logger:
Here you go. Actually I was talking out of my backside as usual. It is catching the spikes after all. Intentionally dropped my diamond on all six faces and noted the time of each event. Spikes do show up except in one case when perhaps the spike occurred in between the polling interval. What was confusing me was the static readings show readings that are not 0 or 1G but approx 9.5 units either + or - on one axis which which would be gravity.

Here are a couple of hightlights, but there is about 15 minutes worth in the csv file. Gaps are when the phone powes itself off.

0.0196	-0.0686	-9.7314	Sitting static screen face up

-6.0858	11.6914	-25.2742	Drop on Back with screen face up

The difference between -25.2742 and -9.7314 of about 15.5 whatevers represents the deceleration. Is that Gs do you reckon?

-0.4606	-0.3724	9.506	Sitting static screen face Down

-2.6558	-0.735	5.3998	Drop on Screen but not as hard

I have gone through an commented the CSV file with known events or orientation when static. Will make a longer log file tomorrow when driving in my car.
[Touch Diamond, MDA Compact IV Themes and Apps] DanGlee:
Just thought of another idea for the sensor apps... unless its already been put here...

You remember those pens from the 80's with the water in them and when you turned them over the woman's (or mans!) clothes came off.... you see where I'm going with this :)

Fun little app to show the lads in the pub :D

If somebody makes one, please pick a hot woman!

Cheers,

DG
[Touch Diamond, MDA Compact IV Themes and Apps] l3v5y:
The numbers are the acceleration (in meters per second squared). So, if the sensor is correctly calibrated, you should get a downward acceleration of 9.8, and nothing else.

The CSV file increases in size each time a new line is written. I've got a version that should allow an alteration of how often the polling takes place.

Here are two images that demonstrate the forces:
[Touch Diamond, MDA Compact IV Themes and Apps] l3v5y:
Just had a thought for app development!

Because all the data pulled from the Diamonds sensor has to go through the home build Sensor SDK, would it be possible to calibrate this data, rather than having to delve into the way HTC have done it?
[Touch Diamond, MDA Compact IV Themes and Apps] Koush:
Yes. It seems that everyone is using my Sensor API anyways, so I could write a tool that calibrates the output from my API. I'll do that this weekend.
[Touch Diamond, MDA Compact IV Themes and Apps] Koush:
Add this to the list please!

Sensory Overload
[Touch Diamond, MDA Compact IV Themes and Apps] JayZee2:
Marble Madness 3D using the g-sensor is available as a Java application for Sony Ericsson K850i / W910i e.g. here

I installed it on my TD but only got a scrambled first screen and nothing else. Shouldn't it be easy for someone who knows Java to adjust the code for the Diamond using Koush's SDK?

Thanks

JayZee2

Edit: I thought it's worth to open a separate thread on this
[Touch Diamond, MDA Compact IV Themes and Apps] JayZee2:
great application, I am impressed! Thanks and keep up the good work!

JayZee2
[Touch Diamond, MDA Compact IV Themes and Apps] cgeboers:
Java and Sensor SDK

The problem is rather that JME does not allow JNI code as far as I know and the standard JVM on the Diamond can not access the Sensor. Does anybody know how I could implement the Sensor SDk for Java ? I have a fair knowledge about JNI and Java on other platforms, but not on WM.

Alternative might be to have a "COMx" interface for the Sensor, which allows your Java program to read the data, just like it would read the GPS data. Might be something I could dive in a bit later or it might give ideas to other people ?

BTW, do you have the sources for Marble Madness ? If not, porting it might not be as easy as 1-2-3
[Touch Diamond, MDA Compact IV Themes and Apps] deblix:
shaken stopwatch

I like to suggest a stopwatch start en stop while shaken
[Touch Diamond, MDA Compact IV Themes and Apps] skilty:
Idea - i'd like to see it used in the standard contacts app or a developed one - i.e press contacts - press letter - then tilt to scroll through names under chosen letter.

anything already out there similar to this?
[Touch Diamond, MDA Compact IV Themes and Apps] lightwolf:
It would be beatiful to have a game like mercury on Diamond, controlled by G-Sensor