yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
+1

that would be great if included in TLP.

BTW, i think that first, it is more important to fix the known bugs that TLP still has.
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
I think Great Zuinige can do both at the same time if he wanted. ;)
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
let's leave ZR work without pressure, NLS. :)

A part of developing this fantastic tool TLP, he works as an architect and also has a family.

I think TLP is not one of his priorities, or at least it shouldn't be!

BTW i'm anxious to know what does he think about including this feature in upcoming TLP releases.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I do not want to go into the route of having a foreground window, because then the information behind it is not visible. I will get a lot of request to add information on the foreground window.

A better way would be to have another way of locking the hardware keys. Currently I am using an HTC API for that, which will not work on non-HTC devices. And if I can control the hardware keys, unlocking can be done using a combination of hardware keys.

For now, the only possibility for non-HTC phones is using LockTouchPanelOnly=1 and couple a command to one of the hardware buttons to unlock: "TouchLockAction.exe" unlock.

See here for more details, but be carefull, do it on your own risk!!
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
Agree totally sure.

Me too would like to hear his comment about such an addition.
[Touch Diamond, MDA Compact IV Themes and Apps] peterbonge:
That is really an interesting idea, even if I wouldn't need it.

But: It has absolutely nothing to do with a screen locker. That it is using the sensors is no argument. Next would be:

- Automatic backlight control, because the program already uses the light sensor.

- Automatic screen rotation, because the program uses the g-sensor (in future).

No, no. That would be the best way to start to blow up the program. It is a screen locker. Not more and not less. And it is a good one!

I don't want a foreground window too. Maybe it is possible without a foreground window or any other visual feedbacks?

- Touching the top/middle/bottom of the screen instead of the Capacitive Sensor. Or maybe dividing the screen into 4 segments/quadrants.

- Sliding from the top to the bottom or from the left to the right. Or maybe things like top/bottom/top.
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
I agree Peter. I don't like bloated programs either.

Yet it is a "simple enough" feature (far simpler than your examples). It monitors those two sensors (that it DOES monitor anyway) and makes a little registry change. Simple - and a lifesaver.

Don't forget we have the 32 processes limit in WM and TLP is one of the things running all the time AND poll. You wouldn't like an extra process for that (that's bloating).

---

As for your issue, I can answer for Zuinige... What you ask DOES need a foreground window.

The second proposal btw, is already implemented by various other programs that use it more for program-manager stuff (but I think there is one that calls whatever you like so you could use it to call TLP with the appropriate parameter).
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Ok, let's show the request again:

Automatically select SIP to use, based BOTH on the state of the stylus and on the state of the keyboard:

- Stylus IN, Keyboard CLOSED: Some thumb based SIP (possibly HTC's own)

- Stylus OUT, Keyboard CLOSED: Resco Keyboard (the version with the tiny buttons that I love so much and can switch languages)

- Stylus IN, Keyboard OPEN: NullKB (what else)

- Stylus OUT, Keyboard OPEN: NullKB (again, why not)

I saw the link to Butler, with source code. Currently I do not know how to change the SIP, but probably I can look it up in the provided source code. Apparently you need then a config screen which SIP to use. I will set it on the wish list.
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
Great to hear this!

(Dear ZR, i know i have to bring you my logs related to the bugs i have with TLP, i will do it soon, but before i have to end some battery tests i'm doin, I expect to have the logs ready in 48 hours)

To support you and to show you the respect you deserve for developing such usefull tool and for providing to us this incredible technical support, i've just donated a symbolic amount. Thanks a lot Zuinige Rijder!
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Thanks fourcc!

I just uploaded TouchLockPro 2.2 with GSENSOR support for unlocking.
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
thanks, i will try it!
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
my first impressions.

Gsensor Unlocking mechanism works perfectly. i miss something to configure sensivity because it is very sensible and i'm afraid that taking the mobile out of my pocket could unlock it without the aiming.

Capacitive touching Unlocking mechanism now detects perfectly my touches. Bug seems solved.

UnlockOnPowerOn=0 & LockWhenCallIncoming=1 :( the same than before, when just installed it works, after soft reset, it again locks my device when turning screen on, not only with incoming calls. (i've logged it)

let me 24 hours of use to tell you something more
[Touch Diamond, MDA Compact IV Themes and Apps] megapinky:
Hi, great Software, how can i enable the power botton (not lock it) to turn on and turn off the screen (example to see the clock)? it is possible? thanks

the capacitive area dont work, I have DredSensor working too, it could be this?

Thanks

pd sorry about poor english :o
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
1.-currently, to lock only certain buttons is not possible (due an WM API, i guess), ZR is looking at it and maybe in future versions this feature will be included.

2.- i bet!
[Touch Diamond, MDA Compact IV Themes and Apps] bill48105:
Thanks! It works very well! Almost too well since it unlocks very easy so maybe it needs to be more configurable or maybe the defaults are just too loose.. I will try it for a day & see but definitely a step in the right direction!

-Maybe like capacitive touch where you define a pattern to the motions instead of just any motion? like 2121 means down-up-down-up or 343434 means left right left right left right..

-Perhaps there should be a delay after wakeup before 1st motion is sensed. I often had -1 count just by looking at the phone screen after pressing the power button to wake it up..

But great job! I really look forward to seeing you perfect it like you have other options. :)

Thanks!

Bill
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
THANKS man!
[Touch Diamond, MDA Compact IV Themes and Apps] gjeremie:
First thanx for this app, I used pocket shield before but now I use TLP since version 2.2 (G-sensor unlocking feature was the big lack before this version).

So my remarks are:

1- the concept for G-sensor unlocking is good but when the phone is (for example) just between PORTAIT and FACE-UP orientation the phone unlock too easily, with small mouvement around this position I see -1, -2 then unlock very quickly (see attached picture to understand)

so it would be good to add an option to change the minimum angle which the phone unlock

2- I'd like that TLP switch automatically to Home screen of touchflo when the phone awakes (when(because i'd like to see my tabs with unread mail,messages,.. counter when I switch on my phone to check messages)

Thanx
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
1. I think that is why he configs the orientation changes (and has a default of THREE not TWO)... this way it will not unlock as you say. Of course if the phone... trembles betwen 1-2-1 yes it can lead to what you said (but when is the phone doing that?).

2. This would contradict the usage of most of us. (a) Phone many times wakes up EXACTLY to show something else than the home screen (for example call receive or a program window that popped-up, (b) Manila switches to home screen after some time I think (cannot verify right now but I remember that) but in any case usually people either return to home themselves or if they don't, they don't on purpose...
[Touch Diamond, MDA Compact IV Themes and Apps] gjeremie:
Today my phone doing that (trembles betwen 1-2-1) when i have recieved a call, because it was in my pants pocket when i'm driving.

so now I config the orientation changes to 4 instead of three.

so I think it would be good to add a setting to configure this G-Sensor sensivity
[Touch Diamond, MDA Compact IV Themes and Apps] gjeremie:
a) ok , I agree with you for call receive but maybe TLP could switch to the home screen only if phone is awaken by the user with the power button

b) i will verify but I don't think Manila switches automatically after some time

Anyone can confirm that?
[Touch Diamond, MDA Compact IV Themes and Apps] gjeremie:
another question:

when i receive a mail, phone doesn't lock when it awakes.

Is this normal?

(i have AutoLockOnPowerOn enabled and UnlockOnLightSensor disabled)
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Originally, I had a orientation sequence, like the capacitiveTouchesSequence, but I removed it, because it was not sensitive enough. Thereafter I discovered, that I needed to start the orientation service when the BattClock was recreated, to get the capacitive touches.

So I will reintroduce the unlockOrientationSequence, so in this way you can control the sensitivity.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Unfortunately, I cannot distinguish between pressing the power button and another event which did the wakeup.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Are you sure the Stylus was not out, not on AC/USB power or keyboard slider out?

If none of these are true, please enable "logdebug=1"and "logdebugdetailed=1", reproduce the problem and post the debug logfile \TouchLockPro.log.txt (after disabling TLP) as zipped attachment. Then I can see why it does not lock.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I looked into the Butler source code and discovered that it is possible to also poll the NavSensor yourself in Raw mode :eek: However, then you cannot detect touches to the middle button (area 2). This would solve my problem, that I do not need input focus to get capacitive touches. Probably GScroll uses the same approach (although I did not hear something back).

Hmmm, then I need to choose between the Raw mode (always working) and my other approach (also middle center button detected). Or provide both options, and the user can choose (dependent if the problem exists in the users use case, e.g. TFL3D with newer ROM)
[Touch Diamond, MDA Compact IV Themes and Apps] datlang:
Just update with the latest rom 2.0.3. The capacitive touch is not working on the TF3D screen.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yep, see previous post and see first post
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
report update after 24H of use:

well, Gsensor works perfectly, too sensitive maybe (a bit dangerous because device can be involuntary unlocked when taking the phone from your trouser's pocket)

capacitive touching unlocking, works 90% (edit) of the times now. i like the just "2" sequence (one touch in center button) and it works always. ( TF3D disabled but I have Gscroll active in the other capacitive areas so in such a manner i can have both tools running at once) Thanks ZR for nearly (edit) solving the bug!

my famous & known "UnlockWhenPowerOn=0 but device is locked when turning it on", now it works better than ever. Not perfectly, but 50-60% of the times works as expected (before was 0%). I don't see any concete pattern that make it works badly. sometimes it works and sometimes not. Soft reset doesn't affect its behaviour.

i will try to send you logs tomorrow, ZR.

I must thank you again, for improving so much TLP. It is becoming greater and greater, and if you finally integrate the "automatic Sip based on keyboard/stylus state" feature discussed some posts ago, it will be the bomb!.
[Touch Diamond, MDA Compact IV Themes and Apps] gjeremie:
Ok i think i've found why it unlock when i reiceive a mail.

i've made several test and it appears when phone is in vibrate mode, the vibration unlock the phone with G-sensor.

Phone on a table, with vibration activated, when i receive a mail (but also same behavior with call) I see -1 -2 then unlock

Phone on a table, with ring only activated, when i receive a mail the phone stay unlocked
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
I think that now, we have to do something about the Gsensor sensivity.

it is super cool to have it because if you are in a dark place or the capacitive area unlocking mechanism doesn't work, at least you have the Gsensor feature to easily & quickly unlock the phone without having to open keyboard or taking stylus out. ( you don't know how many times i've had to take stylus out to unlock my device due my famous problem :) )

available options:

something in config to custromize Gsensor sensivity

a configurable timer before Gsensor unlocking mechanism starts to listen for gestures.

a concrete configurable gesture, not just any movement

what else? i will continue thinking about it...
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Your wishes are heard.

I just uploaded TouchLockPro 2.2.1, which now has a sequence. So now it will not unlock so easy by default.
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
Hi,

not been here for a while as i use Duttys roms and v4 doesnt work with this, im probably moving to Hikari soon.

but for now i was hoping that this might be useful for enabling mapping of the hardware keys

maybe you could get that double tap to lock and unlock working now?

take care
[Touch Diamond, MDA Compact IV Themes and Apps] mrgino:
Question about vibrate-on-unlock. Docs say the following:

"There are 2 different vibration schemes: 1) LockIndicator = 1: only vibrate/beep when locked AND the backlight is not ON 2) LockIndicator = 0: vibrate/beep twice when locked, vibrate/beep once when unlocked"

I'm trying to have the phone only vibrate once when it unlocks (without the two vibrations when it locks). Is this possible? I've tried manipulating the LockIndicator and VibratesLock/VibratesUnlock keys but havent had any luck.
[Touch Diamond, MDA Compact IV Themes and Apps] mrgino:
ok, it magically started working now. LockIndicator=0, VibratesLock=0, VibratesUnlock=1.
[Touch Diamond, MDA Compact IV Themes and Apps] noellenchris:
How about using the round center button to unlock , like pocketshield. It's easy and reliable....plus it's recessed so it won't get pressed in the pocket...:)
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
yes it would be a great feature but i think that it is not in concordance with ZR's philosophy.

I understand him, TLP is like a "son" (metaphor) for him, and one of his goals is to not make a bloated and battery draining tool. BTW, at least this mapping of the capacitive area would be in the line of having features without having visible interface, but i don't really know what he thinks about, sometimes he has said that he simply wants to make a very good locking too.

let's see what he says, but of course it is a good idea that would make TLP, with all of its known features, the one and only must have tool for every Diamond, Raphael & Blackstone owner.

i thought it aswell but the problem is that then you have to combinate to different unlocking methods and if one of them fails then the other can't do the job at all. I don't think is a good idea to combine two different unlocking methods.

Of for example, better yet, the GSensor based unlocking mechanism could start to poll and act when detecting some of light with the light sensor ( then the device wouldn't be unlocked when taking it out of your pants, but if you are in a dark place then the GSensor mechanism would neevr be able to do his job. I definitively think that unlocking mechanism shouldn't be dependent between them.
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
what you say is a very good idea but it is not possible because currently TLP uses an API that when locking, it locks all the buttons, power on & volume included. He has said btw, that he is looking for a new way of locking HW buttons. When he finds this way, then everybody would be able to "not" lock any button, center button, power on & volume for example.
[Touch Diamond, MDA Compact IV Themes and Apps] Kraize:
[Request]

Lock On Suspend rather than wake. That way, the wake up is faster :)

So instead of "AutoLockOnPowerOn" have a "AutoLockOnSuspend" or something like that.

Check this post to see the source of SensorLock that's modified to lock on suspend.

[Link]
[Touch Diamond, MDA Compact IV Themes and Apps] gjeremie:
Thanks you ZuinigeRijder, now with version 2.2.1 G sensor unlocking works perfectly.

according to me TLP is definitively the best unlocking app i've tried.

With sequence = 59 (put the phone face-down then in other position) i think is the best config because phone is rarely put in face down position not intentionally.

i've just a question : could you improve the sensor polling intervall of 300 ms?

(it's maybe a bit too long if you do a fast movement)

thankx
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
possible bug: (maybe it is the same than my famous one)

after ending a call (incoming call), when hanging the telephone, the device automatically turns screen on in lock mode. So to turn screen completely off after the call, you have to unlock it again.

is it possible that after hanging the call and when the screen automatically turns it on, it stays in unlocked mode? to easily and quickly turn screen off.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Since version TouchLockPro 2.2.1 you can also use the orientation gestures as an alternative to unlock. I also have seen source code for detecting the capacitive touches in RAW mode. It looks that then the middle center button cannot be used. I will try to implement this, as alternative (user can configure which one).

Thanks for the link. I cannot find source code, so I will contact the author if I can use the ideas to lock the hardware keys alternative.

Thanks for the info.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Probably you have configured Vibrate=0, then it just takes over the number of vibrates for lock and unlock. So it is not magic :D

But great that it is solved.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Actually, since TouchLockPro 2.1, this is already done:

Use both mechanism, locking TouchPanelOnly and locking hardware keys (which also locks TouchPanel). Lock "TouchPanelOnly" already at power off/screen off, so it is already locked at power on.

So the TouchPanel is already locked at power off. I cannot lock the hardware keys, because otherwise the power button is locked too, so you cannot power on the device (not on all phones though).
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Great that it now works perfectly :)

I saw the polling interval in Advanced Config -> GSensor. By the way, the default is 200 ms.
[Touch Diamond, MDA Compact IV Themes and Apps] lexluthor:
Would it make sense to use the GSensor to lock the device as well?

Right now, are the only ways to lock to high the power button or to go into the touchlock separate configuration program, right?

It might be nice to be able to lock the device and keep the screen on, which you couldn't do by hitting the power button and takes too long going though the extra program.

I'd welcome another way to lock the device.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Have you configured UnlockWhenConnected=1, because then it should not lock.......
[Touch Diamond, MDA Compact IV Themes and Apps] Ddriver:
Great App,

I change the value for the icon and its not bad on this place. ;-)

Have again place for MMS- or SMS-icon. :-)

Look pics.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Currently I stop the GSensor when unlocked, to use as less as resources/CPU/battery drain as possible.

So I do not know if this drains battery. Otherwise this is an option to implement. Actually there are other programs which can couple actions to gestures, e.g. Gyrator 2.

But I will consider adding a lock option with an orientation gesture. I may also add capacitive touches (in RAW mode) to do locking. So I will set it on the wish list.
[Touch Diamond, MDA Compact IV Themes and Apps] bill48105:
Anyone else have issues with the config screens being blocked by the on screen keyboard when trying to change values (especially the ones lowest on the screen like gsensor settings) or is it just me? I end up having to type blindly then minimize the keyboard to verify what I typed. Perhaps it is a Dutty rom thing? I assume it is caused by the config form being forced to fixed rather than allowed to scroll since most other apps work fine where the form scrolls up to expose the field you are typing in..

Btw, not to be critical but does it take FOREVER for the next form pages to come up when you arrow forward & back on the config screens or is that just me too? Sometimes I fall asleep waiting.. (Just kidding but they are slow. And I don't mean opening the config app, I know that is a separate program to keep main app slim.) Again it is a minor annoyance & certainly not even #100 on to-do priority list but thought I'd bring it up. :D
[Touch Diamond, MDA Compact IV Themes and Apps] peterbonge:
I have exactly the same problems (both). It's not a device or ROM problem, it's a .NET problem (at least for the speed).

And the config program still crashes if tapping the X in the top right.

And I think the single pages are a little bit crowded.

I wish the config program would be a little bit more common. A normal window with an OK button in the top right and with softkeys to switch the pages or to do other things. Maybe:

- A left softkey that opens a menu to switch the single pages.

- A right softkey for things like Exit, Cancel and About.

Or maybe a tabbed config dialog? Nevertheless it should be more common.
[Touch Diamond, MDA Compact IV Themes and Apps] bill48105:
I had wondered if it was a .NOT thing. Yeah sometimes fancier isn't always better so I agree on a more 'normal' type setup like most apps, especially the soft key menus or yeah tabs! I wouldn't mind so much if I didn't have to do it so often to set things up again during testing. Heck it takes me longer to put my settings back in TLP (partly from delay switching screens but mostly hassle of keyboard covering up the spots I need to type) than to flash a new rom & restore stuff with PIM Backup. lol I guess I should just export the reg keys usin regedit but it seems every update has more options & keys so I'd be stuck goin in to set those anyway. Tis part of the reason why I like ini or xml files that can be stored on the 4gb internal mem or SD card. Makes re-installation a breeze. As would import/export (backup/restore) feature in TLP. :D (I know, I know. Just use regedit. Well it takes too long to navigate the trees! lol)
[Touch Diamond, MDA Compact IV Themes and Apps] fourcc:
yes, it is configured in such a manner. BTW it is not locked during the call ( if i manually turn on screen in the middle of the call, device is not locked), it is just when hanging, that device turns automatically on and appear locked.

it seems a bug, but maybe related to my known problem. As device is turned on after the call (so no call running because it has yet finished), then it is locked. During the call, it works ok , because it is turned on in a middle of a call (UnlockWhenConnected=1).
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
gsensor unlock for me seems way to sensitive. i have it set to unlock when in portrait and if im holding the phone face up with it locked and only change position by about 10-15 degrees it unlocks.