What intents can I or do I use with Tasker? - MTCB Android Head Units Q&A

I have looked through some code for changing volume and sending other key presses and I saw or at least it looked like com.microntek.irkeyDown was being used to change volume to a set value. Is that correct? Sorry if this is a bad question I'm just dabbling with coding but from what I could understand it looked like com.microntek.irkeyDown was only to simulate a key press like vol- or +, home, back, and so on not to set a value.
I also found some code in MTCManager referencing VolumeController think it's intent is com.microntek.VOLUME_CHANGED but I couldn't find/decipher if that was really the intent it is looking for. And this may very well be the case I am way off with my Tasker coding to send an intent to it.
Can anyone point me in the correct direction?
Is there a list of known intents for our head units?
Thank you for your time,
-Robert

Related

Power Button

Hi,
There is no way to remap the main power button and execute a program like XdaIIShutdown ?
Thanks Luca
Same here...can it be done? (and yes I have used search!!)
I believe it can be done, it requires intercepting keypresses at a very low level and reassigning. It would require a new, resident app. PQz could possibly be made to take this into account, perhaps ask the author?
On an unrelated note, has anyone ever tried VJEschaton's power off feature? I may have put everyone off the idea, but I'd like to know if anyone else has had success with it?
V

Multipress on Universal keyboard.

Hello, I was wondering if there's anyway i could press and hold on to 2 buttons simultaneously for my Universal (Dopod 900)
was playing some games till i've realised that i could only hold on to 1 button at a time. (eg. i can only hold Up or Left instead of moving diagonally)
searched for "keyboard fix/hack" in this forum as well as modaco's forum but having no results, tried 6700's multipress hack and it didn't work as well.
any clues will be appreciated. thanks.
it is possible, as you can press the function or shift keys and another one at the same time
yes, but however, it doesn't work on games. that require any two keys other than function or shift key to be pressed simultaneously. then again, i'll be googling around for a fix.
It's been discussed on here before, and IIRC the people with knowledge of the Universal's hardware said that this was a limitation of the Universal's keyboard driver. Unless someone is willing to attempt to write a new keyboard driver (nobody was last time) this will always be a limitation.
Note that you can press a keyboard key and another button (e.g. the backlight button, or direction keys next to the screen) at the same time, which is awkward but does allow you to do multiple keypresses in games (with some practice!)
I think a better approach for the universal would be a macro-like program that allows one keypress to act as more than one. So, for example, you could program 'E' to be 'WD', 'C' to be 'DX' etc. and so give you an 8 direction d-pad. Maybe there's already some software out there that can do that, I don't know...
was looking for something like that as well. so far with no valid.

Maybe I am not asking the right question

Does anybody know where I can get a program that simulates the Back Button on many smartphone and some ppc devices. It is a "Go Back" aka "previous" aka "return" command that could be assigned. I would like to assign it using Hbutton to one of the buttons on my 8125.
I use to have a smartphone and now have a ppc. It is probably the button I used and missed the most. Easy to just go back a step if you made a wrong entry/selection etc, (kindof like the "up" command in file explorer, but different and a little more involved than the Alt-Tab for switching programs)... This would take me to the next level.
Thanks
CG
It's not that you are asking the wrong question, its that there is no answer...
You see all that 'back' button does is send the same code as 'Esc' key on your PC keyboard. (thats 0x27 if you are interested).
There are probably several utilities that can simulate this, but the problem is the whole OS and the apps designed for PPC are not made to take in to account the existence of a 'back' button so they just won't respond to it.
(Well maybe some will, but it will never work as smoothly as on smartphone and may have some undesired side effects).

Rebinding sms/email keyboard keys?

Anyone know if its possible to rebind the sms/email keyboard keys somehow?
As an ssh user, I miss the control and tab keys on my touch pro. I'd rather rebind these 2 useless keys into something far more practical.....
Thanks!
Yeah I really want an Escape key for the same reason.
What SSH client are you using? Putty? My Func key is weird in Putty, when pressed it stays on even after another key is hit, and you have to press it three times in succession to turn it off.
token2shell, it's the best one i've ever found for wm.
http://choung.net/Token2Shell/Mobile/
Just tried editing the eT9.Rhodium.0410.kmap.txt files in \windows but no luck, changes didn't seem to take effect even after a soft reset. Tried modifying all the files as well as updating the registry.
Found the info here:
http://forum.xda-developers.com/showthread.php?t=326683&page=3
5h4d0w said:
token2shell, it's the best one i've ever found for wm.
http://choung.net/Token2Shell/Mobile/
Click to expand...
Click to collapse
You're right, it's way better than Putty. Thanks very much!
Incidentally I tried the remapping with AEBplus but couldn't get it to work.

Change volumebuttons function.

This will be hard to explain in english but i will try.
Volumebutton on the side, it turns of my ringer now and then, very annoying. I dont understand why HTC let that button control ringvolume at all wake times.
One solution was to edit keypad.kl, i made volumebutton to a scrollbutton. That solution was of course not so good.
Is there another way? I want it to be able to change volume when playing media but i dont want it to be able to change ringvolume.
Softwarewise there is functions to individually have different sets of volume on media, ringer, messagenotification, this in Settings control panel. Somewhere in the code there should be some kind of call to those functions and give volumebutton access to ringvolume. Maybe possibility to delete that function that lets volumebutton change ringvolume?
Does anyone understand my jibbrish-english?
Perhaps any rom-cooking chef could do an "update.zip" for this purpose? Or is this deep inside the software that needs reorganizing much?
Any chef want to confirm my request are looked into? I want this so very much and i dont think i´m alone with this wish.
Or if its practically impossible, please tell me then so i can drop the idea.
Or if my english is so messed up you dont understand what i mean, tell me so i can try harder to explain.
Yes it can be done, all you would need to do is edit the key bindings located in the following file "system\usr\keylayout\qwerty.kl" , you could do this in a update.zip form or via adb.
What do you want the volume up and down keys binded to do>?
hkkla said:
Is there another way? I want it to be able to change volume when playing media but i dont want it to be able to change ringvolume.
Click to expand...
Click to collapse
I'm also interested in this. Great idea! It has made me miss several calls
Let's not forget that they should work during a call too, which, in my opinion, is even more important.
Would it in some way be possible to stop the volume keys from changing the media volume when the screen is turned off? It's quite annoying when you take your phone out of your pocket and grab it by the volume up button
Stickman89 said:
Yes it can be done, all you would need to do is edit the key bindings located in the following file "system\usr\keylayout\qwerty.kl" , you could do this in a update.zip form or via adb.
What do you want the volume up and down keys binded to do>?
Click to expand...
Click to collapse
Whats the difference between qwerty.kl and keypad.kl? I have tried alter keypad.kl but then vol-button became more or less useless, it lost all volume-functions. I only want it to loose ability to change the ringer-volume and leave the rest of volumes alone.
I pulled qwerty.kl from my phone and it practically looks almost the same as the keypad.kl.
If i change key 114 and 115 in qwerty.kl to be for example scrollbutton i wont be able to change any volume at all with that button?
I too would like a similar function as there really is no need for the ability to change it almost anywhere;, especially with the volume rocker being so easily pushed on this phone. The following would be my preferred set up:
Only adjust media volume while playing media (including screen lock as I find it beneficial to change volume without taking phone out of my pocket)
Only adjust ring volume while in sound settings menu (where it should be!)
Volume adjust while in call should be left as is.
The only thing I would want fixed is that you shouldn't be able to use the volume buttons while the screen is locked/turned off.

Categories

Resources