[new release] VJOkButt - Windows Mobile Development and Hacking General

Guys,
This is a spinoff from my VJPhoneShortcuts app. However, it's useful on its own, even for those without a phone.
This app is designed to be assigned to a hardware key or to be used with a program like SmallMenu or Xbar.
It will simulate pressing the OK button or Close button.
Note: it will close apps, not minimise them. So it can be used as a tiny taskmanager, to close tasks to save memory.
WM5 and WM2003 compatible.
Unfortunately because of the nature of these apps, it needs refinement depending on the apps you use, but it should be quite stable. Please report problems.
Version Info:
v0.7 = 13.02.2006:
Major update, fixing GPRS issues, adds Reminder hiding, Reminder ghosting, Basic TaskSwitching
v0.71 = 15.02.2006:
Minor bug fix on certain calls still being detected as active even when closed.
Todo:
Exception list - nearly done!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The option list is getting long. I sugget using the "VJOkButt VJ's" shortcut on the red button to see the various features in action.
Reminders before:
Reminders after:
PLEASE NOTE: because reminders don't like being hidden, they will still try to get your attention from time to time. You will notice this because they will "steal focus", ie try to show themselves, even though they're hidden. This means that when you are writing text with the SIP etc, your input will stop suddenly etc. I cannot preven this OS feature (right now. I will consider trying to override it later). So don't leave reminders hidden forever, it will become inconvenient.
Reminders notification (in tray):
On my website
V

Another great work!
Also I like the name.... VJ... Butt hahaha

The idea of ok-close button simulation is great because this button is used ussually. But there is 4 hardware buttons to assign and it's great if user can assign hangup button (red button) for ok-close button. In the phone call, the red button will hang up the phone as default, otherwise it will simulate ok-close button. And could you add an option for "really close" or "minimize" function?

Xadaa: yes, the name was not chosen by accident, and is 110% true, ask my girlfriend :wink:
Pocket Me: For a tiny/simple program it requires a lot of work under the skin Minimise option will be added as a command line option.
The red button: I'll look into it, but different people will have different ways of using it (hardware button, launcher, start menu etc) so I don't really want to make it specific. I recommend that you use a program like ButtonMax that can have different key mappings depending on the active program. But it should be doable.
V

vijay555 said:
Pocket Me: For a tiny/simple program it requires a lot of work under the skin Minimise option will be added as a command line option.
The red button: I'll look into it, but different people will have different ways of using it (hardware button, launcher, start menu etc) so I don't really want to make it specific. I recommend that you use a program like ButtonMax that can have different key mappings depending on the active program. But it should be doable.
V
Click to expand...
Click to collapse
I'm waiting for the next version with new command-line option. Thank you!
The red button: you did not understand me. At this moment, there's no button mapping software can process the red-button (even ButtonMax).
The red-button is only used to hangup the phone as default. That's why it's great if we can assign ok/close simulation to red-button (simulate only if idle -> it means it is still used to hangup in a call). So we can keep 4 hardware buttons to use in different purposes by button mapping software.

I think AE Button plus will assign to the red key won't it?
Not sure if it's WM5 compatible, but I think it does for WM2003.
I could make a version of VJOkButt that would act like AEButtonPlus to assign it to the red key, but AEButtonPlus does the job well.
I will make a version that hangs up if you're in the phone app.
V

Yep, I know. We can assign red-button by AEButton but it will remove the default function of phone hangup. It means: assign red-button to do something, it can not hangup the phone anymore.

No problem! You can already hang up the phone using VJKeyPress with command line 115.
http://www.vijay555.com/index.php?Releases:VJKeyPress:Key_List
I'll join the two programs together so it will hang up the phone if you're in a call, or close/minimise all others.
V

Thanks for your considering!
Could u pls develop a tiny program allow users can assign red-button for ok/close simulation or anything they want but still keeping the default function of it (hang the phone). It's the best solution: keeping the default function of red-button when the phone application window or the incoming call window are activated, otherwise do its assignment.
Why the phone application window? Because if pressing red-button in phone application, it will close (de-activate) phone application window or cancel the outgoing call so no need to simulate ok/close there.
It's great if you add an option for press n hold the red-button (but for the future maybe).

I totally agree with Pocket Me here
The red button is so useless in most case, I only use it now as a "Home" butt since it will bring me back to today page, but I rather have it close program instead
But once I reprogram the red button with AEButton, the red button no longer act as a close phone button.
I would love to have a program to do the following for the red button (I wouldnt mind paying for it too)
Single press = ok/close program (closes phone app too, not just minize it)
Press and hold = home page (minize all)

Xadaa: I'll see what I can do.
I had some other ideas for the tap and hold, but I'll tell you about them later once I get basic functionality working.
V

Guys, major update to version 0.5.
WM2003 and WM5
Updates:
-min command line will force programs to minimise (normal OS action) and NOT close.
-phone command line will switch to the phone if you are in a call and you press VJOkButt. If you are in the phone and press it, it will hangup.
-phclose command line will force the phone to close, not minimise, to save extra memory (but will cause minor incompatibility with dialing from contacts.)
-about command line for about box.
This update is designed to be used with a program like AEButton Plus to replace the Red Phone key. You can now use it to hang up the phone if you are in a call. If you are not in a call, you can use the red key to close programs and dialogs like a tiny task manager, to conserve memory etc. So hopefully you have a much better and more useful Red key.
Install the cab.
Once installed, I suggest you assign "VJOkButt Phone" version to a hardware key.
I recommend using AE ButtonPlus to assign it to the red phone key.
Note: I'm very new to TAPI and spent the weekend learning this stuff. I'm not updating my website to v0.5 until it's been tested by you guys. But it works well for me!
Please post your feedback, good and bad! I need to know how it works on all systems.
VJOkButt 0.5 cab
And in case I screwed up the cab again, here's the .exe directly:
VJOkButt 0.5 exe
V
PS I'm using the <string> includes to process command lines. Unforunately this has increased the size of the exe 3 times. If someone knows a more efficient string class, please tell me about it!
The size shouldn't be an issue since it's never resident in memory for long.
But I'll try to shrink it later :wink:

Great, vijay555! I'll try and tell you about it later.

vijay555,
I've just downloaded it then installed to my XDA Mini. But all parameters did not work at all. It always close the active program. Maybe, you forgot update the file because the size of VJOkButt.exe is 11KB.
(By the way, pls check shortcuts in installation package. There are some mistake there, all shortcuts always have wrong path "Storage Card\!Install\VJStuff\VJOkButt.exe" :?: ).

RE
Hi vijay555
I think I get your copy from the 1st post instead of the v0.5 for my use as a task manager. Its working great but I missed the 'CLOSEALL' task manager
Any news of your 'CLOSEALL' program? I do hope you can incorporate the feature of closing individual as well as all applications into a single task manager something like the HandySwitcher or MagicButton
Thank you

VJ, thx
you really forgot to update .exe
btw how to use it with aebuttons?
red - phclose (or phone?) which better?
red*2 - w/o parameters and it will just close app?
red*3 - min

vijay555, can I use combined parameters, e.g: -phone -min
I'd like VJOkButt simulate Ok/Close button normally and hangup the phone during incoming/outgoing calls also.

Gosh, sorry guys, I'm so stupid. I had the shortcuts pointing to a different folder on my SD card, so didn't notice the .exe was different. I'll repost hopefully this afternoon.
Nitrogen: when I repost
Use AE Button Plus (works on WM5 and Wm2003 for me) remap red key to an application.
Then use the -phone version to hang up the phone, or otherwise close apps.
The -phclose version will properly close the phone, not minimise it. This is not always recommended because it can cause problems with some apps that expect it to be there (eg dialling from contacts). However, in my use I prefer to fully close the phone app when not needed to save memory. So use -phclose. If you don't specify -phclose, the phone is merely minimised to keep it happy.
All other apps are closed, unless you specify the -min override, which will force all apps to minimise in the normal OS manner.
Pocket Me: yes command line parameters can be combined like that.
Although AE Button Plus will allow you to do multiple key presses, later versions of VJOkButt will contain double tap and hold button features itself. But for now, do with it whatever you wish!
V

Guys, I've fixed the cabs hopefully, above.
Please test and report.
V

<string> include
Hi
I use MFC for small apps as the MFC dll is in rom they come out pretty small with all the string handling you might need.
My camera timer app is only 11KB.
Code:
BOOL CCameraTimerApp::InitInstance()
{
....
....
// search the command line to see if there is a "q" in it, if so exit camera app
CString csCmdLine(m_lpCmdLine);
if (csCmdLine.FindOneOf(TEXT("qQ"))!=-1)
dlg.ExitCameraApp();
}
Jamie

Related

[new release] VJPhoneShortcuts

Install this app on WM5 devices to have a shortcut to the call history and speed dial screen.
V
hey vijay
just dropping a line to say that the stuff you're putting together is simply fantastic!
btw, not sure if there's an app for this but just in case; any chance you can make a shortcut for activating the speakerphone (instead of having to press the green button for like 3 sec)
cheers
Robson, did it work ok?
I've not looked into the speaker phone issue for a while. I know on the Magician it was considered a non software issue. On WM5 it might be software based, so I'll try to look into it.
Do you think I should mod this software to access speed dials etc as well? That might be a bit useful, save us all one click in this busy life we lead (I just finished reviewing 300,000 pages of documents at work, so it's not as much of a joke as i might like!)
V
hey v,
yup it works. i did have a little problem on finding the exe icon; when i installed the cab the icon was not present in the programs folder. so i used file explorer to find the folder "vijay555" in the program files. from there i simply copied the exe icon back to my programs folder.
i think wm2005 was designed to be directed on the 1 hand approach. i use claunch for pasting shortcuts on the today screen. i actually got that from one of your posts i have a folder where it has shortcuts to the calendar, tasks, email, messaging, etc. the app you designed (call history) could go here. if you were to make more shortcuts like speed dial i guess it would be useful.
however, for me what i did was i only use 3 today plugins and those are; bt profile, claunch and systeminfo. claunch allows you to put icons in several folders. i kept the first folder clear of any icons. by enlarging the size of the folder to have it occupy 80% of my screen; i can then keep my today screen clean. the succeeding folders are for tools, games, microsoft and communication; they're loaded with shortcuts. the last folder has shortcuts to my inbox, calendar and task. if there were shortcuts to the phone app, i would then have to click on the folder title to access it and then click on the shortcuts. it would then take 2 clicks to access the speed dial or call history app. given that wm2005 gives you a task bar with the phone and contacts, it would take the same amount of clicks to access the previously mentioned phone apps.
for people having shortcuts directly seen on their today screen, then surely having icons for speed dial and others would help since it'll take them only 1-click.
cheers
rob
I agree, I'll try to knock up the speed dial page as well when I get a mo.
I think you've seen my Today screen,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I originally made VJSMS and VJDialer because I missed dialing from the "today" screen as I could with my p900.
I never touch the "programs" menu to launch stuff, I use SmallMenu for anything in my start menu; the rest is pretty much on my Today screen.
cLaunch has everything I think i could need as a launcher for thumb friendly use; my plugin VJEphemeris is an expansion of that idea, basing everything around the thumb and readability.
The threads on Wisbar Advance Desktop etc are also quite cool, but for my purposes I don't typically need to launch more than say 10 apps, eg inbox, calendar, VJSMS, etc. For more than that, I'm probably using an app that needs the stylus, and for those purposes I have SmallMenu (for full startmenu) and ProgramMenu (for just important apps used on the go) as launchers (both can be used with the dpad, so even the stylus is optional!)
So a combination of claunch and SmallMenu is very usable I think!
V
Guys, this has been updated to include a shortcut to the WM5 speed dial page.
It was a request, but later I'll finish it with WM2003 and WM5 support and some other shortcuts. Later
check it out
V
Guys, I've added Speakerphone on/off shortcuts.
WM5 only!
V
Guys, I've added the facility to load the Inbox and send/receive (ie download new emails) all in one.
WM5 only. Download from my website.
V
Guys, this is a shortcut for the OK/Close button. Assign it to a hardware key.
It's not fully tested, and might just not be worth releasing, but please test it and tell me if it's terrible. Problem is that certain apps need a special case so I can't test all Please report if there are any apps it doesn't work with.
VJOkButt
V
I just realised, and forgot to mention, that VJOkButt can be used as a simple task killer.
So, if you're in an app and don't want to minimise it, but properly close it, pressing the key assigned to VJOkButt will kill the app properly. So it's an improvement on the standard close button I hope. For those that like a lean memory map :wink:
V
Guys, I've updated VJOkButt.exe slightly. Slightly smaller and will close the phone and other stubborn apps also.
VJOkButt
V
can you add command line option
"minimize"?
nice to put it on RED-hard button..
one click - minimize shortcut
double - close
btw also i think you shoud add some unclose-progs list, forexample
WisBard Advance Desktop:
DesktopApp.exe (DesktopWisBarWindow)
added
i'm map it on redbutton with aebuttonplus, then my jam is recive incoming call and i'm trying to reject it - phone is closing, but jam is still ringing...
Nitrogen, I don't advise you to map it to the red button. The red button is designed to hang up. VJOkButt just simulates pressing OK or Close appropriately. So closing the phone app makes no difference to the fact that the phone is ringing (the phone will ring even when the phone is suspended etc, it acts independantly of the phone app).
I map it to a spare button and use it as a quick ok/close. Phone buttons are for the phone... you can use my program VJKeyPress to simulate the red button on another key if you need to, but I guess that would defeat the object. Although you could put the emulated red key on a menu etc if you needed to, or WDA etc.
I don't use WDA. Is "DesktopWisBarWindow" the caption for the window?
I would also need the caption for Wisbar. I guess if necessary I can install it and grab them, but if you know the captions it'd be useful.
Minimize: hmm. Do you mean override default closing functionality to minimize instead? That's doable. But to do double tap detection is a pain and restricts you only to hardware key usage, which is not the intended function of the app, just one usage of it.
V
Guys, I've updated VJOkButt.exe to make it compatible with the control panel and wisbar / WDA.
VJOkButt
V
RE
vijay555,
Your VJOKButt closes per application? Do you have one that closes ALL applications at one go.
One other thing. I've used HandySwitcher to close stubborn button like the phone and you know what? After closing the phone the phone just doesn't work!
I think it would be nice to have a list of 'Ignore List' whereby applications can be specified not to be closed.
It would be nice if the VJOKButt and the CloseALL Butts (if any) can be put in the system tray
Just make them WM5 compatible
Thanks
RE
vijay555,
I just tested your VJOKButt.
It closes an application when the application is open
If you open several applications and wanted to close, say, the 3rd application then there's no way to cycle to the 3rd application to close it.
My suggestion is to have a drop down menu when I click the VJOKButt on the Start button so that I can choose the application to close
I hope you do develop a task manager incorporating the VJOKButt, a close all one, with an 'Ignore List' and ability for application selection for individual closing.
Thanks
FOSA, I would love to do this, and am working on this with a long term view, but there's very little point in me rehashing what's already been done I think.
Magic Button would do pretty much exactly what you describe. VJOkButt is basically just a small emulation/expansion of the ok/close button. It's useful to me that it closes apps, but I already use smallmenu as my taskmanager. it's just quicker for me to close dialogs etc with VJOkButt. Again, I could write a taskswitcher, but such things already exist, and it's not my intention to challenge the existing "state of knowledge"!
If you have some ideas specific to just ok/closing, I'll happily try to incorporate them. Otherwise, I can only say that my vaguely planned out taskswitcher will be something very different to those available!
I can and probably will write a close all button. That'd be useful. In which case, I suppose I have to write exceptions...
Have you tried closing the phone with VJOkButt and reusing it? Works ok for me...
And it should be WM2003 and WM5 already
V
RE
Hi vijay555,
Thanks for the quick reply.
I'm using the QTEK 9000 ( a variant of the Universal) running WM5
Frankly, I've used Magicbutton and HandySwitcher and I'm not pleased with their performance.
When you've Pocket Hack Master (PHM) installed the problem will come in. You'll have to put PHM on their 'Ignore List' or 'Not-to-Close List' or whatever name they use. Sometimes after making phone calls you'll see the stubborn phone icon appears on their program and upon closing it the phone application also closes. Another irritating thing is the PHM icon. Sometimes when you closes ALL the applications the PHM will also close even if you already specified it in the 'Ignore List'
MagicButton and HandySwitcher, IMO, still have some bugs to be resolved. Since you've developed the VJOkButt I'm thinking that maybe you can also come out with a task manager
Your VJOkButt closes the phone application OK but thats not what I meant in using MagicButton and HandySwitcher. The problem is that a phone icon apperar in the program and when closing it will render the phone inoperable
Thanks
RE
Hi,
I just had a run of VJOKButt with my phone. I made a call from my contacts page and after that I use your program to close thw phone.
On the next opening of the contacts page again I tried to make a call out but this time UNSUCCESSFUL! In short, the phone is dead
I have to soft reset in order to get the phone up again
FOSA:
I wrote a program called VJTogglePhone or something to unload or load the phone. This removes it from memory. Reloading it requires you to expressly run cprog.exe or just press the green button.
VJOkButt used the same code to unload the phone. This potentially saves memory, but also causes the phone to pause for a second or two when it needs to reload. Dialing from contacts does not reload the phone app. So it just sits there if you try to dial from Contacts.
I've updated it now to merely minimize the phone app. Should work, but remember, if you want to unload the phone, use VJTogglePhone.
Regarding the task switcher thing. I'll think about it, but probably won't have time to code it yet. Have to finish 90% of all of my other programs I've started and not finished. Better to finish them off first
VJOkButt
V

Remap Softkey and volume button

Hi,
Here is my contribution. The program will remap the softkey buttons and volume buttons:
tap soft key = orginal soft key functions
tap and hold left soft key = start menu
tap and hold right soft key = close/ok button
volume slider at the left = page up/down
You can also use the DPAD to do some extra actions in phone app.
NOTE: If you got notification error, please run smartskey.exe and then run smartskey.exe to close the app. The program will now close all notification that relate to smartskey when it is closed.
Update:
0.60 (2007-08-23)
Fixed: Make DPAD function work on WM6
Fixed: Fix DPAD function not compatible with TomTom
0.56 (2006-11-17)
Fixed: Fix compatibility with CeleDial
0.55 (2006-11-15)
Fixed: Compatible with CeleDial
Fixed: DPAD function will call default Contacts/Text Messaging instead of calling original Contacts/Text Messaging directly. So if you have installed any third party replacement, it will be called when DPAD in Phone app is pressed.
0.54 (2006-11-06)
Fixed: Endless loop when using “OK” button of keyboard in Wizard.
0.53 (2006-06-23)
Fixed: DPAD on will not affect TomTom and calendar
Fixed: remove notification routine will remove all paths so that it will not prompt wrong notification path anymore when user change the location of the smartskey.exe
0.52 (2006-03-26)
Fixed: DPAD functions still apply in SmartDial dialog.
0.51 (2006-03-20)
Fixed: Can use volume key to switch to vibrate, off mode by volume slider
Fixed: Exception List will not check the classname of the window as well, so you can also put applications that will change title in the list.
Added: change the behavior of the dpad, and user can set the action for each direction using DUP, DDOWN, DLEFT, DRIGHT
0.5 (2006-03-19)
Add: DPAD, use dpad for additional action (call log, messaging, programs, contacts) in phone app.
Add: VOLUMEONTODAY, volume key will check the topmost app is today or not
Fxied: improve force closed function.
0.41 (2006-03-11)
Fixed: will not overwrite ini files
Fixed: make executable smaller
Added: PAGEONEXPLORE, use soft key to scroll page in “Programs”
0.4 (2006-02-25)
Fixed: rewrite force closed function again
Added: VOLUMEONPHONE, volume key will check the topmost app is phone or not
Added: REMOVEDUPSDDAEMON, automatically remove duplicated sddaemon events.
Added: OMAPCLOCK, omapclock wrapper to set clock automatically after wake up.
Added: STARTMENUMETHOD, provide alternate method to popup start menu.
...
water
THanks!
Great!
Hi Water,
Great little program! Very useful!
Wouter
very good. With your soft and with xbar I can use my wizard with one hand only...
thanks
does "close" function really close the app, or it is a standrad Windows "close"?
And... If you share the source code... ;-)
Now do exactly as pressing the OK button on the keyboard, so hide only. Actually close is much easiler in programming aspect
[feature request]
is there a chance then that at some stage of the development of the tool it would actually ok/close, and not ok/hide the apps?
[/feature request]
That is a nice idea (I just got my 8125 and I was thinking of that EXACT setup)
One thing I would ask for, if its not too much trouble...
Can you make another progy that does everything (start menu and ok/minimize) except the volume scroll? I like to change the volume while in a call and such.
Thanx and really nice job; Lew
EDIT: Better idea.
Include a config file for the program, here's an example.
Code:
LeftSoftKey = 1 // 0 = default 1 = hold for start menu
RightSoftKey = 1 // 0 = default 1 = hold for ok/minimize 2 = hold for ok/close
VolumeScroll = 0 // 0 = default (volume control) 1 = Scroll
I think that's a good idea. Let me know what you think?
Later; Lew
Is it easy to re-configure the tap and hold functions??
okay, add one more version without volume keys remap. For close button request, I may do it when I am free.
The program cannot be configured because actually no interface.
wow man. thanx for such a fast response . I was just in bed when I decided to check one last time (from my wizard of course)
So can the settings for the program be set by a config file? Can it read the the cfg file and use the settings in it as variables for how it will handle the different key press events?
Thanx again... awsome sauce man!
Later; Lew
Is it possible to automaticly switch beteween volume when using the telephone and prev/next page if the telephone is not used.
This would complete your program.
Ferry
This is one of the mose useful bits of software I have come across for the Wizard. Simple but oh so effective Like others have said, one-handed operation is now much more simple.
Well done water
This is one of the mose useful bits of software I have come across for the Wizard. Simple but oh so effective Like others have said, one-handed operation is now much more simple.
Well done water
This is fantastic! Thank you very much water.
I have what I think is a simple question.
I have put the smartkey in my startup, now lets say I don't want it to start up any more. How can I get it out of start up?
I already tried deleting it it says access denied on the Wizard and if I try from PC.
Any thoughts?
Later; Lew
lewcamino said:
I have what I think is a simple question.
I have put the smartkey in my startup, now lets say I don't want it to start up any more. How can I get it out of start up?
I already tried deleting it it says access denied on the Wizard and if I try from PC.
Any thoughts?
Later; Lew
Click to expand...
Click to collapse
delete the shortcut from startup, and then restart the phone.
Yeah... that means im an idiot...
I didn't put a shortcut in the startup folder... I put the exe int he startup folder. Go ahead... point an laugh, lol, I would.
So now knowing that, any other suggestions?
Later; Lew... the dork of the day.
lewcamino said:
Yeah... that means im an idiot...
I didn't put a shortcut in the startup folder... I put the exe int he startup folder. Go ahead... point an laugh, lol, I would.
So now knowing that, any other suggestions?
Later; Lew... the dork of the day.
Click to expand...
Click to collapse
you can't delete it because it is running. stop the process (memory cp app) and then delete it.

pBar - 1.4 has Wireless Manager

I 've made my task manager, smart close, battery indicator.
- Tap on [X] button for smart close
- Tap and move on [X] button for minimize
- Tap and hold for popup-menu
- Can show battery indicator in task bar
- Can show Date, GMT time, Zodiac time, memory, power percent in task bar
- Can show Favorite Programs in popup-menu
- Can show Running Programs in popup-menu (task manager)
- Can show more function button in popup-menu
- Can open multi excel file
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
_________________________________________
7 System buttons (on firt menu item)
- Close: Close current program
- Minimize: Minimize current program and active next window, if current dialog is popup style, it can't minimize.
- Close All: Close all running program.
- Close Inactives: Close all Inactive Programs, except running program.
- Today: Active Today screean.
- Options: Go to options dialog, you can change some setting.
- About:
7 Tool buttons (on last menu item)
- Turn off device:
- Turn off screen: usefull when playing.
- Rotate: rotate screen (WM2003SE, WM2005)
- Soft reset.
- Add Exceptions: Add current program to exception list, when you tap on [X] button, it doesn't close.
- Add Favorites: Add current program to Favorite. When you check in Show favorites menu, in popup menu has icons and shortcut to your favorite programs.
- Exit pBar: exit pBar if you want to.
_________________________________________
Sory, I write English very bad
13/08/2007:
pBar 1.4 beta
- Has 9 shortcuts
- Add Phone, Wifi, Blue tooth status and on / off button
- Fix display in WM6
- Can change Date format
16/06/2010:
Fix for new Phone: TP2, HD2, ...
Download: http://www.lyso.vn/phudong/pbar.zip
IF u using Pbar now and want new version Pbar better.Give me your support ...!
>>>>>>PAYPAL Donate<<<<<<< ​
Sounds nice, pics please?
very nice! on my qvga device the clock is over the battery and volume indicators but it's only a cosmetic bug.
I haven't got the problem. Usuing WM2003SE Seems to work like a charm..
thanks
LordDeath said:
very nice! on my qvga device the clock is over the battery and volume indicators but it's only a cosmetic bug.
Click to expand...
Click to collapse
You must set time format is "HH:mm:ss tt" or "hh:mm:ss tt", if you went to options, you must soft-reset your device
nncuong said:
You must set time format is "HH:mm:ss tt" or "hh:mm:ss tt", if you went to options, you must soft-reset your device
Click to expand...
Click to collapse
nice tipp! i will try it right now
edit: where can i change the timeformat? i can't find anything about that in the options.
hendrixus said:
I haven't got the problem. Usuing WM2003SE Seems to work like a charm..
thanks
Click to expand...
Click to collapse
Hi!
Where did you get the device lock utility on your today screen? I have only seen this utility on WM5.
PK
Thanks, very nice!
I can now stop using Spb Plus totally!
BTW, I find the Exceptions input method in options rather difficult to use, i.e. we need to know the full path of the executable file to put it in. Hope you can improve on that.
Thanks once again.
I'm sory for full guide.
1. Add Program to Exception list:
- When in running program, show popup-menu (by tap and hold on [x] botton or tap on popup button) then tap on Add to Exceptions button (5th button).
- Or, in option, choice Exceptions tab. Fill file name (case-sensitive and include ext.) and tap on [Add]
2. Add Program to Favorites list:
- When in running program, show popup-menu (by tap and hold on [x] botton or tap on popup button) then tap on Add to Favorites button (6th button).
- Or, in option, choice Favorites tab. Fill file name, full path and tap on [Add]
3. Change Time format.
When you go to Option, time format is changed to "hh:mm:ss tt". If you want to manual change, plz go to Setting->System->Regional Settings->Time.
nncuong said:
3. Change Time format.
When you go to Option, time format is changed to "hh:mm:ss tt". If you want to manual change, plz go to Setting->System->Regional Settings->Time.
Click to expand...
Click to collapse
Even I have change the time format as recommended but still I lost the volume, Signal strength icon. Pls help
Thank you very much, cool program!
very nice!
2 Ideas for Improving the task manager:
I don't like to use Clear type on General on my PPC, but it would help very much If you could activate it only for this plugin in the settings.
It would help the QVGA users.
It would be cool to minimze the popup with a tap on the triangle.
WOW
Works great! Keep up the great work. One question. How can I change the date format in the bar from 5/12 to 12/5. I guess us americans like it backwards for the rest of the world.
GreggSymington said:
Works great! Keep up the great work. One question. How can I change the date format in the bar from 5/12 to 12/5. I guess us americans like it backwards for the rest of the world.
Click to expand...
Click to collapse
I'm sorry, I'll add to option in next version
nncuong said:
1. Add Program to Exception list:
- When in running program, show popup-menu (by tap and hold on [x] botton or tap on popup button) then tap on Add to Exceptions button (5th button).
- Or, in option, choice Exceptions tab. Fill file name (case-sensitive and include ext.) and tap on [Add]
2. Add Program to Favorites list:
- When in running program, show popup-menu (by tap and hold on [x] botton or tap on popup button) then tap on Add to Favorites button (6th button).
- Or, in option, choice Favorites tab. Fill file name, full path and tap on [Add]
3. Change Time format.
When you go to Option, time format is changed to "hh:mm:ss tt". If you want to manual change, plz go to Setting->System->Regional Settings->Time.
Click to expand...
Click to collapse
Thanks for the instructions.
What is the difference between 1st and 2nd button?
On the top bar, what is the 2nd, 3rd and 4th button for?
One feedback which I forgot to add in my earlier post, when I have a program open, e.g. sktools, within sktools are individual utilities. If I press the "x" button, it not only closes the individual utility but closes sktools as well. Am I doing something wrong?
Thanks.
pBar can not close a word document. I tap "ok" and nothing happens.
Great app you have!
One suggestion is to allow the user to attach pBar to a hardware button, makes things easier!
Thx!
newb question
i'm getting an error message during startup stating "the file 'pBar' cannot be opened. Either it is not signed with a trusted certificate, or one of it's components cannot be found". I have the .exe file in /windows and have the launch on startup box checked. Any Ideas?
Sorry guys I believe i figured i out, started using from storage card then moved the .exe it's ok now.
GreggSymington said:
i'm getting an error message during startup stating "the file 'pBar' cannot be opened. Either it is not signed with a trusted certificate, or one of it's components cannot be found". I have the .exe file in /windows and have the launch on startup box checked. Any Ideas?
Click to expand...
Click to collapse
Been soft resetting and using for many days already, no such problem until last night, I did a soft reset and left the O2 IIs aside and went to sleep. When I woke up this morning and on the O2, it had the above error message. A soft reset again did not have the problem again. Strange!

[APP][Feb 12, 2009] X1BC (X1 Button Controller) v1.1 Released

X1BC v1.1
X1 Button Controller
Feb 12, 2009
By Jonathan King​
Description
This program is released open source. Contact me if you would like a copy of the source. The program is capable of capturing both short and long presses of panel key, ok key, L/R softkeys, up/down volume keys, and the win key on the slide out KB. The camera half and full press can also be captured and fully configured for short and long half press, as well as short and long full press. Also, the camera key will be ignored while the camera program is open. Capturing each key is all optional. They can be switched by the registry keys detailed in the next post. By default, if the reg keys are not there, none are captured. You can capture the long press only, short and long press, or leave the key alone. Fn key presses are also detected for A, S, D, F, G, Z, X, C, and V keys. Registry strings are used to specify what happens when the key is pressed. You can choose to open execute anything from a program exe to a mortscript to an mp3. You may also configure it to send a character or special key. This allows maximum flexibility.
The program can also make the win key or tab key a ctrl key. There are two modes of operation for each key. For the win key: Short press mode (short press to enable ctrl then press a letter), Long press mode (press letter while holding ctrl). With the tab key, it is still possible to send a tab character: Short press mode (short press to enable ctrl then press a letter; long press sends tab chr), Long press mode (press letter while holding ctrl; short press sends tab chr).
The program also supports vibrate feedback for a press and hold event. The duration is configurable or this can be disabled. Also configurable is the duration you must hold a key for the long press to occur.
To start the key hook, just launch X1BC.exe. If it is already running, launching X1BC.exe again will end the program and restore the keys to default.
Notes
While the panel key is captured, on the ROM I run with no panels installed I still get a popup saying could not find panelmanager.exe. I am not sure what would happen on a ROM with panels installed. To prevent this all together delete the whole registry key HKLM\Software\Sony Ericsson\PanelManager. You may want to back it up first but there is not harm in deleting it. You do need this key if you want to use panels though. But if you do use panels you dont want to remap the panel key anyway.
Capturing the win key on the slide out KB is tricky, but I think I have done it in a way that wont cause problems. It works well as a ctrl key and I havent had problems with it, but I still think the tab key makes a better ctrl key because it behaves like a regular key and is therefore easier to manipulate.
Disclaimer, use at your own risk. I have tested and debugged in the emulator and on my X1. I dont do anything that I think could really cause any harm or data loss. Has never crashed on me at any point during dev. The program does not make any changes to the system. It just runs in the background. If terminated everything works as it did before the program was started. Try it out.
Registry settings:
The following are DWORD values:
HKCU\SOFTWARE\JKing\X1BC\CapturePanel
HKCU\SOFTWARE\JKing\X1BC\CaptureOK
HKCU\SOFTWARE\JKing\X1BC\CaptureLeft
HKCU\SOFTWARE\JKing\X1BC\CaptureRight
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeUp
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeDown
HKCU\SOFTWARE\JKing\X1BC\CaptureLWIN
Here are the possible choices:
0 - Leave the key alone
1 - Capture long press only
3 - Capture long and short press
The default if the value does not exists is 0
The following is also a DWORD but the format is different:
HKCU\SOFTWARE\JKing\X1BC\CaptureCamera
The possible choices are:
0 - Leave the key alone
1 - Capture long and short for half press only
2 - Capture long and short for full press only
3 - Capture long and short for both half and full press
The default if the value does not exists is 0
The following are string values:
HKCU\SOFTWARE\JKing\X1BC\PanelShortAction
HKCU\SOFTWARE\JKing\X1BC\PanelLongAction
HKCU\SOFTWARE\JKing\X1BC\OKShortAction
HKCU\SOFTWARE\JKing\X1BC\OKLongAction
HKCU\SOFTWARE\JKing\X1BC\LeftShortAction
HKCU\SOFTWARE\JKing\X1BC\LeftLongAction
HKCU\SOFTWARE\JKing\X1BC\RightShortAction
HKCU\SOFTWARE\JKing\X1BC\RightLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownLongAction
HKCU\SOFTWARE\JKing\X1BC\LWINShortAction
HKCU\SOFTWARE\JKing\X1BC\LWINLongAction
HKCU\SOFTWARE\JKing\X1BC\HalfCamShortAction
HKCU\SOFTWARE\JKing\X1BC\HalfCamLongAction
HKCU\SOFTWARE\JKing\X1BC\FullCamShortAction
HKCU\SOFTWARE\JKing\X1BC\FullCamLongAction
HKCU\SOFTWARE\JKing\X1BC\Fn_A_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_S_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_D_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_F_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_G_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_Z_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_X_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_C_Action
HKCU\SOFTWARE\JKing\X1BC\Fn_V_Action
Each action key can be one of three types: Execution of a file, sending of a character, or sending of a special key.
To execute a file, the string should contain the full pathname of the file to run. This can be an exe, mscr, lnk, mp3, doc, whatever. Enclose the path and file name in quotes, followed by a space, then any parameters if you desire if it is an executable. For instance:
Code:
"\Program Files\App\My App.exe" -p
To send a character, the string must begin with a # symbol followed by the character to send. For instance, to send a "$" character, they value of the string should be:
Code:
#$
To send a special key, the string must begin with a & symbol followed by the identifier of the special key to send. Here are the special keys:
W - Windows key
R - Rotate screen
Q - Send left softkey event
E - Send right softkey event
What other special keys would you like?
For instance, to send a windows key event, they value of the string should be:
Code:
&W
The following are DWORD values:
HKCU\SOFTWARE\JKing\X1BC\LongKeyTimeout
Delay for long key press in milliseconds. The default if the value does not exists is 500.
HKCU\SOFTWARE\JKing\X1BC\LWINCtrlMode
Here are the possible choices:
0 - Do not use as ctrl
1 - Short press mode (short press to enable ctrl then press a letter)
2 - Long press mode (press letter while holding ctrl)
HKCU\SOFTWARE\JKing\X1BC\TabCtrlMode
Here are the possible choices:
0 - Do not use as ctrl
1 - Short press mode (short press to enable ctrl then press a letter; long press sends tab chr)
2 - Long press mode (press letter while holding ctrl; short press sends tab chr)
(Note, you may use either LWIN or TAB for ctrl. Not both at the same time. If both of these keys are non zero, the tab key will be used. I recommend the tab key. It is more reliable.)
HKCU\SOFTWARE\JKing\X1BC\SupportMultipleKeyHooks
Here are the possible choices:
0 - OFF
1 - ON
The default if the value does not exists is 0. (Please leave as 0 for now. It does not work.)
HKCU\SOFTWARE\JKing\X1BC\HoldFeedbackDuration
Duration of vibration feedback for a long key press. Set to zero to disable. The default if the value does not exists is 35.
HKCU\SOFTWARE\JKing\X1BC\LandscapeOrientation
Set which landscape orientation the "R" special key will switch to. Choices:
0 - Left handed (correct orientation for the keyboard)
1 - Right handed
The default if the value does not exists is 0.
Known Issues:
-Does not support multiple key hooks (not really a problem as this is an OS limitation but see this post for details)
-LWIN long ctrl mode does not work
Changelog:
v1.1 [2/12/09]
-Added special key (&R) for screen rotation
-Added special keys (&Q and &E) for left and right softkeys
-Fixed bug that cause crash if Fn key was assigned to non existent file
-Will now prevent camera app from opening if you reassign camera button
-Changed format of reg settings for camera button
v1.0 [2/11/09]
-Improved WIN ctrl key support
-Added tab key short and long ctrl modes and registry setting
-Added key hold vibration feedback and registry duration setting
-Added capability to capture fn keys. Registry settings added
-Added capability to send character strokes and special keys
-Added capability to capture half and full camera button press. Registry settings added
-Changed default registry values to reflect correct installation directory for other languages
v0.4 [1/10/09]
-Fixed bug that caused extra long key press in one circumstance
-Fixed bug that caused crash during startup if registry strings were not formatted correctly
-Added option and registry value to change long press timeout
-Added short ctrl key feature and registry option for feature
-Added option to allow other key hooks (doesnt yet actually work)
-Now released in CAB format; CAB presets all reg values and creates shortcuts in startup and start menu
-X1BC now ignores keys by default if reg values do not exist, rather than capturing by default
v0.3 [1/07/09]
-Added registry keys for key actions
-Program now performs key actions from settings
v0.2 [1/06/09]
-Simplified reg settings
-Removed all but "exiting" popup during startup and shutdown
-Rewrote key hook algorithm for better reliability
-Unwanted keys now released to system as set by preferences
Todo List:
-Support multiple key hooks
Downloads below. Please note, the cabs will overwrite existing registry settings. If you want to upgrade from previous version, back up the settings first or just replace the exe. The cabs also place a shortcut in startup and in the start menu.
nice!
would look forward for the program when it's officially released
Heh, nice one Jking. I think the best way to go is to somehow "merge" your app with Dande's. Dande doesn't want to create a UI and uses mortscript, where you use the - in my opinion easier - registry. From what I see so far, you both have the same app, written in a different way, with the biggest change being you using the winkey (which I like), and Dande using the tab key.
I'd like to see where this goes, keep up the good work!
All the Best JKingDev, sorry I can't help. I don't know programming.
The biggest shortcoming of the X1 is the lack of buttons for mapping to apps and task manager. I miss the ease of button mapping on my previous i780.
Looking forward to your end product!
Good idea. Looking forward to this app.
cheers
I would love to see an option that would allow these button's to be exposed in the list of assignable buttons in the Buttons Settings control panel (similar to how Tilt developers were able to add the PTT button to it) to allow regular action assignments to those buttons.
Very interested to see how this application turns out!
millercentral said:
I would love to see an option that would allow these button's to be exposed in the list of assignable buttons in the Buttons Settings control panel (similar to how Tilt developers were able to add the PTT button to it) to allow regular action assignments to those buttons.
Click to expand...
Click to collapse
Yeah, me too! But I guess this is on driver level, not sure though!
Edit: I take that back, I remember that AEButtonPlus is able to add virtual keys to that list. But I think you still have to run your application at all time in the background, not really giving an advantage to this. I might be wrong again though.
@JKingDev
I was sending you my code. Didn't expect you to be this impatient
From what I have experienced, using the keyboard hook, it is not possible to remap the panel and the symbol button. Usually you can stop their original functionality to work by returning -1 in the hook, but that doesn't work with panel and symbol. So, at least at first sight, it seems to be not possible to remap these buttons.
You could consider also using RegisterHotKey, which is officially supported by the SDK. Mort told me that he uses it with MortPlayer and it seems to be quite powerful too. Maybe the hook and RegisterHotKey together allow you to do more than just with the hook. I thought that, when you can't do it with the low level hook, there is no other way at all to do it, that's why I didn't even bother trying.
Since you already started a thread in the development phase, maybe you should tell us what you actually plan to implement so that people can tell you in advance what they like about your concept and what they don't. Kind of collecting requirements before coding - like software engineering should be (and not like I did it )
Edit: By the way, in the zip file I sent to you by mail, you can also find a text file which documents the button sequences I was interested in. Helped me a lot while implementing.
Angelusz said:
Dande doesn't want to create a UI and uses mortscript, where you use the - in my opinion easier - registry.
Click to expand...
Click to collapse
First of all, the registry is only some kind of global application configuration database (and a bad idea from microsoft if you ask me). The registry can only enable functionality that is implemented in an application. In contrary to that, MortScript allows you to implement functionality that my application doesn't.
Despite of being completely different things, I don't find fiddling in the registry easy nor secure, but that's another topic.
Ah, and no offense intended, alright
@Jking:
THANKS for this great idea !!
X1 is missing a dedicated REC key
I desperately need this function
One-touch key press to automatically start recording a voice note
Maybe your software will finally let me use my Xperia as a voice recorder
Thank you for all the support! I am glad there is interest in this. It is nice to give back to this great community. New test version. I rewrote the key hook algorithm to handle the win and softkeys in a smoother way. Shouldnt have any prolems now. Now, if you put in settings to not capture a it should be released to the system like normal. Also changed up the registry settings a little bit to streamline the code. Made note of the new format in the second post. Next step will be to actually perform user specified actions when keys are pressed. It will actually become useful.
For some reason, when I set the grab volume key settings to 0 and completely ignore them, they still dont do anything while X1BC.exe is running. I am not sure if this is my app doing this or AEBP screwing with me since I still have it installed. Does anyone else get this problem?
millercentral said:
I would love to see an option that would allow these button's to be exposed in the list of assignable buttons in the Buttons Settings control panel (similar to how Tilt developers were able to add the PTT button to it) to allow regular action assignments to those buttons.
Very interested to see how this application turns out!
Click to expand...
Click to collapse
I believe this can be done since AEBP does it but I am not sure how. I have a slight idea of what I think it does. It involves adding some registry keys then sending custom key codes. I will look into this after I have accomplished everything else I want with this app. Can't make any promises but I will try.
Dandie said:
Yeah, me too! But I guess this is on driver level, not sure though!
Edit: I take that back, I remember that AEButtonPlus is able to add virtual keys to that list. But I think you still have to run your application at all time in the background, not really giving an advantage to this. I might be wrong again though.
Click to expand...
Click to collapse
Yes I think you are correct on this. The only advantage is assigning special keys like <rotate screen> ect. Most of those things you can find exe's for or use a mortscript anyway though, and my app will allow you to specify any exe/mortscript/file to run/open anyway.
Dandie said:
@JKingDev
I was sending you my code. Didn't expect you to be this impatient
From what I have experienced, using the keyboard hook, it is not possible to remap the panel and the symbol button. Usually you can stop their original functionality to work by returning -1 in the hook, but that doesn't work with panel and symbol. So, at least at first sight, it seems to be not possible to remap these buttons.
You could consider also using RegisterHotKey, which is officially supported by the SDK. Mort told me that he uses it with MortPlayer and it seems to be quite powerful too. Maybe the hook and RegisterHotKey together allow you to do more than just with the hook. I thought that, when you can't do it with the low level hook, there is no other way at all to do it, that's why I didn't even bother trying.
Since you already started a thread in the development phase, maybe you should tell us what you actually plan to implement so that people can tell you in advance what they like about your concept and what they don't. Kind of collecting requirements before coding - like software engineering should be (and not like I did it )
Edit: By the way, in the zip file I sent to you by mail, you can also find a text file which documents the button sequences I was interested in. Helped me a lot while implementing.
Click to expand...
Click to collapse
Sorry for my impatience. I had lots of free time and was itching to put my coding skills to work. I have wanted to write a button mapper since I owned a mogul (on my 6700 i used pqzII to make the win key a ctrl mey; i missed this functionality) but I never got around to it.
About the panel key, a key hook is able to detect the panel key presses, but for some reason it is unable to prevent the system from detecting it too like it can for other keys. This is why the work around to delete the panel manager registry key is necessary. Once you do that, the system ignores the key. Hotkeys sounds like a good idea. As it is, it works for me. I can try hotkey later though to see if that works out better. Deleting the panel manager key is an easy work around though if you dont use panels.
Well as far as key functions, you will specify via registry key what file/program to open/run. It could be and exe, mortscript, mp3, whatever. I think that allows max flexibility. Run a program directly, or run a mortscript if you have something more complex you want the key to do. The same functionality as yours, the only difference is that this can also run an exe directly as opposed to writing a script to run the exe.
After that, I want to implement the win key as a ctrl ley. There will be four modes. 1.) Disable ctrl key: allow the ctrl key to be assigned for short and long presses like it is now. 2.) Short ctrl key: Short press + letter sends ctrl key while a long press is mappable like it is now. 3.) Hold ctrl key: Hold + press letter then release sends ctrl key, while short press is assignable to something else. 4.) Full ctrl key: both short and hold methods send ctrl key.
Next I will add FN+key combinations to be assignable the way the other keys are (run exe/script/open file).
After that it will be looking into the suggestions of others such as virtual app keys.
Dandie said:
First of all, the registry is only some kind of global application configuration database (and a bad idea from microsoft if you ask me). The registry can only enable functionality that is implemented in an application. In contrary to that, MortScript allows you to implement functionality that my application doesn't.
Despite of being completely different things, I don't find fiddling in the registry easy nor secure, but that's another topic.
Ah, and no offense intended, alright
Click to expand...
Click to collapse
The purpose of using the registry is not really to make things easier, it is just to make things configurable. You may choose what keys to trap and turn the ctrl key on or off. Mortscripts are very powerful and easy and I still give you the option of using them. But if all you want the key to do is launch a program, why launch a script just just launches a program? I give you the option to just launch that program directly.
New version 0.3. Now the keys are fully functional. The program is actually useful now. The registry keys to set for the key actions are detailed in the second post. All fully functional. I have stopped using AEButton plus now as X1BC does everything AEBP was doing. No more AEBP splash on boot. Now on to what AEBP doesnt do, ctrl key, fn keys, ect.
One caveat though. I figured out what the problem was with the volume keys. I use the HTC Blackstone volume control. It seems certain that HTC volume control as well as you tube, radio, ect use key hooks. Even if I tell my program to ignore the volume keys, pressing volume up will bring up the volume control but after that the volume keys wont change it. The reason why is that once HTC volume control pops up it sets a key hook to control the keys. If my app already has a key hook set, HTC VC will be unable to install its own hook, thus cannot grab the keys. I proved that HTC VC uses a key hook by closing X1BC, launching the VC, then trying to launch X1BC. My app reported as expected that it could not install the hook.
I noticed something very interesting a while ago though. I can launch X1BC even while AEBP is running and it will work. I didnt think much of it but now I realize that this is important. HTC VC works fine even if AEBP is running. AEBP certainly uses a key hook. I can launch AEBP first then launch X1BC. If I first launch X1BC then launch AEBP, AEBP wont work. I think this means that AEBP has some mechanism of supporting a second key hook. Probably the same way hookmgr works. I will try installing that and seeing if it makes the HTC programs and X1BC work together peacefully. Ultimately though, I want to give X1BC the capability to support another program setting a key hook. Not a big deal though. The HTC programs still work. Pressing a volume key brings up the volume control then you can control with your finger.
It is fully functional for mapping the hard keys now! Try it!
@JKingDev
I would still like to know what exactly you plan to build as the application, I mean featurewise. What features and maybe layout do you want the final application to have? It does really make sense to gather feature requests before starting the development of a complex software, otherwise people will always tell you what they would like to have changed. I think you would save quite a lot of implementation effort that way and you also could arrange your architecture a bit to the "final" structure of the application.
Dandie said:
First of all, the registry is only some kind of global application configuration database (and a bad idea from microsoft if you ask me). The registry can only enable functionality that is implemented in an application. In contrary to that, MortScript allows you to implement functionality that my application doesn't.
Despite of being completely different things, I don't find fiddling in the registry easy nor secure, but that's another topic.
Ah, and no offense intended, alright
Click to expand...
Click to collapse
None taken. I'm just trying to add some perspective here. This is a developers site - true. So you can expect some people to be able to work with mortscript - true. But, regardless of any other arguments, there's a lot of users who just don't grasp scripting like with mort's and/or cba to learn yet another language. It's really good to support mortscript, all I'm saying it's nice to have the "easier" and simpler options as well. I will probably get into mortscript soon, too - as soon as university loosens up.
Now, on this application itself - it's looking really good Jking, it would be lovely to have it support multiple keyhooks. Another feature I'd like to see is grasping software keys, like for instance when tapping the clock in TF3D. I'd like to be able to set what that does as well; e.g. remap it to an application or something. Same goes for calender etc. - is your current code able to support that too?
Keep up the great work, this one is starting to look like a keeper!!
(Although I like AEbuttonplus, I read/noticed some downsides about it and would rather replace it.)
Dandie said:
@JKingDev
I would still like to know what exactly you plan to build as the application, I mean featurewise. What features and maybe layout do you want the final application to have? It does really make sense to gather feature requests before starting the development of a complex software, otherwise people will always tell you what they would like to have changed. I think you would save quite a lot of implementation effort that way and you also could arrange your architecture a bit to the "final" structure of the application.
Click to expand...
Click to collapse
Dandie, I am not sure quite what you mean by this. I outlined all the features I plan to implement. The application is in its final structure, I am just still adding features. What more details did you want to know?
Angelusz said:
Now, on this application itself - it's looking really good Jking, it would be lovely to have it support multiple keyhooks. Another feature I'd like to see is grasping software keys, like for instance when tapping the clock in TF3D. I'd like to be able to set what that does as well; e.g. remap it to an application or something. Same goes for calender etc. - is your current code able to support that too?
Keep up the great work, this one is starting to look like a keeper!!
(Although I like AEbuttonplus, I read/noticed some downsides about it and would rather replace it.)
Click to expand...
Click to collapse
Thanks Angelusz. I don't believe that capturing things like tapping the clock in TF3D is possible though. Tapping software buttons does not generate a keyboard event. Only actual keys do. Therefore unless TF3D sends key events for some reason this would not be possible.
JKingDev said:
Dandie, I am not sure quite what you mean by this. I outlined all the features I plan to implement. The application is in its final structure, I am just still adding features. What more details did you want to know?
Click to expand...
Click to collapse
Oh, then I must have overlooked something. What configuration possibilities do you want to offer in your UI, what do you want to offer via registry configuration and what must be done via scripts or additional programs. E.g. what do you want to implement what a powerful program like AEButtonsPlus offers, what do you don't want to offer and what do you want to add to it to make it better. Starting a discussion like this would pop up many good ideas for a somewhat perfect application, you will see.
By the way, a software never is final - unless you declare it final, which basically means you stop the development.
JKingDev said:
Dandie, I am not sure quite what you mean by this. I outlined all the features I plan to implement. The application is in its final structure, I am just still adding features. What more details did you want to know?
Thanks Angelusz. I don't believe that capturing things like tapping the clock in TF3D is possible though. Tapping software buttons does not generate a keyboard event. Only actual keys do. Therefore unless TF3D sends key events for some reason this would not be possible.
Click to expand...
Click to collapse
I think you're right, I have however found a tool that allows me to remap the paths! http://forum.xda-developers.com/showthread.php?t=407777
Dandie said:
Oh, then I must have overlooked something. What configuration possibilities do you want to offer in your UI, what do you want to offer via registry configuration and what must be done via scripts or additional programs. E.g. what do you want to implement what a powerful program like AEButtonsPlus offers, what do you don't want to offer and what do you want to add to it to make it better. Starting a discussion like this would pop up many good ideas for a somewhat perfect application, you will see.
By the way, a software never is final - unless you declare it final, which basically means you stop the development.
Click to expand...
Click to collapse
Well I wasnt planning on making a UI unless people absolutely want to. All my settings are easily changeable in the registry. The second post outlines all the available options. When I add the ctrl key and fn keys there will be options for these too. There will also be an option to allow other key hooks if I get that working. Nothing must be done via scripts or other programs. Simply enter in the registry what file to run or open when the key is pressed. Everyone is free to make requests. There is one request to emulate virtual hard keys and I will try addressing that later. I am not trying to match AEBP. I did this a.) becausse AEBP is a bloated all purpose app; mine is tailor made for the X1, and much smaller and lighter; b.) AEBP costs money; c.) AEBP cannot create a ctrl key or grab FN keys; AEKM does, meaning purchasing another application. If there is something more you would like to see the app do let me know. Otherwise, I have laid out everything that is in the plan already.
Angelusz said:
I think you're right, I have however found a tool that allows me to remap the paths! http://forum.xda-developers.com/showthread.php?t=407777
Click to expand...
Click to collapse
Glad you got that worked out. I thought there would be something of this nature.
Hi JKingDev,
I have tired X1BC for only one button so far (long press ok button to switch to 2nd today). So far everything is working quite nicely.
With AEBP I was facing a significant battery capacity drainage this was for me the main reason to look out for another button mapper. At least in my configuration I was able to reproduce this battery problem (I had 3 buttons asigned with a double click function and the action menue). But this is reported allready (Touch HD forum, because it happens on the Touch HD as well). It is realy a pity, because AEBP is a great application and was the very 1st I was installing on a WM phone.
As long as there is no UI maybe you could do a presetting of all those reg key with a samll cab file? And fill the dword with "0" - I understand that than the key has just its standard behaviour.
Because than I just have to type "only" my individual settings (I am lazy - I know).
For making program starting easier I have the idea to create in the reg keys a path name to a standard link such as
"\Program Files\X1BC\OKLongAction.lnk"
Than I create a new link for the program I want to start, rename it to "OKLongAction.lnk" and overwrite with this new link the one in the standard directory.
This would allow to make changes without playing arround in the regestry all the time.
Best regards & Many thanks for this great tool!
dingolino
Registry settings:
The following are DWORD values:
HKCU\SOFTWARE\JKing\X1BC\CapturePanel
HKCU\SOFTWARE\JKing\X1BC\CaptureOK
HKCU\SOFTWARE\JKing\X1BC\CaptureLeft
HKCU\SOFTWARE\JKing\X1BC\CaptureRight
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeUp
HKCU\SOFTWARE\JKing\X1BC\CaptureVolumeDown
HKCU\SOFTWARE\JKing\X1BC\CaptureLWIN
Here are the possible choices:
0 - Leave the key alone
1 - Capture long press only
3 - Capture long and short press
The following are string values:
HKCU\SOFTWARE\JKing\X1BC\PanelShortAction
HKCU\SOFTWARE\JKing\X1BC\PanelLongAction
HKCU\SOFTWARE\JKing\X1BC\OKShortAction
HKCU\SOFTWARE\JKing\X1BC\OKLongAction
HKCU\SOFTWARE\JKing\X1BC\LeftShortAction
HKCU\SOFTWARE\JKing\X1BC\LeftLongAction
HKCU\SOFTWARE\JKing\X1BC\RightShortAction
HKCU\SOFTWARE\JKing\X1BC\RightLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeUpLongAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownShortAction
HKCU\SOFTWARE\JKing\X1BC\VolumeDownLongAction
HKCU\SOFTWARE\JKing\X1BC\LWINShortAction
HKCU\SOFTWARE\JKing\X1BC\LWINLongAction

[APP][Updt 08/09/2009] DredSensor v1.3a - Allow you to personalize Hard Key Actions

=======================================================================================
DredSensor v1.3a:
=======================================================================================
Now DredSensor should be compatible with other device than HTC Touch Diamond.
Historically, if you have tried to play a game needing left and right key on an HTC Touch Diamond, you noticed that they are 2mm wide and if you click next to it, you get back to home page or to dialing menu etc...
So I've written a prog allowing you to lock these 4 keys actions and replace it by classical key event (VK_LEFT, VK_RIGHT, ...).
In that way you can play tetris, and use "Pick-Up" and "Hang-Up" keys for going left and right.
I extended it to let you configure each app independantly, and choose between four (five) mode:
"HardKeySimul": replace the 4 keyz by classical key event
"Launcher": allow you to quicklaunch 4 app (that you define in the config wnd) when you double tap (not click, just tap) on one of those 4 keyz
"Scroll": allow you to scroll the current window by tapping those 4 keyz panel
"KeySimul": allow you to send left/right/up/down events by tapping those 4 keyz panel
"--- Disabled ---": Disable specific HTC Touch Diamond Sensor functionalities.
Now, i've added an alternative Key Mapping, that let you map an action (or another key) on normal click and long click event on any other key that the up-described four.
So if you don't have an HTC Touch Diamond, the only mode you can choose is "--- Disabled ---" but you can define "other key mapping".
Link ->: DredSensor-v1.3a
To use it, you need:
1) A Windows Mobile SmartPhone
2) Install the .cab
3) Reboot your SmartPhone
4) Run a game (or app or ...)
5) Get your stylus out and back-in, in less than 1 second
6) Click "Yes"
----- A config window opens:
7) Choose the Type you want.
8) Reassign the actions to the events, if needed.
9) Assign "other key mapping", if needed.
10) Click "Ok"
Other Key Mapping:
To add a key mapping, a popup opens and ask you to press a key.
If you want to assign an action to normal clic, just clic on the choosen key.
If you want to assign an action to long clic, clic more thant 1 sec on the choosen key.
Then you have to choose the action, and it's done.
If you only assign an action to a long clic on a key, a short clic on this key should work transparently.
Have fun.
=======================================================================================
If you like this program, feel free to donate:
=======================================================================================
==========================================================================================
Version history:
==========================================================================================
New features in v1.3a:
=====================
Added an alternative key mapping that Should be compatible with any Windows Mobile device.
Added the "KeepAlive" option. Check this if you want DredSensor to prevent the smartphone to sleep when this application is loaded.
Added possibility to Enable/Disable DredSensor:
Exemple of C++ code to do this:
#define WM_DREDSENSOR_START WM_USER+22
#define WM_DREDSENSOR_STOP WM_USER+23
Disable:
HWND m_hDredSensorWnd=FindWindow(_T("DredSensorWnd"),NULL);
if(m_hDredSensorWnd!=NULL)
SendMessage(m_hDredSensorWnd,WM_DREDSENSOR_STOP,0,0);
Enable:
if(m_hDredSensorWnd!=NULL)
SendMessage(m_hDredSensorWnd,WM_DREDSENSOR_START,0,0);
New features in v1.2g:
=====================
Fixes a few bugs
Fix the bug in config window when loading prog list
Added a debug mode:
================
For activating it, just launch DredSensorDebug.exe (in /Program Files/DredSensor).
First it will tell you if DredSensor is running or not.
If it's running, it will activate/deactivate the debug mode so you will find a log in /Program Files/DredSensor/Log
If you have trouble with DredSensor:
Restart your HTC
Launch DredSensorDebug (to activate log)
Wait for DredSensor to stop working
Launch DredSensorDebug to know if it's still runing or not.
PM me the log, the config.ini and a description of the problem.
New features in v1.2b:
=====================
Tried to fix the conflicts with TouchLockPro and similar, hope it works (thanks for those who can check this out)
New features in v1.2:
=====================
Fix "not working bug" with new ROMs
Allow you to choose wether you block the scrolling wheel or not
Allow you to disable the vibrator effect.
Allow you to delete configs.
Tips:
=====
If you upgrade to this version, you can keep your config file.
To define a profile that applies on every applications, launch config tool and edit "Default" config.
If the key you want to affect is not listed, you can define it manually:
Type "Key:[email protected]@", with @@ = VKey code of the key you want to affect.
You can find VKey code list on : http://msdn.microsoft.com/en-us/library/bb431750.aspx
=======================================================================================
DredSensor v1.1d:
=======================================================================================
Link ->: DredSensor-v1.1d
New features in v1.1d:
=====================
Let you choose which Key/Action you affect to each key.
Launcher Mode let you affect an Action for:
Double Tap event
Click event
Long click event
An icon for config tool is created in Program list.
Cache Program List for quick loading in Config window.
Fixes a few bug from v1.1, v1.1b and v1.1c
Tips:
=====
If you upgrade to this version, your config file will be cleared (sorry ).
To define a profile that applies on every applications, launch config tool and edit "Default" config.
If the key you want to affect is not listed, you can define it manually:
Type "Key:[email protected]@", with @@ = VKey code of the key you want to affect.
You can find VKey code list on : http://msdn.microsoft.com/en-us/library/bb431750.aspx
Wonderfull!!
the app is working good for me now! I just love the scrolling with only a touch on the d-pad
Thank you!!
I suggest you stop making a new thread for every new version and instead update your original thread and post that you've updated it.
After installing and lunch program .... i cannot see any of EVENTS on Events tab. Windows "wait gif" is rolling all the time and nothing happen :/ (i talk about mapping under HardKeySimul
Kraize said:
I suggest you stop making a new thread for every new version and instead update your original thread and post that you've updated it.
Click to expand...
Click to collapse
That's what i wanted to do but i didn't found a way to update the post title...
Is there one?
thanx for the update I'll try it and report
Thanks for the new version! And thanks for adding the OK button command!
Seems to be working better than the last version although pressing the back key (which I have mapped to click right) a few times in quick succession does seem to send a back command. Pressing the home key in quick succession doesn't have this problem.
Also, I can't get the scroll wheel to work despite leaving the "Block scrolling wheel" box unchecked. Am I doing something wrong?
antlane said:
Thanks for the new version! And thanks for adding the OK button command!
Seems to be working better than the last version although pressing the back key (which I have mapped to click right) a few times in quick succession does seem to send a back command. Pressing the home key in quick succession doesn't have this problem.
Also, I can't get the scroll wheel to work despite leaving the "Block scrolling wheel" box unchecked. Am I doing something wrong?
Click to expand...
Click to collapse
Hmm.. For the scrolling wheel, i use a tricky solution that works on my HTC touch diamond. May be it doesn't work on your model or on your rom version...
If someone have an idea on how to send a "ZoomIn" or "ZoomOut" event to a window (or how to develop an application that catch ZoomIn and ZoomOut events), that would help a lot...
As far as i studied the problem, it seems that ZoomIn and ZoomOut events are equal to Up and Down keys, but comming from a "rocker" .. so I can send those Up/Down key events, but no idea of how to tell that this comes from a "rocker" (and i don't even have an idea of what a "rocker" is...)
Help?
Wow, this is great! I am still loving the ability to remap my home key (and the others), and I really like the new scroll wheel feature. Actually, for me, instead of zooming in some apps, it now seems to scroll just about everywhere -- which is perfect, I like that more anyway.
Is there any way to donate or buy you a cup of coffee? I'd like to as a thank-you.
What an absolutely brilliant program!
Thank you very much Dredger97!
Greeting
Slide
ldrn said:
Wow, this is great! I am still loving the ability to remap my home key (and the others), and I really like the new scroll wheel feature. Actually, for me, instead of zooming in some apps, it now seems to scroll just about everywhere -- which is perfect, I like that more anyway.
Is there any way to donate or buy you a cup of coffee? I'd like to as a thank-you.
Click to expand...
Click to collapse
Well if you insist , i've added a donate link in the first post...
Big thanks to all for your positive and constructive comments
TF3D and DredSensor don't play nice together
This program is awesome! You can do so much with it! However, I am having one small issue with it. It appears that if I use it on Manilla [TF3D], that it works initially, but over time it seems to stop working and ends up freezing Manilla. The start icon still works, all the unmapped hardware keys still work and the task bar is still live. Only Manilla is frozen. If I don't map any keys on Manilla, it works fine for hours. But it only takes about 1 or 2 hours before there is a freeze on Manilla.
Any thoughts on how to correct this? I would love to use this program from my Home screen on Manilla.
Long click event → vibrate/nomal
Hi,all!
i want "Long click event" of Endkey to set vibrate/nomal.
how edit setting?
sorry for my english!
thanks.
downloaded v1.2, opened resco picture viewer,Got stylus out and back-in, in less than 1 second, tapped yes.
than for type i choosed disabled, but nothing, every time i press any hw key it does what it need to do(home to home, back for back, hangup close..)
what am i doing wrong??
intel286 said:
downloaded v1.2, opened resco picture viewer,Got stylus out and back-in, in less than 1 second, tapped yes.
than for type i choosed disabled, but nothing, every time i press any hw key it does what it need to do(home to home, back for back, hangup close..)
what am i doing wrong??
Click to expand...
Click to collapse
Well, disabled means "DredSensor is disabled" so it's normal that your hw key do what it's supposed to.
If you want to disable the hard key, you can:
- set Type: Launcher
- set "Click" action = "Misc:Nothing" on one of the keys.
So it will catch the hard key action, and do nothing when you click on it.
For me it doesn`t work :/ windows "Wait" gif is always apperaing when i want to add new Event. :/ And there is no Events on the list ...
tried that but same when i press home it goes to home
i have tried that on wmp.
is this program always turned on,now when i remove and than get back in stylus no menu pops up?!?
Great Job!
the app finally works on my pda! so glad you solved this bug!
But I still have a little problem...the app runs fine, when I start the buttons work with the function that I chose, but after the first time I use it it crashes and stops to work. Am I the only one with this problem?
Thanks,
Michele
Dredger, I asked in the last thread, but didn't get a response.
As far as mapping other buttons goes, could you post a quick example of what I would type in the config.ini to map the center D-pad button to act as the "left" button.
I realize the buttons commands are listed in the link you provided in your first post, but I'm having a little bit of trouble figuring this out.
Thanks.
Great app btw.
I'm gonna have to have another go at this... For some reason I just can't wrap my head around the setup of the program.

Categories

Resources