PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Diamond
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-06-2008, 03:22 PM
jethro_static's Avatar
╚════════════════╝
Offline
Pocket PC: HTC Touch Pro 2 & HTC Hero
Carrier: Sprint
 
Join Date: Jan 2008
Posts: 2,469
Reputation: 3335
jethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via Yahoo to jethro_static
G-sensor lock for the Diamond. Awesome!

created by surfsmurf of xda:

Latest version is 0.3.3. Get it from http://sourceforge.net/project/showf...kage_id=290047

I don't read this forum every day, if you want to make sure I get your bug report please follow this link.

If you feel like donating, you can do so through SourceForge. No pressure, I'm really writing this one for myself

You can also show your support by becoming a fan on Facebook.

Update 2008 Sep 1
Version 0.3.3 was released today with the following improvements:
  • Fixed bug where SensorLock would occasionally be disabled at startup.
  • Added option to signal successful gestures using sound.
  • Added option to unlock phone when a call is connected.
  • Added option to relock phone when returning to battery power.
  • Added option to relock phone when stylus is inserted.
Update 2008 Sep 26
Version 0.3.2 was released today with the following improvements:
  • Unlock on external power will now keep the device unlocked, even when the device resumes from sleep.
  • Autolock can now be set to happen only when there's an incoming call.
  • Option to unlock phone when call ends added.
  • Headset/music support, SensorLock now correctly detects when the device resumes while playing music.
  • AppToDate support added.
Update 2008 Sep 19
Version 0.3.1 was released today. This is a bugfix/usability update, there are no new major features. After a lot of research I've come up with another way of locking the touchpanel, using the same hooks that the Transcriber IME uses. This should be a lot more system friendly. Like the old code, this is not compatible with the Transcriber IME, so I've added a new Transcriber compatibility mode which restricts locking methods to the "everything" mode. Sorry, but currently I don't see any way around this unless I were to revert to traditional locking methods. Which I won't. I've also implemented what I hope will be a fix for the soft reset bug on some devices where SensorLock would not work without first disabling it.

0.3.1 changes:
  • Replaced touch panel locking code. The new version should be able to keep the panel locked and also eliminates the short interval where the display was not locked. Interestingly, finger scrolling is still possible in some windows, although you are not able to select anything.
  • Added Transcriber compatibility mode.
  • Attempt at fixing the soft reset bug where SensorLock would not detect gestures at startup.
Update 2008 Sep 15
Version 0.3.0 is finally done. There's been a lot of changes under the hood, but I suspect you're mostly interested in what's new. The much requested control panel app is finally here, find it in the Personal tab. Another new feature is the programmer API - other applications can now talk to SensorLock. This is of particular interest to other G-Sensor based applications, especially fullscreen games. The API is released under the WTFPL and is documented in sensorlock.h here.

0.3.0 changes:
  • Added control panel application.
  • Rotating the phone can now toggle lock state.
  • Phone can now be unlocked when stylus is removed.
  • Added programmer API licensed under the WTFPL
  • New icon donated by http://npweb.biz
Update 2008 Sep 7
I unexpectedly had a breakthrough and managed to get the hardware buttons enabled separately from the touch panel. I hope this new behaviour will suit most people, otherwise wait for 0.3 with a configuration panel.

0.2.3 changes:
  • Hardware buttons are now enabled (touch panel is still disabled) when device resumes from standby (e.g. when a call comes in).
  • Touch panel and hardware buttons are now automatically unlocked when plugged into external power.
  • Gesture detection now disabled when on external power.
Update 2008 Sep 4
Fixed a few bugs, just trying to get the current version stable before adding any new major features.

I have also investigated whether the current locking mechanism can lock just the screen - it seems it can't I know a lot of people want the buttons to be active when there's an incoming call but at the moment it's looking very unlikely. I'm pursuing another idea which may help though.

0.2.2 fixes:
  • Added a few calls to disable the vibrator, hopefully fixes the weird "vibrator is on after soft-reset" bug some people experience.
  • Fixed a bug where you couldn't unlock the phone immediatly after locking.
  • If phone is standing upright, gestures are ignored.
Update 2008 Sep 4
The project is now active on SourceForge, files can be downloaded from http://sourceforge.net/project/showf...kage_id=290047

I've put up a version 0.2.1 which is a bug fix release. It has a rewritten gesture detector which seems to work much better for me at least, and it also draws less power. Vibration now works much better in TomTom.

I'm listening to all your suggestions, don't worry! 0.3 will have many of them implemented, but I thought it was important to get these annoying things fixed.

Update 2008 Sep 3
While I wait for SourceForge to accept the project I thought I might put a new version up here.

v0.2 adds vibration feedback when successfully locking or unlocking the phone. Also, the phone is now automatically locked when suspending. This may not be to everybody's taste, in that case stick to the first version and wait for the next one with a configuration panel

Original post
Frustrated with the available lock programs, I've written SensorLock that will lock and unlock the touch panel and buttons using the G-Sensor. It is released under the GPL v3 license.

The archive contains setup.exe, .cab and source.

From the readme:
---
SensorLock is a program designed for the HTC Touch Diamond (and will probably work on the HTC Touch Pro too).

SensorLock allows you to lock the device's screen and buttons, thereby preventing random button and screen presses while the device is in your pocket.

Locking and unlocking is simply done by rotating the device around its longest axis (clockwise for locking and counter-clockwise for unlocking) and can be done in any program (Media Player, TomTom etc) without disrupting normal device operation.
---

If that doesn't make a whole lot of sense, I've put together a short demo video on YouTube

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

Follow the XDA thread for updates:
http://forum.xda-developers.com/showthread.php?t=422871
__________________
Pls join us at MMAlinker.com. It's the best MMA forum On the Planet.We have a lot of News,Updates and fight videos. We'll See You there.
http://www.mmalinker.com/forum/
Join Us at Facebook as well and meet People thats into MMA like You.

http://www.facebook.com/group.php?gid=15833021835

Last edited by jethro_static; 10-05-2008 at 06:52 PM.
Reply With Quote
This post has been thanked 5 times.
  #2 (permalink)  
Old 09-06-2008, 03:26 PM
archtech3d's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Diamond
Carrier: Sprint
 
Join Date: Sep 2008
Posts: 75
Reputation: 45
archtech3d is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: G-sensor lock for the Diamond. Awesome!

You mean this one?
http://www.youtube.com/watch?v=rw_bztlQuZw

It rocks!

Apparently you can get it here:
http://sourceforge.net/project/showf...kage_id=290047

I haven't tested it yet because Sprint won't give me that chance till later this month... so use at own risk!
Reply With Quote
This post has been thanked 1 times.
  #3 (permalink)  
Old 09-06-2008, 03:28 PM
jethro_static's Avatar
╚════════════════╝
Offline
Pocket PC: HTC Touch Pro 2 & HTC Hero
Carrier: Sprint
Threadstarter
 
Join Date: Jan 2008
Posts: 2,469
Reputation: 3335
jethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIPjethro_static is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via Yahoo to jethro_static
Re: G-sensor lock for the Diamond. Awesome!

Quote:
Originally Posted by archtech3d View Post
You mean this one?
http://www.youtube.com/watch?v=rw_bztlQuZw

It rocks!
Yeah that. I just forgot to put the link. LOL Thanks
Reply With Quote
  #4 (permalink)  
Old 09-06-2008, 04:27 PM
archtech3d's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Diamond
Carrier: Sprint
 
Join Date: Sep 2008
Posts: 75
Reputation: 45
archtech3d is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: G-sensor lock for the Diamond. Awesome!

Anytime Has anyone tried this on their Diamond?... for those so lucky to have one already...
Reply With Quote
  #5 (permalink)  
Old 09-06-2008, 04:30 PM
Mr. X's Avatar
Retired Staff
Offline
Pocket PC: HTC Desire
Carrier: Telus
Location: Ontario, Canada
 
Join Date: Aug 2008
Posts: 7,226
Reputation: 27769
Mr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation level
Mentioned: 8 Post(s)
Tagged: 2 Thread(s)
Re: G-sensor lock for the Diamond. Awesome!

im using it roll once to the left to unlock roll once to the right to lock
Reply With Quote
  #6 (permalink)  
Old 09-06-2008, 06:08 PM
themuffinman's Avatar
Shop smart, shop S-MART!!
Offline
Pocket PC: Evolte, Gnex
Carrier: Sprint
Location: Jonesboro Ga
 
Join Date: Dec 2006
Posts: 2,387
Reputation: 2615
themuffinman is a VIPthemuffinman is a VIPthemuffinman is a VIPthemuffinman is a VIPthemuffinman is a VIPthemuffinman is a VIPthemuffinman is a VIPthemuffinman is a VIPthemuffinman is a VIPthemuffinman is a VIPthemuffinman is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: G-sensor lock for the Diamond. Awesome!

Wow, that is pretty cool. I really cant wait till I get one of these bad boys
Reply With Quote
  #7 (permalink)  
Old 09-06-2008, 06:43 PM
Mr. X's Avatar
Retired Staff
Offline
Pocket PC: HTC Desire
Carrier: Telus
Location: Ontario, Canada
 
Join Date: Aug 2008
Posts: 7,226
Reputation: 27769
Mr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation level
Mentioned: 8 Post(s)
Tagged: 2 Thread(s)
Re: G-sensor lock for the Diamond. Awesome!

this app causes my device to slow and get stuck in a locked state. soft reset to get back going again.
Reply With Quote
  #8 (permalink)  
Old 09-09-2008, 01:57 AM
billo0071's Avatar
PPCGeeks Regular
Offline
Pocket PC: diamond
Carrier: telus
 
Join Date: Apr 2008
Posts: 118
Reputation: 40
billo0071 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: G-sensor lock for the Diamond. Awesome!

Doesn't work on the Telus Diamond, stays locked and vibration stays on
Reply With Quote
  #9 (permalink)  
Old 09-09-2008, 02:36 AM
archtech3d's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Diamond
Carrier: Sprint
 
Join Date: Sep 2008
Posts: 75
Reputation: 45
archtech3d is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: G-sensor lock for the Diamond. Awesome!

Hm... if it doesn't work on Telus, it might not for Sprint...
Reply With Quote
  #10 (permalink)  
Old 09-09-2008, 09:33 AM
Mr. X's Avatar
Retired Staff
Offline
Pocket PC: HTC Desire
Carrier: Telus
Location: Ontario, Canada
 
Join Date: Aug 2008
Posts: 7,226
Reputation: 27769
Mr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation levelMr. X can't get a higher reputation level
Mentioned: 8 Post(s)
Tagged: 2 Thread(s)
Re: G-sensor lock for the Diamond. Awesome!

Quote:
Originally Posted by billo0071 View Post
Doesn't work on the Telus Diamond, stays locked and vibration stays on
It works with the telus damond just fine. its just not a final release so its prone to bugs. for example if you soft reset and do not touch your cell. it auto locks and you cannot unoock it with out a reset.

i also had it freez my device a few times.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Diamond


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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 12:05 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com