Tilt sensor tester showing tilt SDK in HTC Touch Diamond - Touch Diamond, MDA Compact IV General

VID
Very Nice. Let the apps start rolling.
-Shake for answering calls.
-Scroll a web page or any other scrolling done by just tilting the gorgeous phone.
More ideas? Ill start posting and adding. So show your imagination boys!
_______________________________________
Motion Sensor Appsssss:
_______________________________________
1. Mr. CharlyV (pioneer i believe) Click Thanks we apreciate.
2. Mr. Sushilange: Click Thanks very much Mr. Sushilange.
3. Mr. Stesa: Great "shake and wake" idea!!!!!
4. Public demand of a Gsensor calibrating tool.

Sergio PC said:
VID
Very Nice. Let the apps start rolling.
Click to expand...
Click to collapse
yeah! I have ideas for games but unfortunatly not the possibilities to write the soft
Read this article for more information about the SDK:
http://msmobiles.com/news.php/7477.html

Let's try this in VB.net, as soon as I manage to get it to work I will try to write some games (don't know if I can but I will try )

I hope someone can create some kind of calibrating tool, mine needs to be calibrated really bad.

I'm still working on a new app which uses the sensor, but it'll takes a bit time, until i can release it.
Until i released it, i don't tell you what app it is

sushilange said:
I'm still working on a new app which uses the sensor, but it'll takes a bit time, until i can release it.
Until i released it, i don't tell you what app it is
Click to expand...
Click to collapse
I'm really wait for your good try. Keep it on.

ahaa.. godd news. v all r waiting.

This really does allow developers to start making some killer apps for our diamon. Carnt wait to see what pops up over the next few weeks!!

Hi I've a idea is:
1) When shake on vertical (UP => Down => UP) then LOCK the phone
2) When shake on horizontal (LEFT => RIGHT => LEFT) then UNLOCK the phone
I think this is so cool when you use the phone ^_^

So, here is my app: http://forum.xda-developers.com/showthread.php?t=406769
@Wolfblood: I can do this, if i have time, because it is not so different than my new app. Instead of changing the profile, i would change the lock status.

sushilange said:
So, here is my app: http://forum.xda-developers.com/showthread.php?t=406769
@Wolfblood: I can do this, if i have time, because it is not so different than my new app. Instead of changing the profile, i would change the lock status.
Click to expand...
Click to collapse
Maybe there could be a sticky thread with links to the apps which make use of the g-sensor?
I am about to develop a very, very simple spirit-level app for teh diamond just to get used to the sensor api for C# http://blog.enterprisemobile.com/2008/07/using-htc-diamonds-sensor-sdk-from-managed-code/
btw: is there any information on other apis as for instance to the vibration, the camera etc.? i couldn't find anything for the touch diamond
edit: teh simple spirit level test can be found here: http://forum.xda-developers.com/showthread.php?p=2389529&posted=1#post2389529

sushilange said:
So, here is my app: http://forum.xda-developers.com/showthread.php?t=406769
@Wolfblood: I can do this, if i have time, because it is not so different than my new app. Instead of changing the profile, i would change the lock status.
Click to expand...
Click to collapse
Nice nice, looking forward.
What about an app that answers a phone call with a shake? i belive they had it on the Nokia n95 if im not mistaken.
Good luck dude!!

what about a shake to wake up from standby ?

Did anyone managed to get this to work in VB.NET instead of C#? I know VB.NET but not C#...

Sergio PC said:
-Scroll a web page or any other scrolling done by just tilting the gorgeous phone.
Click to expand...
Click to collapse
That feature was on the Athena .. VueFlo I think it was called
Would be pretty sweet indeed.
One question though .. if we had more than one app making use of the tilt sensor, so say Gsen and the Profile switcher (haven't tried the latter yet, sounds great though), would they both work together?

Very nice very nice, the idea by Mr. Stesa, ill like my diamond to wake and .... !
peace.

Can somebody post a "Hello World" package with the included dll for VisualStudio 2005?

Tilt Sensor Calibration
I think a VERY usefull application will be a sensor calibration app, may Diamonds including mine, have sensor declination.
You can test it laying diamond without backcover in a flat table, you can se if Teeter ball´s stay without moving or it´s going to anyway, in my case, it going down and to the left.
I Don´t know if this calibratión can be stored in registry and make it permanent, but this would be great. Calibration app only have to ask user to put diamond in really flat an leveled surface to make the work.
Thanks for this great stuff.

sushilange said:
So, here is my app: http://forum.xda-developers.com/showthread.php?t=406769
@Wolfblood: I can do this, if i have time, because it is not so different than my new app. Instead of changing the profile, i would change the lock status.
Click to expand...
Click to collapse
Hi Sushilange,
Thanks for you hear my voice ^_^
Today I've think more what can we do on Diamond. Then I think maybe we can add function key + shake to do more. Like:
1) Hold Down the Vol Down Key + shake horizontal = Play Next Music/SMS/Email/Photo
2) Hold Down the Vol Up Key + shake horizontal = Play Previous Music/SMS/Email/Photo
3) Hold Down the Action Key [The Round Button] + shake to Right = Move the TouchFLO3D Tab to Next Right Tap
4) Hold Down the Action Key [The Round Button] + shake to Left = Move the TouchFLO3D Tab to Next Left Tap
5) Hold Down the End Key + shake = Close all application
6) Hold Down the Phone Key + shake = Open the Contacts
7) Hold Down the Back Key [←] + shake = Switch to Next Running application
8) Hold Down the Home Key + shake = Open your favorite application
9) Hold Down the Power Key + shake = Turn the LCD in WHITE and MAX the Backlight, So Diamond become a supper flashlight!
10) When not press any key + Rotation = Auto-Rotation just like GSen
See the Diamond can do a lot of things and iPhone can go back to home
Maybe if can open those setting for user then they can custom the action what they need will be best for all people ^o^
Sushilange, You are very cool and you creating a very cool tools too ^o^

Shake to Wake UP
I'm one of you guys waiting to see any app that will wake the device up from stand by just by shaking it. If anyone has any info please share it. Thank you.

Related

Couple of (I Hope) Easy Tilt Questions

I had an 8125 and now I have a tilt. In making the switch I have run into a few anooying problems that I am sure someone already solved? I have looked all over the forums so if these are answered, could you please point me in the right direction?
1) The ever popular PTT issue. Took me a while but I got it going. It was interesting that there was an incompatibility between the fix and BatteryStatus. Not sure what THAT was about? But it is working now.
Soooo...How do I get button FIVE to appear on my button maps? Neither the stock button feature in the settings nor AEButton Plus shows button 5, the camera button. It would also be kewl to map the OK button on the side, but I am guessing that is too much to ask? *Blink*
2) I have set the brightness at about the medium level (that was a disappointment because I was able to set it to the lowest on the 8125) but somehow the backlight keeps going dim after a time. I have looked all over the parameters to configure this but I can't find it? How do I keep the display from going dim on me? I have the tilt set to sleep at 1 minute and I do not have the backlight going dim at all, so I don't know what else to do?
3) Now that PTT button is mapped, I did what all of you did, I set it to Voice Command. But of course the push and hold I want the convenience of RECORD like I had on the 8125. I have tried all of the shortcuts and such I could find on this site and everyone of them put the voice recorder on my screen but did NOT initiate the record feature. Is there no way to do this on the tilt? I think I remember something about a parameter? /b or something like that? I tried to find it again but I was unable to.
Thanks for your help, guys...
Thomas <><
http://www.thomasamckean.com
Colonel, HOKC
Author, Soon Will Come the Light: A View From Inside the Autism Puzzle
Author, Light On the Horizon: A Deeper View From Inside the Autism Puzzle
ThomasMcKean said:
I had an 8125 and now I have a tilt. In making the switch I have run into a few anooying problems that I am sure someone already solved? I have looked all over the forums so if these are answered, could you please point me in the right direction?
2) I have set the brightness at about the medium level (that was a disappointment because I was able to set it to the lowest on the 8125) but somehow the backlight keeps going dim after a time. I have looked all over the parameters to configure this but I can't find it? How do I keep the display from going dim on me? I have the tilt set to sleep at 1 minute and I do not have the backlight going dim at all, so I don't know what else to do?
Click to expand...
Click to collapse
Hi Welcome
Not sure bout your other two questions, but the backlight is easy
Look in Start/Settings/System/ Backlight
You want the second tab, which is for Battery Power.
There you can set the timeout for it.
PS: If you have already tried this, then sorry for pointing it out, but sometimes the obvious solution is hard to find
AEButton Plus
I am able to remap both the OK button on the side and the Camera button with AEButton PLus.
I do have a slight problem that I am looking for a solution and hope someone knows the answer. When I remapped the OK button on the side, the first press still gives me the start menu no matter what I have it set for. The second press does the function I have programmed for double press. But is there anyway to not have it give me the start menu on the first press? I have it as none in the standard WM6 buttons panel. And I have it as lock phone on AEButtonPlus for both the first press and double press. But it always requires double press to make it happen. Any ideas?
-- Charley

Diamond touch sense middle button

Has anybody figured out how the touch button works? In the camera app, the focusing starts as the finger approaches the button (1mm), can that be applied for example in the dialer instead of pushing the button to start the call just touch?
zmob123 said:
Has anybody figured out how the touch button works? In the camera app, the focusing starts as the finger approaches the button (1mm), can that be applied for example in the dialer instead of pushing the button to start the call just touch?
Click to expand...
Click to collapse
I'd assume it'd be possible but how it would be done is another question all together. But if the cooks and chefs can figure out the whole mechanism and reverse engineer it, I'm sure they can use it for whatever apps/functions they'd want.
Any news?
Greets,
Sascha
This will answer all your concerns and make you happy as hell you own a Jewel.
Enjoy fellasss.
LINK
Yep, Schaps's app is going to be one of the best (if not, THE BEST) finger/thumb friendly app for the Diamond/Pro.
Back to topic, please!
It doesn't matter if his ROM uses the touch sense button, or not!
We ALL want to know how get access to the button, because then we developers can make so many cool things for you!

BackLight brightness adjust command line utility for Kaiser aka TYTN II

I dunno if I'm only one who has this problem but when I'm occasionally on sun I can't see nothing on my Kaiser and it's really difficult to setup backlight brightness on touchscreen which u can't see.... So I've been looking alot if there is some utility which I can link with button or gesture and I haven't found anything... So I've wrote my own utility. Feel free to use it as well if u find it useful -> http://lobster.ic.cz/?page=bl
is this useful or is there easier way to do that??
Been searching for an app like this for a week.
Works great!
Thanks.
Here's another program that gives you a today plug in for it:
http://forum.xda-developers.com/showthread.php?t=412896
I'll b trying yours tho as I like the idea of UL with icons for up and down
Cheers,
Matthew
I made a cab with this program mapped to the PTT button. I have a AT&T Tilt, Im not sure if your phone has a PTT button or if its called something else or whatever.
With this, just run the cab then I tap the button and it changed the brightness really quickly, no menu or anything, I love it! If I walk out into the sun I just tap the button 3 times and my screen is bright.
Lobsterii, I love this program thanks a ton!
I'm glad that I could helped u out guys... actually there might be more funny stuff possible only if HTC release some documentation on theirs DLL files cos it's pain to guess arguments...
you did it all by guessing? I figured you would have decompiled the dll.
Truly excellent! I have also been looking for something like this for a long time.
I figured I might as well kick off the feature requests that always follow a new release: How about the option set both battery and power brightness with one command? Perhaps by a special switch, or by only specifying the brightness level (i.e. no 'b' or 'p' switch)? Or is there a way to do it already?
Thanks again for a useful app!
you did it all by guessing? I figured you would have decompiled the dll.
Click to expand...
Click to collapse
I've read some forum where someone pointed out that backlight function should be in some dll by HTC dunno where it was... Then I was googling "dll find export function" and I've found prog "DLL Export Viewer" which can show function names in dll. Unfortunatelly there is generally impossible to find out how many/what arguments the function has. So I've found function name like HTCUtilSetOnBatteryBrightnessLevel and I've simply try prototype int HTCUtilSetOnBatteryBrightnessLevel(int); but it crashed... so I keep going like int HTCUtilSetOnBatteryBrightnessLevel(int*); and it worked... voila...
pudifoot said:
Truly excellent! I have also been looking for something like this for a long time.
Click to expand...
Click to collapse
thx alot...
I figured I might as well kick off the feature requests that always follow a new release: How about the option set both battery and power brightness with one command? Perhaps by a special switch, or by only specifying the brightness level (i.e. no 'b' or 'p' switch)? Or is there a way to do it already?
Click to expand...
Click to collapse
done. + it's now compiled as an release version so it actually has 50KB less than old version... enjoy it's at the same place instead original files http://www.lobster.3web.cz/bordel/bl/index.htm...
Nice improvements! how about another a switch so that it will toggle between brightest to dimmest? So if this was used it would just go between 1 or 10 and none in between.
Thanks for implementing the feature I was looking for. A perfect application - it's small and fast, and it gets the job done with excellence.
Thank you. Works perfectly.
silentanvil said:
Nice improvements! how about another a switch so that it will toggle between brightest to dimmest? So if this was used it would just go between 1 or 10 and none in between.
Click to expand...
Click to collapse
hmhm... what I wouldn't do for y... There is new version 02 (on my web at the same place) where u can setup your own sequence. Length of sequence might be from 1 to 10... values are as usual from 0 to 9... But numbers must not repeat (known feature I don't see point to solve it) so u can set something like "bl02.exe 0 5 1 9 3" or whatever else... enjoy
Report any found bugs... I mean it's super simple but it's 4 am so I'm half sleeping...
lobsterii said:
hmhm... what I wouldn't do for y... There is new version 02 (on my web at the same place) where u can setup your own sequence. Length of sequence might be from 1 to 10... values are as usual from 0 to 9... But numbers must not repeat (known feature I don't see point to solve it) so u can set something like "bl02.exe 0 5 1 9 3" or whatever else... enjoy
Report any found bugs... I mean it's super simple but it's 4 am so I'm half sleeping...
Click to expand...
Click to collapse
Awesome! Thanks so much! I've also been looking everywhere for something like this!
Awesome!
Well done! I've been looking for ages for something to do this.
How to use bl02...
Something from lobsterii that helped me:
create link in Total commander (file manager) I think its in options "File -> >>>>> -> Create shortcut" then I have another file bl02.lnk then I open properties of the lnk file, I click tab shortcut and put the text of path into "" and after it I wrote parameters so it looks like
"\Program files\bl\bl02.exe" 1 3 9
OK dumb question and first time posting so don't slaughter me. If I understand the thread correctly this will put large buttons to adjust from the Backlight screen....correct? Is there a program (other than the PTT button which I'm using) that will allow a button or swipe to adjust the brightness without having to open the brightness display? If you get far enough to open the utility then its not that hard to move the brightness up. Sorry for the dumbness of the question.
volleykinginnc said:
If I understand the thread correctly this will put large buttons to adjust from the Backlight screen....correct?
Click to expand...
Click to collapse
my bl02.exe doesn't put any button anywhere... it's just app which actually toggle brightness. U can try to run it via file explorer it should change brightness...
volleykinginnc said:
Is there a program (other than the PTT button which I'm using) that will allow a button or swipe to adjust the brightness without having to open the brightness display?
Click to expand...
Click to collapse
There is plenty of programs to map this app to buttons, finger swipes and some other crazy stuff like voice commands etc.. For example I'm using FTouchFlo (u can use FTouchSl which is easier to configure) and map backlight change for finger swipes... Most easy way is just copy blXX.exe to /Windows/Start Menu/Programs/blxx.exe and then go to Start->Settings->(tab)Personal->Buttons and link it with some buton...
I'm just now at work so have no time for more explanation... but Once I get home I'll create some FAQ at download page cos... cos it'll be easier for all of us
dont sweat it that was a perfect explanation and I now have it helped me to get it running to a button.
One other quick question though....I have S2U2. So the button doesn't work until I have unlocked it (which sometimes is hard to see going out to daylight) is there any way (easy way, Im no programmer)to allow the button to work (that is brighten the display via the button I have it mapped to) while it is still locked?
volleykinginnc said:
dont sweat it that was a perfect explanation and I now have it helped me to get it running to a button.
One other quick question though....I have S2U2. So the button doesn't work until I have unlocked it (which sometimes is hard to see going out to daylight) is there any way (easy way, Im no programmer)to allow the button to work (that is brighten the display via the button I have it mapped to) while it is still locked?
Click to expand...
Click to collapse
I'm sure he won't be able to bypass A_C's S2U2, but (assuming you have a Kaiser, you didn't say) if you enable dpad in S2U2 you can always hold your right dpad button to make sure S2U2 is unlocked, even if you can't see the screen, and then hit the button for the "bl02.exe 9" link.
Ha ha...you guys are awesome! Right Dpad enabled and now it works like a charm even in the brightest sun!! Thanks for the great application...makes a big difference in usability.
Some of you experts ought to make a list of these application gems (this program/kaeser tweaks etc) to make it easy for the noobs like me. This is good stuff!!

Configure hardware buttons for gfDoom

Hey guys, i just spent like an hour trying to figure this damn thing out but i cant seem to do it!
here's the game, gfDoom,
http://home.freeuk.com/gamefreaks/pql/gfDoom.htm
just FYI.
I'm attaching the "keyboard" skin for the game, which allows landscape and i'm quite happy with it. The only problem is in landscape i cant see a way to save the game, or exit the game.
By default for Touch Pro, landscape
VOLUME DOWN = OPEN DOOR (which is fine)
BACK BUTTON/OK BUTTON = SHOOT (also fine)
Other hardkey buttons unmapped.
doesnt need a map button since on screen, bottom left corner activates the map
now i'm trying to map the pause/menu button to one of the hardkeys. Make full use of em. Like the enter key and the volume up key. Can someone help me out here? I think one key shud be a letter or something so that can save the game. Like when i wanna save the game i have to type a name.
I have found this link "Keys and Key Codes for Windows Mobile" but am unable to get it to work after several attempts.
http://msdn.microsoft.com/en-us/library/bb431750.aspx
see attachment for the instructions and the folder containing the skin "Keyboard"
Hopefully someone can help me out by helping me map it out.
Please post results here
bump for attention. i'm sure someone knows these stuff and i'm hoping to learn T.T
bump one more time. maybe i shud ask in raphael main forum section?
Change the title of your thread. It sounds like you're trying to get someone to give you registration keys for software, or something equally illegal. I realize you're not, but I may simply be more curious than the average reader.
Look for a program called HButton. It might do what you're looking for.
Also, it's considered bad form to bump your own threads, unless they fall off the first page without getting responses.
Myrddin Wyllt said:
Change the title of your thread. It sounds like you're trying to get someone to give you registration keys for software, or something equally illegal. I realize you're not, but I may simply be more curious than the average reader.
Look for a program called HButton. It might do what you're looking for.
Also, it's considered bad form to bump your own threads, unless they fall off the first page without getting responses.
Click to expand...
Click to collapse
yea it fell off the first page which is why i bumped it.
oh okay will edit thread title.
and btw HButton is to assign apps to hardware buttons. what i need is some help regarding configuring the .txt file for gfDoom to configure Doom controls. what i need is a hardware button for the menu key
Managed to get it working reasonably.
Volume down = FIRE
Volume up = STRAFE (hold down whilst pressing left or right)
OK/Select = OPEN
Back = FULLSCREEN (Toggles between portrait and landscape)
Couldn't seem to map the Call and Call-end buttons successfully.
Having the "Back" button as a full screen button seemed more functional than just using it to pause or quit the game, as from the portrait/keyboard mode you can access these facilities and more (e.g. save, load, exit etc).
Just stick the modded text file in your "KEYBOARD" folder. I've renamed my "KEYBOARD" folder "DEFAULT" so I don't have to use the launcher .exe (configuration tool) and can just use the direct .exe to go straight into the game.
P.s. The game seems to run ever so slightly more smoothly if you disable TF3D (Manila) from: Settings/Today
before launching the game. Simply enable again once you're finished.
In case you want to setup you controls differently, here are the mapping codes for the buttons:
Code:
Button Hex Dec
vol+ 0x75 117
vol- 0x76 118
back 0x5c 92
end 0x73 115
call 0x72 114
ok 0x86 134
up 0x26 38
down 0x28 40
left 0x25 37
right 0x27 39
You need to enter the decimal values within the text file.
i'm actually using the up button to pause game to save etc etc. but i'll definitely try to follow your config for the volume up button. cuz i cant get mine to work. i prefer back as shoot. lets me run around with stylus and shoot/strafe.
I've modded the skin a little further, using the default skins layout and the keyboard skins toolbar (with fullscreen and exit etc)
Attached the skin files...
Made two new skins for GFDOOM from scratch with as much functionality for the Raphael as I could map. I'm quite pelased with them.
One is a Doom themed skin, the other one is to match NRG's EnergyROM theme.

[APP] Instant Screen Off (for rooted phones only)

I have make small app, which switching off screen.
Instant, without any waits or faking switching off by set brightness to zero.
It's simulate pressing of power button.
Maybe this one will be interest for somebody
root needed
Nice! I'd be more interested if you could do unlock via soft keys as we had in Hero , i.e. home and menu, as I find the power button is too recessed for easy access.
Not sure if softkeys would be too easy to trigger by mistake tho ??
pinn___________ said:
Nice! I'd be more interested if you could do unlock via soft keys as we had in Hero , i.e. home and menu, as I find the power button is too recessed for easy access.
Not sure if softkeys would be too easy to trigger by mistake tho ??
Click to expand...
Click to collapse
There is a hack for this but the menu key etc on the hd are not active when the screen is locked so it doesn't work. I did it today but you have to press power then the keys become active and you can use menu etc to unlock. Pointless as you still need to use power button first. The hero's keys were hard buttons as is the desire. It worked great on the desire. Unless anyone knows a way to have them active while locked? My power buttons a nightmare as it's not very clicky and really recessed. My wife's hd power button is much easier to use. Anyone know a way to have the soft keys active all the time?
Sent from my Desire HD using Tapatalk
Thanks for this app, i was waiting for.
Power button isn't as practical as your app to power down the phone.
Thank you mate.
Very Nice.... I like it.
But can you please Chance the Icon for me?
Im not able to do this myself.
I would like something like that.
Back and white with a bit gray or shaded would be very nice
Hi,
does it possible to work on unrooted phones?
thx
gervasius said:
Hi,
does it possible to work on unrooted phones?
Click to expand...
Click to collapse
No, only rooted. Su permission requried :-(
Korny89 said:
But can you please Chance the Icon for me
Click to expand...
Click to collapse
I can, but i'm need final icon in resolution 72x72px, can you draw it?
Srry, but can someone explain to me in technical terms how this actually works and what are its benefits. Thank you.
r0cky.Da.3v0.SU.
r0cky0790 said:
Srry, but can someone explain to me in technical terms how this actually works and what are its benefits. Thank you.
r0cky.Da.3v0.SU.
Click to expand...
Click to collapse
In technical terms,yes- it would circumvent the process of having to use one's digit to find aforementioned hard power button and then depress said button.
pinn___________ said:
In technical terms,yes- it would circumvent the process of having to use one's digit to find aforementioned hard power button and then depress said button.
Click to expand...
Click to collapse
Lol, maybe I didn't want the technical version after all. Dumb it down so I can understand. I'm have it installed but I don't see it doing anything. I have an Evo. How does this work (explain normal).
r0cky.Da.3v0.SU.
Its just a app to lock the phone and turn the screen off. Not sure if it works on evo
Ok thanks buddy, Uninstalling.
r0cky.Da.3v0.SU.
Dunno if this is doable but have you seen the screen lock on the new nexus that was seen at recent web 2.0 summit. Its kinda like the effect you get when u turn off an old crt TV. Could you implement that instead of the current fade effect? Ta
here i send you the perfect icon for me.
I hope you can do this. This would be very great.
Can you make the white corners transparent?
If you cant please make it black...
Im looking forward to you work
Korny89 said:
here i send you the perfect icon for me.
Click to expand...
Click to collapse
Done.
Look first post for update.
Hello, thanks a lot. its look very very sexy.
The only problem i have is with the "More Icons Widget"
That shows me the old symbol.
I think thats not you Problem. So i will check that.
thanks!
Thank you exidler for this useful app. I am just wondering if you can make use of the accelerometer sensor to turn off the screen ( for example by putting the phone upside down) . Thanks again.
Sent from my Desire HD using XDA App
"Thank you exidler for this useful app. I am just wondering if you can make use of the accelerometer sensor to turn off the screen ( for example by putting the phone upside down) . Thanks again."
i also agree ! that would be a perfect app and since most people do not check their sms upside down it would also be extremely practical
+1
Benjyk said:
I am just wondering if you can make use of the accelerometer sensor to turn off the screen ( for example by putting the phone upside down)
Click to expand...
Click to collapse
I'm busy now, but will look for your feature request in few days. Most of everything is possible

Categories

Resources