turn off software - Windows Mobile Development and Hacking General

Hi,
does anybody know a piece of SW where i am able to switch off the PDA softly? And a nice icon with this?

topcaser: do you mean like power off, similar to removing the battery?
On HTC phones I don't know if this has been done yet.
If you mean soft reset etc, check out Shutdown and similar apps:
http://mobile.schwarz-interactive.de/
if you want to just switch off the pda, try my VJKeyPress with a command line 223. This will simulate switching off the phone. You can make any icon you want!
V

Thanx VJ,
i have read the spec of your tool already before - now this is the application i wanted to do. But again the question: how can i specify comand line options? You have posted a link in your forum to me.
What i understand: Create a shortcut, edit it and write 223 behind the exe. But this dont work. Do i need some other hack?

Topcaser:
That sounds correct.
It should be of the format
"\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" 223
Try editing the example shortcut that comes supplied if you have trouble, in your startmenu.
What device are you using?
V

Related

BT Icon?

I search the link who launch the icon of BT on the botton right. I lost the icon and I don't want make an hard reset whith reinstall for retreive it.
Thank's
hope this help
try this:
There is a workaround for this problem.
It's not pretty, it requires hacking the registry, but it works.
I found it at http://www.ppc-welt.info/community/showthr...7403#post397403, but had to make a slight adjustment.
I assume that you know
- How to install form a CAB file
- How to create and edit a shortcut on your Pocket PC
- How to edit the registry on your Pocket PC
Ready? Here we go:
1) Download NoPluginsToday (you'll most likely want the ARM version) from http://www.ictinus.com/NoPluginsToday/
2) Install the CAB somewhere. Make sure you know the exact location of NoPluginsToday.exe (e.g. \Storage\NoPluginsToday\NoPluginsToday.exe)
3) Create a shortcut to NoPluginsToday.exe in \Windows\Startup. Name this shortcut ZzzNoPluginsToday, so that it is last in the list of shortcuts to be launched.
4) Start a registry editor, and go to HKLM\init. Look for keys named LaunchXX. You'll want to create a new String key named LaunchYY, where YY is a bigger number than any of the XX you found. I created Launch99. The value for LaunchYY is the exact location of NoPluginsToday.exe (e.g. \Storage\NoPluginsToday\NoPluginsToday.exe) you looked up earlier.
Now you're set! Do a soft reset, and see your Bluetooth icon again! You'll notice your startup time may be a little longer.
How does it work?
The BT icon disappears because of a timeout issue when loading plugins.
We solve this by using NoPluginsToday, which switches all Today plugins off, remembers the settings, and reactivates them the next time it is executed.
By calling NoPluginsToday twice, once via the registry (early) and then again via \Windows\Startup (late), we "postpone" the loading of Today plugins until after the BT icon has been activated. That's your longer startup time for you.
Hope this helps!
(from Pocket breeze website forum)
Thank's I try it when I have 20 minutes
Timon said:
Thank's I try it when I have 20 minutes
Click to expand...
Click to collapse
hi Timon,
you can maybe try this first:
http://forum.xda-developers.com/viewtopic.php?t=16252
buzz

Chage Icons?

Haya guys and or galls...
I'm trying to edit the icons of the shortcuts in my start menu.
I want to use this, so that I can use the Icons of programs like tomtom to startup via the overclock tool....
But now, sice the shortcut starts with the omapclock tool, the icon is the same as the tool...
Also, there is an app called flitsnav, which also launches Tomtom, and I want to use the tomtom icon rof this shortcut...
I can't seem to find the solution in this forum anywhere, but maybe I looked over it in my search..
Can someone help me???
http://forum.xda-developers.com/viewtopic.php?t=40230&highlight=completeness
V
hmmm
okay..tnx for the advice..
Although I'm not really sure what all that means ou guys wrote there..
No easier way? just to change the icon of a .exe?
Anyway thanks..
p50kombi: if you want to change the icon for the executable, which you don't (since you want to change icons for shortcuts), you would use a resource editor on your PC. That's not too easy, but it's doable.
Using custom icons on shortcuts on the PDA is not difficult.
Basically, copy this into notepad, and call it VJMail.lnk
Code:
38#\windows\tmail.exe?\windows\DIM.exe,0
38
- Ignore this (it's the length of everything after #)
\windows\tmail.exe
- this is the app you want to launch
?\windows\DIM.exe,0
- this is the icon it should show instead of its default one
- it means, take the first (ie 0th) icon in \windows\dim.exe as the icon
It's not hard. This is just an example. Use your own programs etc of course.
V
i'll try it right away..
Thanks VJ!!!!
It worked!!!!
Thanks VJ.....
It wasn't that hard afterall indeed!!!
Anyone got any way of extending the backlight of the keyboard allready?

customize the HTC CommManager ?

hi all,
I'm wondering if it is possible to customize the HTC CommManager and add some new shortcut.
Typically, the most usefull for me is, from the CommManager interface :
- to be able to activate/desactivate WM5 Storage (or at least open the WM5 storage)
- to be able to launch directly the WAP (or/and WEB) connexion.
Is there a way to customize the commManager ?
Rgds.
I ran a search for you. It's pretty easy to locate what you need with it.
This is as far as you can customize the Comm Manager as far as I know.
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager]
"0"="FlighMode"
"1"="Phone"
"2"="WLAN"
"3"="Bluetooth"
"4"="DataDisconnection"
"5"="Ir"
additional keys
"6"="vibrate"
"7"="Activesync"
From this thread.
wow. this is cool.
i will try it
thanks man!
Might also want to check out this thread;
http://forum.xda-developers.com/showthread.php?t=317070
jhendrickson said:
I ran a search for you. It's pretty easy to locate what you need with it.
This is as far as you can customize the Comm Manager as far as I know.
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager]
"0"="FlighMode"
"1"="Phone"
"2"="WLAN"
"3"="Bluetooth"
"4"="DataDisconnection"
"5"="Ir"
additional keys
"6"="vibrate"
"7"="Activesync"
From this thread.
Click to expand...
Click to collapse
Thanks.
But in fact, I have already located this registry key...but no way to customize the function (by adding an appication path for example).
And beyond that, the other difficulty is to create some shortcut or commande line that could connect/disconnect to the WAP and WEB.
Unfortunately, I don't see anyhting about that in the thread you indicate me.
Any other ideas ?
Thanks again.
Rgds
I don't think there is any way to modify the application path for a given function as it's built into the dll (IIRC). A while back I found a way to add a "disconnect" option on the radio popup (when you click the radio on the toolbar) but I never saw a way to force it to connect.

Remapping Inner Circle and Messenger key?

Are there any tools or registry hacks available to remap the Inner Circle and Messenger keys?
I can think of more usefull programs to map to a dedicated hardware key instead of these...
TIA
Do you actually need to use the Inner Circle and WLM functions on your device?
I ask because the only way so far which I have found to remap those key buttons is to create Mortscript .exe files called InnerCircle.exe and WLMMessenger.exe, each pointing to respective InnerCircle.mscr and WLMMessenger.mscr scripts which run the programs you want. You would then drop these into your \Windows folder, overwriting the original InnerCircle.exe and WLMMessenger.exe files (having first removed the Read-only / System etc. properties from the original files using Total Commander or Resco Explorer). Clearly this will then render the Inner Circle and WLM functions inoperative on your device - not too much of a problem for me as I have no need for either. If you want to regain their functionality you simply need to delete the two .exe files you created and the originals will regenerate from ROM. Note that I found I needed to use Mortscript to get this to work. Simply copying a renamed .exe file of the actual program you want to assign to the button did not work.
I know it sounds ridiculous but none of the "regular" methods for changing hardware key assignments seem to work - I even tried editing the keymap. There is a "Short_Circle" lnk file in \Windows - changing the target of this seems to make no difference. The various registry entries which I have used successfully in previous devices made no difference. It's as if there is some sort of ROM-level hardware association between the Inner Circle key and the InnerCircle.exe file (same deal with WLM).
If anybody can come up with a more elegant solution to this it would be welcomed - I'm a reasonably adept WM user but I'm pretty sure somebody more knowledgeable can do better. If you don't have a Snap then please be a little cautious about being gung-ho with suggestions (!) - I know this is fairly well-trodden territory on xda-developers but the setup with the Snap seems like it might be a bit different. Cheers
P.S. Don't be tempted to delete or disable the Windows Live key from HKEY_LOCAL_MACHINE\Services - this will prevent the Windows Live service from loading, which might be good in various ways, but it's needed for the Windows Live key to work (even if the WLMMessenger.exe which is being executed is running something else).
Psmit said:
Are there any tools or registry hacks available to remap the Inner Circle and Messenger keys?
I can think of more usefull programs to map to a dedicated hardware key instead of these...
TIA
Click to expand...
Click to collapse
Use Wordpad.
jhwo99 said:
Use Wordpad.
Click to expand...
Click to collapse
What are you doing with Wordpad?
jhwo99 said:
Use Wordpad.
Click to expand...
Click to collapse
And how would Wordpad help me remap the InnerCircle key?
JC6 said:
Do you actually need to use the Inner Circle and WLM functions on your device?
Click to expand...
Click to collapse
Thanks for the extensive reply. I've been using my Snap for a few weeks now and still don't understand what the marketing-fuzz of InnerCircle is all about.
The InnerCircle app I don't need, at all. It does nothing that can't be done with a server-side rule. So no issue that it is completely disabled in the OS. Messenger is a nice to have for occasional use, but a dedicated button is just a wasted button IMHO.
I'll check out your suggested solution.
A link to the task manager instead of the inner circle prog would be cool.
Psmit said:
And how would Wordpad help me remap the InnerCircle key?
Click to expand...
Click to collapse
Open Windows and change the key by renaming it to the program you want.
Svenitos said:
A link to the task manager instead of the inner circle prog would be cool.
Click to expand...
Click to collapse
I'm using good-old Xbar for that, using the trackball!..I would be lost without a taskswitcher/manager in WM!
Svenitos said:
A link to the task manager instead of the inner circle prog would be cool.
Click to expand...
Click to collapse
You can do that using the procedure outlined in post #2 above. This is exactly how I have mine set up
jhwo99 said:
Open Windows and change the key by renaming it to the program you want.
Click to expand...
Click to collapse
Can you explain how you did this? I tried the following techniques (which have worked with previous WM phones) and none of them worked:
1. Changing the target of Inner Circle.lnk
2. Changing the target of Short_Circle.lnk
3. Fiddling with the keymap file (although I'm not sure I exhausted this fully).
4. The situation with HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys doesn't seem to be the same with this device as with my previous WM devices.
It's almost as if there is a direct rom-level association between the button and the InnerCircle.exe file - perhaps this is not the case with some of the other Snap ROMs. The only way I was able to "remap" the button was using the Mortscript method I explained in post #2 of this thread. I recognise this is an inelegant solution and would welcome a better method (although it doesn't really cause me a problem as I don't need Inner Circle or Windows Live Messenger - in fact I'd rather they weren't even on the phone, I'm sure they will be removed when we start seeing cooked ROMs).
Im kind of a noob to WM.. so is it possible to explain it slightly more detail what needs to be done.. such as creating a mortscript exe.. i just want to remap the inner circle key to the task manager btw
Hi, I am a newbie to WM. Would like to find out whether there has been any other ways of doing this remapping? Thanks in advance!
hallo i'm using omnia pro and having the same problem here, need some expert advice.
I already tried the AE Button plus but it's seem to not recognized the button I want to re map (PIE and WLMessenger button)
i got the same problem with my htc snap. anybody knows how to change the wlm and innercircle keys?
maybe some of the rom cooking experts can write a rom or cook into next rom?
Custom ROM already has it, in parts
Guys.
ookba has done some button customization on his roms.
Long-press power button will bring the Quick List menu.
You can change though settings:
- Press Inner Circle: default is CeleTask.
- Long-press Home: default is Quick List
Check the ROM here:
http://forum.xda-developers.com/showthread.php?t=551642
I'm waiting for a version where we can change the Messenger and Mail/SMS key also.
[]'s
Cris
For some reason I cannot set (remove) the flags "Read Only" and "system" from InnerCircle.exe....Either with Resco Expolrer and Total commander, both applications seem to properly change the property flags, but when I check again the file properties, the "read only" and "system" are back.
So I am stuck with remapping the Inner circle button.
If anyone has some advise, that would be great.
Tnks
Bump! (I know it's an old thread). Anyone find a way to remap the messenger key??
It seems to me the messenger key somehow is hardwired to launch \Windows\Start Menu\Messenger.lnk. Let Messenger.lnk point to your favorite application and it gets started by the messenger key. This solution is not that elegant since it clutters the start menu, but at least for me it works.
Have fun,
Erik
Hi,
how exactly did you update Messenger.lnk? What did you wrote as a path? Some special characters?
EDIT: solved, I forgot to put double quote. Now it works also for me.

VJ KeyPress - Send a '1' to the phone.

Okay, so I'm using Google Voice with call presentation on, and I want to setup a shortcut to send a '1' to the phone to accept an incoming call. I just got a bluetooth watch and I want to be able to have the watch send the key so I don't need to dig out my phone when I'm in the car.
So, to test this a little bit I installed KeyPress and I setup that if I double press my start button in AE Buttons, it runs KeyPress with the parameter of 97. This works perfectly. No issues at all.
But when I try to create a short cut, everything fails. If I just press tap VJKeyPress, I get the little "help" screen. If I create a shortcut, and tap it, I also get the help screen. But when I try to modify the shortcut to pass the '97', then it fails.
I'm guessing that I'm missing something in the syntax, but I can't figure it out.
I have the path, in quotes:
"\P F\vijay555\VJKeyPress\VJKeyPress.exe"
Then I've put 97 at the end just plain, in quotes, in <>, I've put in right behind the .exe inside the quotes... Nothing seems to work at all. I'm at a total loss.
Anyone have a suggestion?
Hi,
Could you send me a screenshot of the configuration screen in AE Buttons.
I can't think why it wouldn't work, but what you could do is create a normal shortcut that launches VJKeypress with the required parameters, and then use AE Button to launch that .lnk shortcut itself, rather than VJKeyPress.exe
Should you get really stuck, VJBrisk might be able to help you, but I think the above should be adequate.
Drop me a PM (and post in the thread) again if you get stuck.
V
Oops... I didn't think I explained myself properly.
The AE Buttons is WORKING. It's the normal shortcut link that I can't get to work... and that's the thing I really need to get working.
Sorry, my bad, didn't read it properly.
I normally put example shortcuts in my cabs, but curiously I've got none in the cab on my phone. Can't believe the app is nearly 5 years old! Wow.
Anyway, I just tried making a shortcut.
If you paste the following:
Code:
55#"\Program Files\Vijay555\VJKeyPress\VJKeyPress.exe" 133
into a text document, and rename it Test.lnk, and copy that over to your phone, it should create a shortcut that locks your phone.
If that works, just change the parameter to do what you want.
What app are you using to create shortcuts?
And what's the significance of the \p\f in your first post?
V
A bit more information...
I tried to write a simple MortScript to run this as well. According to the MortScript manual, to run an app, you use this command:
Run ( "\path\AppName" [,"Parameter"] )
In other words, the path and the command first, and then put in the optional parameter. When I put in just the app name:
Run( "\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" )
And run the script, I get the little help popup as I would expect. When I put in the parameter:
Run( "\Program Files\vijay555\VJKeyPress\VJKeyPress.exe" , "97" )
Nothing happens.
vijay555 said:
If you paste the following:
Code:
55#"\Program Files\Vijay555\VJKeyPress\VJKeyPress.exe" 133
into a text document, and rename it Test.lnk, and copy that over to your phone, it should create a shortcut that locks your phone.
Click to expand...
Click to collapse
Okay... well that locked the phone fine.
If that works, just change the parameter to do what you want.
Click to expand...
Click to collapse
I'm using both the text editor on Windows and Word on my PPC (not saving it in Word Format when prompted).
What app are you using to create shortcuts?
Click to expand...
Click to collapse
Just Copy the original file and then paste as shortcut.
And what's the significance of the \p\f in your first post?
Click to expand...
Click to collapse
Didn't feel like typing out \Program Files\.
Okay, so using the '133' definitely worked, but when I change it to 97 (the code to send NumPad1), it doesn't work.
But it DOES work when I tell AE Buttons to run VJKeyPress with the parameter of 97. Ugh... very odd.
Just for the fun of it, I also tried setting up a button in AE Buttons to run the shortcut that has '97' in it. That didn't work. I'm at a complete loss to figure out what's going on.
It may be that the keypress is occurring, but it's being fed into AE Buttons rather than the Phone Dialler, ie if when you press the required button, AE Button becomes active, which launches VJKeyPress, which presses 1 <b>within</b> AE Button, not the phone dialler.
You could test this by trying other keys and seeing what happens.
Also try activating Word or something else on your phone and launch the shortcut - see if the desired key gets pressed.
Also, you said NumPad1 - this is the number pad on a pc keyboard.
Try 49, which is just key 1.
V

Categories

Resources