Disabling the Home Button - HD2 General

Hi.
I'm just developing some kind of kiosk-mode application and i ran into a problem i wasn't able to solve by googling/forum search etc.
It's no big deal to disable most of the hardware buttons on the hd2 within c# using "UnregisterFunc1" and "RegisterHotKey" from coredll. just the home button makes problems. i can't turn it off and i can not even get the hex code for the button as AEButton e.g. won't capture it (and guessing did not work ). I read in the changelog of S2U2 that they managed to turn off the home button, unfortunately this is not open source...
I hope someone can give me a hint on a solution.
Regards,
SKArabaeus

Related

Media Player continuing to stream when device is 'off'

Hi all,
I use the BT A2DP profile to stream music through the media player and one of the 'features' that differs from the K-JAM (wizard) and is lacking in the TyTN is the ability to continue that stream even when the device is 'off' (useful for saving battery, switching off the buttons, etc.). With the TyTN whenever the device is turned off the stream also ceases. Does anybody know if there is someway of ensuring that the media player is not switched off along with the device (I'm guessing a registry setting or similar).
All help very welcome.
Cheers
I was wondering this also. My wizard was able to be "off" and still stream. ANyone got any brigjt ideas?
Later, Lew
Have you tried just turning the screen off? PocketPlus has a utility called "Screen Toggle," which does just that.
When used in conjunction with the Button Lock (leaving only the power button active), you just might be able to solve your issue...
goestoeleven said:
Have you tried just turning the screen off? PocketPlus has a utility called "Screen Toggle," which does just that.
When used in conjunction with the Button Lock (leaving only the power button active), you just might be able to solve your issue...
Click to expand...
Click to collapse
Yeah...what he said!
That what I do.
I really miss this feature to.
So there is no way to do it on the Hermes?
Its not particulary elegent to have to perform multiple steps to turn the screen off. it was much eaiser just to hit the off button and listen away...
I'm using VjDeviceLock wich is what you want, I think.
After you've installed it you should create a new shortcut in c:/windows/startmenu/programs/vijay555/vjdevicelock. You can copy an exiting one in this directory and edit the parameter. What you want is "-displayoff". I bound this to my Videocall-Button, cause I don't use video telephony.
If I listen to music I just have to press my Videocall-Button and VjDeviceLock turns off my screen and locks all Buttons except the power on/off one.
Also VjDeviceLock is just great to save money
If you get a sms or a call the device turns on itself. I once didn't notice this and called a random person out of my adressbook, because I had my trion in my pocket and were moving all the evening and somehow started a call.
This cannot happen again, because I started vjdevicelock with parameter "-install". Now everytime my trion turns on itself it gets automatically (re)locked.
thats a fantastic solution and it works really well!
what program are you using to remap the buttons?
Hi,
Does anyone else suffers strange key problems when using VJdevicelock;
After using -displayoff or -displaytoggle and resume back to normal, phone buttons (call/disconnect,videotalk) doesnt work anymore, it need to be softreseted before the buttos work again?
-Kha
EDIT:
just found out that when resuming from -displayoff, after pressing windows and ok softkeys, dialbuttos work again!
I'd appreciate if somebody here could advice me on how to map VjDeviceLock to VideoCall button on my TyTN (I have original TyTN ROM and the VideoCall key is functional ). I couldn't remap it using Buttons configuration utility in Settings.
as I said you have to create a Shortcut in your Startmenu. Shortcuts in Startmenu are shown as available possibilities in Start - Settings - Buttons (Perhaps it's called a bit different. I'm using a german version where it's called 'Tasten')
This is how I remapped it. I don't use a special program.
I use the device lock on today plugins.
S.K.
silent_killa said:
I use the device lock on today plugins.
S.K.
Click to expand...
Click to collapse
This does not turn off your screen AND your device is sometimes getting unlocked when you receive calls or sms.
Remapping VideCall button
sn00x said:
as I said you have to create a Shortcut in your Startmenu. Shortcuts in Startmenu are shown as available possibilities in Start - Settings - Buttons (Perhaps it's called a bit different. I'm using a german version where it's called 'Tasten')
This is how I remapped it. I don't use a special program.
Click to expand...
Click to collapse
Thank you very much for your instant response. I did all you mentioned in your message and I remapped the VideoCall button (is it the Button between Buttons 4 and 5 ? ) but pressing it still doesn't activate VJDevice. Any other suggestions?
Is the device locked when you click on the shortcut?
If not: edit an existing shortcut, let's say "VJDeviceLock About.lnk". Make it point to: \Programms\vjay555\VJDeviceLock\VJDeviceLock.exe" -displayoff
It is right that there is only one "
When I open my shortcut in a text editor the content is:
Code:
64#"\Programme\vijay555\VJDeviceLock\VJDeviceLock.exe" -displayoff"
Yes. The device locks when I click on the shortcut itself but when I press VideoCall button, to which I had previously mapped the link, the Dialpad pops up.
sn00x said:
I'm using VjDeviceLock wich is what you want, I think.
After you've installed it you should create a new shortcut in c:/windows/startmenu/programs/vijay555/vjdevicelock. You can copy an exiting one in this directory and edit the parameter. What you want is "-displayoff". I bound this to my Videocall-Button, cause I don't use video telephony.
Click to expand...
Click to collapse
How can you do this? Are you using a third party app? I see no way to bind anything other than 5 buttons on my device...
I bound it to "Button 5".

Mapping keylock to a hardware button?

I haven't seen this question anywhere so i reckoned id ask..
I like to use my phone for listening to music but if you put it in your pocket id does all kinds of strange things - like opening PIE which starts a UMTS connection or it jumps to the next song..
I never use the videocall button on the phone, so why not map the built-in keylock to that one?
But does anyone know if this is possible/how to do it? can this simply be changed in the registry?
Thanks for any help.
I use vjay's device lock.
Get it here
http://www.vijay555.com/?Releases:VJDeviceLock
Hi. thanks for the quick response.
Works like a charm =)
but now i need to map the exe to the videocall-button. any ideas?
I beleive that the Video call button is button 5 on the left side of your phone. I have an 8525 so that button is PTT. I think if you try load the PTT fix it may open that button up. I am not sure about this so it you try that you may need to do a hard reset to get back if it messes up your phone. So make sure you have a current backup to quickly restore from.
Where ca you find the PTT fix?
spicer said:
Where ca you find the PTT fix?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=279585&highlight=fix+ptt+cingular
hi. thx. but that wont work. the PPT button is not the video call button. i could of course map it to another one.
I use a program called double launcher got it at handango. It allows you to assign up to 4 different programs to each HW button. I only use 3 per button but it's real nice. It's done by press, -- double press, -- press and hold, -- double press and hold.
Check it out I assigned the VJ device lock to double press on comm manager.

Mapping Power button

Hi peeps !
Searched all over the forum, but couldn't find the answer.
Is there a way to assign a function to the Power On/Off button other than to turn the Athena on / off ?
I typically, for instance, would like to bind the "DisplaySwitch" psShutXP shortcut to the Power Button so that when i press it, it doesn't turn the Athena off but only the screen.
Additionnaly, if one knows how to assign a sequence of actions to the Power Button (like "locking the device + switching screen on / off"), that'd be great.
Thanks guys !
Turning off only the screen is the default action for the power button...
There is an app that many on here use (I can't think of the name) which lets you reassign most of the buttons on the Athena, including the OK and Windows button, to many different functions. You can also hack the registry to reassign the camera/comm/browser buttons if the standard reassignments that Windows Mobile gives you aren't enough - but really odd things like locking + screen off may require you to also write your own small app first.
Hi there, thank you for your answer.
Actually, the Power button must do something more than just flicking the screen off, like scaling the CPU down, spinning out the microdrive, flushing a bunch of buffers, etc.
I'm asking because of a problem I posted about in the forum (here: http://forum.xda-developers.com/showthread.php?t=353456), about my Athena being strangely slow, and its CPU being 80% used by nothing that I can see or find, when I wake it up using the Power button.
I'm trying to see if I can circumvent the problem if I can't manage to find its source and solve it, in fact.
I used AEButtons Plus, which works pretty well with ALL buttons but the Power one, and I couldn't find a reference to it in the registry either.
Thanks for your time !
Yup, that's the app I was thinking of. I don't use it so I couldn't think of the name. Sorry to hear of your slowdown problems, I've been monitoring that thread. I agree that it sounds like a hardware problem at this point.
You need DevieLock.cab. It can be set to switch off the screen and lock the device. It can by mapped to any button but Power on/off though.
Thanks man, gonna look it up right away !

Disable Athena Hardware Buttons

Hi All
I've been looking in to locking down an Athena and taking control / disabling all the hardware buttons. I can disable most of them in Start->Settings->Buttons. The ones I am having particular trouble with are the OK and Windows buttons to the left of the screen. I have trawled the registry and am yet to come up any answers on how to do this. Does anyone know where the registry keys may exist to do this?
Cheers
Gsoty
Gsoty said:
Hi All
I've been looking in to locking down an Athena and taking control / disabling all the hardware buttons. I can disable most of them in Start->Settings->Buttons. The ones I am having particular trouble with are the OK and Windows buttons to the left of the screen. I have trawled the registry and am yet to come up any answers on how to do this. Does anyone know where the registry keys may exist to do this?
Cheers
Gsoty
Click to expand...
Click to collapse
I'm curious why you would want to take away such a useful things away. Currently I use all the hardware button and wish there are more available. I use it for things such as changing SIP, rotate screen, start IGO, and control myp3 (such as volume up, volume down, next song,previous song,blank out screen, bring up the playlist,pause, unpause. This is while the device remains inside my belt pouch). The ok button is extremely useful in doing things such as hiding the phone application after use. Similarly if you're using program such as VITO fun contact, you could hide it after use without having to exit this extremely memory tiny application and able to instantly access your contact again anytime. Why would you want to disable all these useful features?
AEBPlus free version will disable all buttons
http://ae.inc.ru/aebplus.php
But I agree, unless you're developing an app that comandeers the buttons, why reduce functionality? You can lock the buttons while the unit is off. ???

Software buttons working in Java apps

Hi,
I'm having a problem with Java apps and I did not find a solution for it for 2 weeks now so I decided to try experts help.
I wanna play some Java games but none of them seem to recognize the software buttons that are as you know located on the touch screen. I think Java apps do not realize that there's a touchscreen at all. I tried apps like AEBButtons (or something) to remap other hardware key but none seemed to work Is there a solution?
I'm using JBed 20080222.3.1
Please help.
I think you have to use AE Button Plus or go to button icon under settings to map the left and right softkeys. Those are the buttons shown on screen but cant be used by Jbed.
Hope that helps.
Yeah !! This works but I can define only one button there (camera button). Is there a way to add more buttons, like D-pad directions as you've said ??
I actually ended up using the volume up and down buttons as the left and right softkeys through AEBPlus. But There are options for long press button actions and other things so its just finding which button suits you best. BTW, I tried adding actions to the D pad but never managed it using AEBPlus (it didt recognise it when i pressed it).

Categories

Resources