yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
You could just display a dot, or some sort of notification for PM.

Although, there must be something wrong if people if they cannot workout the 24 hour clock, its not exactly hard to subtract 12!!

(or even if you want to cheat, just subtract 1 from the first digit in the hours and 2 from the second!! i.e. 23:45 -> 11:45)

and secondly, when they are looking at a 12 hour clock, if they need an indicator to tell them AM or PM, they probably shouldn't be out the house on their own, never mind using these devices!!

all im saying is this software is getting quite complicated, with the intro of the action screen soon (hopefully :):)) there will be bigger bugs to fix, and this is an unneccesary addition, for no reason other than..... well for no reason really!!!

@ ZuinigeRijder - How is the action screen going? if you need icons/graphics i dont mind helping out there, or with the testing, anything really i can help with!!

take care
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I agree with you, these features will be of less importance for now. I probably also going to try another LockTouchPanelOnly mechanism. But first I want to introduce the Action screen.

I have already selected most of the icons for the action screen. Probably I am going to start without all buttons already implemented, but the most important ones first. So in next versions I can implement the missing functionality.

After I have put out my first version of the action screen, you can have a look at the icons I provided. And if others have better icons/buttons, I am willing to replace them ;)

Thanks for offering me help. If needed, I will post a test version, but in principle the job does not seem too complicated. It just takes time.....
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Action screen icons

Currently I plan the following possibilities for the Action Screen.

I have a grid of 4 x 4 (height 320 pixels, width 320 pixels) having icons/PNG of 64x64 with the following features.

Row 1:

a. lockscreen

b. lock and backlight off

c. lock and suspend

d. exit the action program

Row 2:

a. Toggle suspend on backlight off setting

b. Toggle auto-unlock lightsensor setting

c. Toggle locktouchpanelonly setting

d. Toggle autolockonpoweron setting

Row 3.

a. Configuration screens (to configure all the possible settings, without the need of a registry editor)

b. LockIndicator configuration screen, choose between BattClock (and change position), BattStrip (a small strip on top of the screen, the width of the strip indicates the battery percentage left), Stealth mode (no BattClock, 1x1 pixel when locked, so it is unnoticed)

c. Detailed Battery Info screen

d. Free Memory utility

Row 4

a. BackLight Off (without locking)

b. Suspend (without locking)

c. Power Off

d. Softreset

Currently I miss good icons for:

2a.

2b.

2c.

2d.

3b.

4a.

For the toggle icons I need 2 icons, to differentiate between the current setting.

I only want 64x64 pixel icons/PNG. I will post how the screen will look like, with the icons I already have, so you can search for icons having the same theme. Of course you may then also suggest 'better' icons than I provided.

Maybe you will have suggestions for extra/different features :)
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
just a suggestion, but for customisability, would it not be possible to have the icons in a folder following the naming system above, and the icons are picked up from the dir when the panel is launched?

if that is not viable i will take a look into icons, what style, minimal and classy?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I do not know, if that is so handy. Embedding in the exe is as first attempt better. later on, I can think about your idea, so it is customizable.

This is the action screen with the missing items:

So I am searching 64x64 icons for (See post #306)

Row 2 (For the toggle icons I need 2 icons, to differentiate between the current setting)

a. Toggle suspend on backlight off setting

b. Toggle auto-unlock lightsensor setting

c. Toggle locktouchpanelonly setting

d. Toggle autolockonpoweron setting

Row 3.

b. LockIndicator configuration screen, choose between BattClock (and change position), BattStrip (a small strip on top of the screen, the width of the strip indicates the battery percentage left), Stealth mode (no BattClock, 1x1 pixel when locked, so it is unnoticed)

Row 4

a. BackLight Off (without locking)

The 4 icons with the white background need to be changed, so the background is black.
[Touch Diamond, MDA Compact IV Themes and Apps] Latty:
Personally, I don't care about the AM/PM...other people might want it as an option though.

I know if I don't need AM/PM, it's dirt easy to implement :p
[Touch Diamond, MDA Compact IV Themes and Apps] kabronsete:
Do you really think that someone will need this quantitty of different lock and standby options??

IMHO a unique button to LOCK is enough (or you can make it configurable to 'only lock' , 'lock and backlight off', 'lock and suspend' or 'only suspend'). But 4 or 5 buttons only to lock seems to much redundant.

Also do you think that the configuration toggles are so used to dedicate a button?

What I find useful?

Let's see:

Toggle bluetooth (visible or invisible), Toggle Wifi, new alarm, new appointment....

Or better... you can let user asign button to his own application and assign his own icon.

For me with a LOCK button, TouchlockPro configuration, battery info, memory utility, soft reset (with confirmation to prevent errors) and power off (with confirmation) are more than enough, all the others need to be more useful for the user than the ones you are thinking. Just my 2 cents....

Best Regards,
[Touch Diamond, MDA Compact IV Themes and Apps] GriFolle:
Ok Zuininger...finally I was able to solve my problems: as you said before the "phantom locking" was caused by the "suspend battery time" (something like this) in my settings, I switched it to 10 seconds and now it's all right. Thanks.

But now I would ask you other few questions:

1) What really means "SuspendOnBackLightOff="? I've read your 3th post, but (maybe due to my bad english) I've not understood...coul you explain it to me in simpe words? Ah, and what do you think about batterry drain..it's better to set this key to 1 or 0?

2) I've noticed from your purpouse about action screen that you think to allow a feature to "lock and then suspend" the device...is this feature close connected to the action screen or is it already avalaible by reg keys? Because I really need it (if the locking mechanism is similar to s2u2, I think with this option enabled - instead of the automatically lock when the device wake up - the app would use less, less, less battery...)

PS: somethime I can't resume the device by pressing the power on button but just taking out the stylus...do you know why?

Thanks another time...

Cheers.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
For a large part, you are right.

The action screen program can also started with command line parameters, so the action screen itself is never shown, just the requested actions are executed. Even multiple actions in one program call can be executed. So someone having a Menu-like tool can just integrate the commands according to the wishes. Or if only one needs to be made available, then this can be configured as hardware or software key or an external program, like Gyrator 2.

And probably you are also right, that the toggling will not be done so often, that it can also be done in the configuration screen, one press further down.

Anyway, I will post a minimal action screen soon, I hope.

As always, these sort of discussions are good, because this makes the essentail part right. :rolleyes: I even do not know if the parts you mentioned (bluetooth, Wifi, etc) belong to my action screen, or that belongs to already existing solutions.

See keep discussing!
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Actually, I did get a quick look to your log file and did not see the cause immediately. So I forget to have a detailed look later on.

Anyway, glad to hear the mystery is solved.

TouchLockPro listens to power change events, including Backlight off/on events. The default setting "SuspendOnBackLightOff=1" will try to suspend your phone (the same as when you press the PowerOff button) automatically when the backlight changes from ON to OFF and the phone is LOCKED. So in this way, your phone uses less battery, otherwise you have to wait till Windows Mobile settings will suspend the device.

Note that trying to suspend means, that there may be a program running, which prevents from suspending (like a GPS application).

If the phone awakes in you pocket and you do not respond, it will earlier go to SUSPEND again with setting "SuspendOnBackLightOff=1".

So 1 is better for preventing battery drain, but it only works when LOCKED.

"lock and then suspend" is the same as pressing the power off button, when you have the setting "AutoLockOnPowerOn=1". In the action screen the setting "AutoLockOnPowerOn=0" will not make a difference, it will do what you ask.

This has to do with the locking of the hardware keys. It can take 20 seconds or more, before the power button reacts. Unfortunately this is related to the HTC locking API I use, so I did not find a way to avoid this HTC behaviour :mad:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
TouchLockPro chosen as one of the Three Top Apps for your HTC Touch Pro and Diamond

I am honored to see that TouchLockPro is chosen as number 2 Top Application:

Three Top Apps for your HTC Touch Pro and Diamond

Also the number of downloads from the XDA site is above 1350 for version 1.5 now, excluding the downloads from other sites, e.g. :

http://handheld.softpedia.com/get/System-Utilities/Enhancements/TouchLockPro-69056.shtml

http://www.freewarepocketpc.net/ppc-download-touchlockpro.html
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
I would agree with this, there are too many ways to unlock on the action screen, i think the following would be better

Row 1:

a. lockscreen - (using setting defined by 4a and 4b)

b. Softreset - With Confirm

c. Power Off - With Confirm

d. exit the action screen

Row 2:

a. Toggle bluetooth (ON or OFF - why bother with invisable, can set that elsewhere)

b. Toggle Wifi (On or Off)

c. New alarm (Configurable to work with Klakson)

d. Silent/Vibrate Mode (Switch Phone to Silent or vibrate)

Row 3:

a. User Config

b. User Config

c. User Config

d. User Config

Row 4:

a. Configuration screens (to configure all the possible settings, without the need of a registry editor)

b. LockIndicator configuration screen, choose between BattClock (and change position), BattStrip (a small strip on top of the screen, the width of the strip indicates the battery percentage left), Stealth mode (no BattClock, 1x1 pixel when locked, so it is unnoticed)

c. Detailed Battery Info screen

d. Free Memory utility

also to get it released, you could completely omit row 3 since row 3 should come last.

that set of options is just my prefered set as it includes all of the commonly used features for most people.

Once there is a good definition of what will be included in the actionscreen (PLEASE USE MY SUGGESTION LOL :D:):D) i will start hacking away at the icons!

thanks
[Touch Diamond, MDA Compact IV Themes and Apps] a3watch:
It is possible to overrule the default settings via registry:

The registry values are not on my HTC Diamond

when adding them like indicated they noting will / can be changed.

What am i doing wrong?

A3
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Yes, if the setting is not there, TouchLockPro uses the default programmed one. But you have to soft-reset your device or stop/start TouchLockPro via the Programs folder, to make the overrule settings active.

In later version a separate Configuration program will be there, so it becomes more easy to overrule settings.
[Touch Diamond, MDA Compact IV Themes and Apps] texasez:
if i am in a dark room, the phone rings in my holster, can i take the phone out and unlock the phone one handed. The icons to press 3 times look very small. Does the back light come on when a call comes in?\

I have trouble with pressing the ignore button when taking the phone out of the holster. I want the solution to be able to be use with one hand.

Larry
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I think you misunderstood, unlocking is not done by tapping 3 times the BattClock, but by triple touching the capacitive hardware area, as shown in post #2. Only the number of touches are shown in the BattClock.

The capacitive touches are very easy to do one-handed, e.g. at the answer or reject HARDWARE buttons.
[Touch Diamond, MDA Compact IV Themes and Apps] lexluthor:
nevermind for now
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
There is a setting KeysOnly (LockWhenIncomingKeyOnly = 1), which will only lock the keys and not the TouchPanel at incoming calls. But this setting is only suitable if you have a slide2answer screen. Many HTC ROMS have these already built in.

Indeed there is no setting to lock only the touchpanel at incoming call, because also there you can accidently reject the incoming call. So I can add that setting, but this is dangerous too.

Do you not have a alide2answer on your phone? Maybe this is also available somewhere as separate download?
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Actually it was a registry key to keep GPS on. I do not remember where I found that and I do not know if Samsung also has something for the GSENSOR. So maybe you can try asking in the forum of the Samung Innovator site. If it is true the GSENSOR is no longer working in IDLE mode and if this can be prevented.
[Touch Diamond, MDA Compact IV Themes and Apps] Cobaltikus:
Bluetooth Earpiece Answer Button

Issue:

Intermittently, while locked, while phone is ringing, if you press the answer button on your BT earpiece instead of the call being answered, the ringing sound is transfered to your earpiece but it keeps ringing and doesn't answer. If you press the button again it transfers the ringing sound back to the phone speakers, but still does not answer.

I don't have a solution but am curious about this.

I NEVER had this problem with my Touch Pro.

I now have this problem with my Touch Pro2.

The Touch Pro and Diamond have a M$ BT stack.

The Touch Pro2 has a Widcomm BT stack (which has messed up some other apps as well like MobileSrc MobileRemote - awesome app by the way if you have a M$ BT stack).

Therefore - I am curious to know - those of you having this problem, which BT stack do you have? If you don't know then what phone do you have? Is there anyone out there this problem that has a Diamond (1) or Touch Pro (1)?

What's so weird is that SOMETIMES when you press the BT answer button, it sends a WM_KEY*** message to answer (and that's where the problem is) and SOMETIMES it does not send that message it just answers.... And I'm pretty sure it has to do with the Widcomm vs M$ stack.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I have posted a question in the samsung innovator forum:

SmiAccelerometerGetVector returns 1 with screen off/IDLE mode
[Touch Diamond, MDA Compact IV Themes and Apps] Slide:
Hi ZuinigeRijder,

there is a program for the Proximity Sensor for HD2.

http://xdaforums.com/showthread.php?t=624206

Maybe you can even fit for TouchLockPro.

Greeting

Slide
[Touch Diamond, MDA Compact IV Themes and Apps] gregwee:
TLP works great in my HD2!

However, there is one shortcoming that I've noticed. I've configured the phone to turn off the screen when the phone is upside-down as that's the position of the phone when it is in my pocket. However, I noticed that even if the screen is upside-down in the pouch, pressing any button will still activate the screen, even though the screen is still locked.

Would it be possible to add another function to the light/proximity sensor, for it to over-ride the screen backlight and prevent the screen from lighting up when the button is pressed while the light/proximity sensor is at "0"? That's to prevent the phone from lighting up when the button is pressed while the phone is in the pocket.
[Touch Diamond, MDA Compact IV Themes and Apps] victorchen101:
I'm sorry to say that I have tried the test version and it faild to change the laguage.:(

Maybe there are some incorrect settings which make the TouchLockPro fail to identify the Chinese (Taiwan) on my Diamond.:confused:

Maybe I shoud just let it go instead of making you busy in this problem.

Thanks for your hard work!
[Touch Diamond, MDA Compact IV Themes and Apps] Bib_x:
I set on my HD2 "Keys only", but when i get an incoming call, the slider to answer the call is locked...
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I asked the developer if he wants to share its source code. If someone knows about the Proximity API, that would be great. I can now only exploit the Samsung Proximity sensor. So probably I start with that :rolleyes:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
That would not prevent the screen going on. It would only mean that the screen could be forced to go off again. I do not know if it is so handy in practice too, if you take it out of your pocket, the screen will be off too :rolleyes:

But a setting to execute screen off when it is upside-down in your pocket could be an option. But what if there is an incoming call? Then you do not want to do that. Hmmm, what do others think:confused:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I think this is related to the WM AutoLock you also use. So probably WM Lock is locking the slide to answer screen :confused: It should work without WM Lock.
[Touch Diamond, MDA Compact IV Themes and Apps] gregwee:
Forcing the screen to go off again would be great.. :) When I take it out of my pocket, the proximity/light sensor would see light, and that will unlock the screen right? So, even if there is an incoming call when in the pocket, the screen won't need to come on until you take the phone out of your pocket, and the sensor actually sees light.

As everyone knows, the HD2 is a real battery hog, and any help to reduce battery usage would be fantastic.
[Touch Diamond, MDA Compact IV Themes and Apps] Bib_x:
I don´t use WM lock - only TLP. The slide2answer screen is visible, but i can´t touch on the screen, because it´s locked. I have to unlock my phone (light-sensor or g-sensor), then i can move the answer-slider.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Ok, maybe you did set: HTCLockAPI (HTCLockAPI = 1)

Can you enable debug logging, reproduce the scenario and post the log file \TouchLockPro.log.txt as zipped attachment. Maybe that gives me a clue :confused: Or the new version with the removed !SCREENON gives this as side-effect:confused:
[Touch Diamond, MDA Compact IV Themes and Apps] Bib_x:
HTC Lock API is checked on, thats right.

Because if i uncheck this, my Power Button still opens the action screen if i press it long, even if the device is locked. With HTC LockAPI=1 this will not open it.

I unchecked HTCLockAPI and now i can answer my call.

But i would prefer to use HTCLockAPI.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
KeysOnly (LockWhenIncomingKeyOnly = 0)

Default it will default lock (so including TouchPanel). If you only want the keys locked at incoming call (e.g. you have a Slide 2 Answer and want to take the phone via the slider), you can enable this setting. Note that if you use HTCLockAPI = 1, temporarily the general keyboard hooking is used, to make this functionality work.

Looks the red part is not working for you. Can you reproduce and post a debug log file?
[Touch Diamond, MDA Compact IV Themes and Apps] Bib_x:
Strange! It works now!

I checked HTC Lock API=1 again and now i can use my touchscreen to slide2answer an incoming call. Keys are still locked but touchscreen is free.

I only changed HTCLockAPI - nothing else...
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Hmmm, maybe it was a timing problem. If the problem occurs again with this setting, can you then enable debug logging till the problem reoccurs. Because then it is a bug somewhere :mad:
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I do not give up too fast, otherwise TouchLockPro did not get to the stage it is now at. I investigated further.

http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx Says:

A neutral culture is specified by only the two-digit lowercase language code. For example, "fr" specifies the neutral culture for French, and "de" specifies the neutral culture for German.

There are two culture names that contradict this rule. The cultures Chinese (Simplified), named zh-Hans, and Chinese (Traditional), named zh-Hant, are neutral cultures. The culture names represent the current standard and should be used unless you have a reason for using the older names "zh-CHS" and "zh-CHT".

MSDN also gives some sample code:

using System;
using System.Globalization;

public class SamplesCultureInfo {

public static void Main() {

// Prints the header.
Console.WriteLine( "SPECIFIC CULTURE PARENT CULTURE" );

// Determines the specific cultures that use the Chinese language, and displays the parent culture.
foreach ( CultureInfo ci in CultureInfo.GetCultures( CultureTypes.SpecificCultures ) ) {
if ( ci.TwoLetterISOLanguageName == "zh" ) {
Console.Write( "0x{0} {1} {2,-37}", ci.LCID.ToString("X4"), ci.Name, ci.EnglishName );
Console.WriteLine( "0x{0} {1} {2}", ci.Parent.LCID.ToString("X4"), ci.Parent.Name, ci.Parent.EnglishName );
}
}

}

}

/*
This code produces the following output.

SPECIFIC CULTURE PARENT CULTURE
0x0404 zh-TW Chinese (Taiwan) 0x7C04 zh-CHT Chinese (Traditional)
0x0804 zh-CN Chinese (People's Republic of China) 0x0004 zh-CHS Chinese (Simplified)
0x0C04 zh-HK Chinese (Hong Kong S.A.R.) 0x7C04 zh-CHT Chinese (Traditional)
0x1004 zh-SG Chinese (Singapore) 0x0004 zh-CHS Chinese (Simplified)
0x1404 zh-MO Chinese (Macao S.A.R.) 0x7C04 zh-CHT Chinese (Traditional)

*/

So in TouchLockAction I need to be smarter to detect the parent culture for chinese languages. I did fix that in the test version in the attachment. Hope this works now :cool:

Thanks for the testing effort!
[Touch Diamond, MDA Compact IV Themes and Apps] Whistle_Master:
Unfortunately, I have a HTC rom without a slide2answer and that's why I prefer to use the keys to answer a phone call and lock the touch screen.

If you want and/or have the time to implement that setting, I wouldn't mind :D
[Touch Diamond, MDA Compact IV Themes and Apps] victorchen101:
Thanks for your hard work !

The test version works well at this time, and most of Chinese characters can be read clearly.:D
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Ok, I uploaded the test version as official version, so people who did download 2.10.4 to get Chinese translations, can download and install again. I did no version number update.
[Touch Diamond, MDA Compact IV Themes and Apps] Bib_x:
I use exidlers proximity-tool and TLP at same time on my hd2. Works great! Hope you can implement this function soon.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Ok, exidler did send me a PM the approach. Actually, we were already close, with the following post:

The missing piece was how to enable the proximity sensor. That is another registry key. I am awaiting if I may share this information.

When the proximitiy sensor is enabled, the screen will go off automatically, it will not go on automatically. So we must think how in TouchLockPro how we are going to use the proximity sensor, e.g.

- automatically unlock if proximity sensor does not detect something

- automatically screen off if proximity sensor does not detect something during a call (InCallTweak)

- do we also want a screen off not during a call:confused: