MoreRecent for Android - Touch CDMA Android Development

From the front page, but I don't know how many of us read that...
http://forum.xda-developers.com/showthread.php?t=676438

We don't have a search key programmed on our devices, do we? It says it's programmed to a longpress of the search button.

1. As mentioned above, it uses a long press of the search key. We don't have a search key, and we don't have any more buttons to map to a search key (which is probably the most useless of all keys).
2. I already added support for the "Recent Applications", which supports 6 apps. The Vogues only have 128Mb RAM, and the recent apps are shown in order of last used.....
Suffice to say, by the time I've used 6 apps, I find the Android garbage collector has shut down the oldest one. 15 recent apps would only serve as a fancy shortcut menu.

jnadke said:
1. As mentioned above, it uses a long press of the search key. We don't have a search key, and we don't have any more buttons to map to a search key (which is probably the most useless of all keys).
2. I already added support for the "Recent Applications", which supports 6 apps. The Vogues only have 128Mb RAM, and the recent apps are shown in order of last used.....
Suffice to say, by the time I've used 6 apps, I find the Android garbage collector has shut down the oldest one. 15 recent apps would only serve as a fancy shortcut menu.
Click to expand...
Click to collapse
Eh, I missed the search key thing. And yes, it did just look like a fancy shortcut menu. Just thought people might be interested.

And is there any way possible this could be programmed to a longpress of our camera buttons? I'm guessing not...hoping yes.

drewden123 said:
And is there any way possible this could be programmed to a longpress of our camera buttons? I'm guessing not...hoping yes.
Click to expand...
Click to collapse
There are already 3 functions programmed on that button, so I doubt it.

GeJohnO said:
There are already 3 functions programmed on that button, so I doubt it.
Click to expand...
Click to collapse
I meant instead of the task switcher because this is just an enhanced version.

Related

looking for a simple button reconfigurator

Hello,
i'm looking for a replacement for AEBplus
I only need a few simple things:
left and right button - should rotate my screen, like it does when i open the keypad
ok button - task manager (or today screen from where i could start the taskmanager)
ok button (long press) - start an application
end call (long press) - lock the device (the you need to enter your password kind of lock)
What program other that AEB can do that and wont use as much CPU resources as AEB does?
you can just go to settings>buttons and assign either keft or right soft key to screen rotate, easiest way IMO
No i cant..there is only the left and right softkey button. Nothing else..and i could not setup a long press this way.
nurps said:
No i cant..there is only the left and right softkey button. Nothing else..and i could not setup a long press this way.
Click to expand...
Click to collapse
x1ButtonMapper, already tried that?
cheers
I use AEButon Plus on my X1a and I am thrilled with it. It doesn't have much (if any) negative effect on performance on mine.
Have you tried it on the X1?
Also for End Key there is a program called "Long Press End Key" I think. It is nice, and cooked into a lot of ROMs.
Hannigan174 said:
I use AEButon Plus on my X1a ...
Have you tried it on the X1?
Click to expand...
Click to collapse
hi m8, he's trying to replace it with an alternative app...as stated in #1
DrakenKorin said:
x1ButtonMapper, already tried that?
cheers
Click to expand...
Click to collapse
Havent tried that yet, can it do what i want?
I guess i could use mortscript for rotation, long press is obviously possible.
But what do i use as fast taskmanager? Can i start the built in taskmanager as application? And what can i use to password lock my device?
Edit: seems i loose the TAB key with X1ButtonMapper and the EndCall button isnt inclueded...thats bad
Is there a way to change some of the keys directly in the registry?
nurps said:
Havent tried that yet, can it do what i want?
I guess i could use mortscript for rotation, long press is obviously possible.
But what do i use as fast taskmanager? Can i start the built in taskmanager as application? And what can i use to password lock my device?
Edit: seems i loose the TAB key with X1ButtonMapper and the EndCall button isnt inclueded...thats bad
Click to expand...
Click to collapse
have a look here, didn't check, just searched (doing your homework btw...)
nurps said:
Is there a way to change some of the keys directly in the registry?
Click to expand...
Click to collapse
advanced config - menu (button) - more settings - key mappings
Mobile Magic doenst support the buttons i need. No longpress for End and no support for the OK button at all..that was the first program i tried.
To bad the options for the End key are grey in Advanced Conifg.
X1BC should allow for a lot more options than mx X1ButtonMapper. I think there is also a second application from the same author called X1BH or something. Check that out.
X1ButtonMapper is pretty lightweight actually. The most overhead involved will be by calling the script functionality but that is done asynchronous, meaning that X1ButtonMapper doesn't wait for the called application or script to finish - it just launches it.
I didn't remap the red and green phone buttons because they can't be easily remapped and I think they are central buttons which should keep their original functionality. I think remapping them will cause more bugs than you will gain functionality. With X1ButtonMapper you already gain enough options for the remaining keys (each with short and long press) which should be enough for most applications. You can also reassign the missing FN+key combos on the keyboard.
I did use the Tab key as Ctrl substitude because I think Tab is not important for Windows Mobile. It is substituted in most dialogs with the right/left keys so use these. You can get the original Tab function when pressing FN+Tab for the few situations where you really need it.
I am using X1ButtonMapper for a long time now and havn't had any stability issues - maybe that's the trade off for having less features.
X1Button manager somehow didnt react to my OK key. I allready have a standalone taskmanager mortscript could run but Ok didnt do anythink. Longpress of the softkeys to rotate the screen worked nicely though.
Longpress delay is a little longer than im used to but that not a big problem.
The longpress of the End key has allready a keylock function as standard setting (wich i find totally stupid because i turn the device of with the switch on top). There must be a registry setting that i could alter so it would run the password lock instead.
I will check into X1BC...
X1BC works thank you...and i like it much more than X1BM because i can setup everything to my likings, longpress timing, vibration on/off and wether i want a Control key replacement.
I could even use the panel key to lock my device if reprogramming of the end key button is not possible.
Does anyone know wich program i have to run to password lock my device? Maybe its possbile with mortscript..i should check that...

[Think tank] Map menu long press to keyboard (not search)

Since the vibrant doesn't have a secondary input like most android devices, it's even more vital that we have unfettered access to the keyboard and its soft arrow keys. Unfortunately long pressing the menu button in some applications (notably the browser) brings up SEARCH rather than the keyboard by itself. That means no arrow keys for text selection or link highlighting.
This has been discussed previously in general at http://forum.xda-developers.com/showthread.php?t=776792
How difficult would it be to remap the long press of the menu key to bring up the keyboard by itself?
After researching it some on my own, it looks like I need to come up with a way to call showSoftInput() from one of the softkeys. It'd be ideal if I could get that to happen on menu long press, but if that's too far buried in proprietary configuration I'd settle for replacing the google voice search app mapped to the Search button long press.
Anyone have any tips on mapping system functions to a hardware key normally used for app launching? The lack of any keyboard in the browser is seriously inhibiting my ability to use this phone.
Dxtop pro does this, and long press back is tasks
Sent from my SGH-T959 using XDA App
fit333 said:
Dxtop pro does this, and long press back is tasks
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
yeah, buth then you have to use dxtop. *non fan of dxtop*
fit333 said:
Dxtop pro does this, and long press back is tasks
Click to expand...
Click to collapse
dxtop takes over the long press of buttons only in the home screen context, and it doesn't use any of them to launch the keyboard. Plus there's no way to configure any of it so it's not really the same at all.
What I'm looking for is to alter one of the long press actions in a system-wide way to launch the soft keyboard.
cbisquit said:
After researching it some on my own, it looks like I need to come up with a way to call showSoftInput() from one of the softkeys. It'd be ideal if I could get that to happen on menu long press, but if that's too far buried in proprietary configuration I'd settle for replacing the google voice search app mapped to the Search button long press.
Anyone have any tips on mapping system functions to a hardware key normally used for app launching? The lack of any keyboard in the browser is seriously inhibiting my ability to use this phone.
Click to expand...
Click to collapse
Have you tried emailing Anderweb? ADW launcher intercepts the home button. You might be able to do something similar. It might only work on the home screen though, as his app is running there. For a system wide thing you might need to mod the underlying OS files, framework maybe? I'm not sure where that stuff launches. You could try asking one of the Cyanogen devs, they might have found it. They add stuff to the power button long press menu at least.
Certain apps (Visual Task Switcher and Itching Thumb) remap the search and home buttons to open themselves. I imagine this same idea could be used for the menu button, but I've never seen it.
I don't always complain, but when I do, I #BlameWes
some success...
Well I got a little app to work at opening the keyboard on long press of the SEARCH key. I don't want to override the home function, which is what ADW for instance does. The only other button that has an available intent as far as I can tell is search. This is my first java anything, so I wouldn't expect much out of it (it may not even work on anyone's phone but mine) but maybe someone with better android chops can use it as a proof-of-concept for what I was thinking. Install it and when you long press the search key you can choose "Search for Keyboard!"
One pretty major caveat... the swype soft cursor doesn't act anything like I'd wanted when I was envisioning this. There's no "execute" button that works like a click, so while you can use the soft arrows to select links it's not gonna do you much good. Also there's no way to effectively use "select text" in the browser. Concept 2, if I ever get around to it, would probably be more like a replacement touchpad area below the current application window.
i would like to see an app to remap long press menu on my i9000, anyone has success? thx
Another reason to ditch Samsung firmware and use AOSP-based ROMs, like CyanogenMod or MIUI.
FYI, nearly every "ROM" made for Galaxy S phones are Samsung firmware. They're not built from source like ROMs for other decent Android phones, they are just original Samsung builds being modified like nuts. And they use the same Samsung framework (though usually customized for themes and removing of annoyances like battery-full popup), and usually still include most of Samsung's stupid fixes that make their Galaxy S system software the most different in structure compared to any other Android system.
By using AOSP firmware like CyanogenMod and MIUI, these problems (like menu-button keyboard binding getting screwed up by Samsung) don't exist, because they were never present in official Android release. When problems do come up for AOSP, they get fixed quick because the source code is actually available.
Summarized process of development:
Samsung-based ROMs: What's broken or runs like ****? Try to fix it. Hack hack hack, hope it works, if it fails try again. Submit to XDA
CyanogenMod (in general): If there is a problem, try to fix it. Write code, build, test. Make sure it works before putting it in "stable" branch. After that think of brand new useful feature to implement, code it, bug test a lot, request it to be used in official releases or just make your own CyanogenMod-based ROM with your own enhancements, like BiffMod for the HTC Dream.
Btw, the reason why Samsung put this keybind is because the original international Galaxy S doesn't have a dedicated search key, so they set the search function up with the menu button. Our problem is that Samsung was a lazyass and forgot to change back that binding to the original for the Vibrant, which does have a dedicated search button and doesn't need the menu binding to search.
But aosp roms have other problems like poor 3d performance and no gps/compass. If the issues get worked out, I suspect many devs will be switching to aosp builds.

The useless "Search" soft key.

Any apps to make it open something else?
Thanks.
there are plenty
quicksettings
quickdesk
handcent sms
are a few off the top of my head
i used to have a bunch more, but i have since uninstalled after trying nearly all the apps i want to try
(these will allow you to launch them by long press. i dont know if you can replace the short press)
Pretty sure short press is not easily changed. With froyo though longpress opens Google voice commands.
Sent from my SAMSUNG-SGH-I897 using XDA App
Nice.
Thank you.
id be interested in a kernel or rom that would allow this to be changed. long press on menu opens search so why a seperate key that can be usefull as something else? can any of those apps change the short press? ive only seen long press on search and on home.
I use visual task switcher and assigned the long press of the search key to bring up a list of currently running apps. Pretty handy.
I installed "screen lock" and assigned it to screen lock to take some stress off the power button.
I don't remember where, but I found a post somewhere on how to change it, short press on mine opens camera.
Button Shortcut in the market.
Sent from my Captivate.
Dani897 said:
id be interested in a kernel or rom that would allow this to be changed. long press on menu opens search so why a seperate key that can be usefull as something else? can any of those apps change the short press? ive only seen long press on search and on home.
Click to expand...
Click to collapse
AReynante said:
I don't remember where, but I found a post somewhere on how to change it, short press on mine opens camera.
Click to expand...
Click to collapse
wow, this is an old thread, for those interested dragon remaps the key as camera launch.
can be done in button remapper. also touch jestures can be mapped as keys in galay tuner.
for people who want to get custom and dont see the otions they want in button remapper, i think the key table is in /system/usr/keylayout/s3c-keypad.kl
this is good for fixing i9000 roms (partially) when no kernel is available for those who want to try samsung gingerbread
I like the long press for google voice search. Thanks for the idea.
If you end up flashing a ROM, CM7 has a way to change the search key in the settings menu
I took a look at the system/usr/keylayout/s3c-keypad.kl file but I'm having trouble figuring it out. Anyone know how to get more info on it? Would love to map QuickDesk to it
Dani897 said:
wow, this is an old thread, for those interested dragon remaps the key as camera launch.
can be done in button remapper. also touch jestures can be mapped as keys in galay tuner.
for people who want to get custom and dont see the otions they want in button remapper, i think the key table is in /system/usr/keylayout/s3c-keypad.kl
this is good for fixing i9000 roms (partially) when no kernel is available for those who want to try samsung gingerbread
Click to expand...
Click to collapse
OK.. I have the issue, seems quite random with the Search button. Am wondering if it is related to moisture from my palm (right-handed)... not sure. Will have to try the rice trick.
Have also taken a look at the remapping option, but don't seem to have write permissions to any of the files, much less, what values to place in the file(s).
Any assistance would be appreciated on teh edit option.
BTW: Captivate with CM7.1 (and a functional GPS after a number of patch/fixes applied)
cm7 has this option.

[Q] Enable Software + Disable Hardware Buttons

So I have a general disdain for capacative buttons. I had planned to go into build.prop and add
qemu.hw.mainkeys=0
Click to expand...
Click to collapse
as well as go into /system/usr/keylayout/Generic.kl and comment out keys 158 and 172 (Back and Home respectively). This would disable the hardware buttons and enable software buttons. The problem is that every time I reboot, the system automatically restores the original versions of both files. Does anyone know how I could prevent this apparent safety function? It's proving far more of an annoyance than a benefit.
rougegoat said:
So I have a general disdain for capacative buttons. I had planned to go into build.prop and add
as well as go into /system/usr/keylayout/Generic.kl and comment out keys 158 and 172 (Back and Home respectively). This would disable the hardware buttons and enable software buttons. The problem is that every time I reboot, the system automatically restores the original versions of both files. Does anyone know how I could prevent this apparent safety function? It's proving far more of an annoyance than a benefit.
Click to expand...
Click to collapse
not until we have s-off. The emmc checks files against its last known configuration and discards any changes. Its been that way since the evo3d. its the same reason supercid wont stick also.
Well that's extremely disappointing. The buttons on here are driving me mad. Who thought it was a good idea to have the home button do three things not one of which is go directly to the homescreen? I was really hoping to get around them.
Any word on the S-Off progress?
rougegoat said:
Well that's extremely disappointing. The buttons on here are driving me mad. Who thought it was a good idea to have the home button do three things not one of which is go directly to the homescreen? I was really hoping to get around them.
Any word on the S-Off progress?
Click to expand...
Click to collapse
My home button goes to the home screen maybe you're holding your lips wrong
Sent from my rooted unlocked rommed HTC One, on the Sprint network.
benmatlock said:
My home button goes to the home screen maybe you're holding your lips wrong
Sent from my rooted unlocked rommed HTC One, on the Sprint network.
Click to expand...
Click to collapse
One press goes to whatever page of the launcher was last in use(not always a Homescreen, most often app drawer)
Double press goes to multi-task
Long press goes to Google Now.
There is no "always go directly to the homescreen" action associated with the home button.
rougegoat said:
One press goes to whatever page of the launcher was last in use(not always a Homescreen, most often app drawer)
Double press goes to multi-task
Long press goes to Google Now.
There is no "always go directly to the homescreen" action associated with the home button.
Click to expand...
Click to collapse
I find a 2nd press of home brings me all the way back home when app drawer, or non home blink feed was previously used...
tmuka said:
I find a 2nd press of home brings me all the way back home when app drawer, or non home blink feed was previously used...
Click to expand...
Click to collapse
So now you have two very different functions tied to the same action for a total of four actions associated with the Home button, none of which is "go directly to the Homescreen". What you present here is "Go to last page used in the launcher, then go to the default homescreen."
rougegoat said:
So now you have two very different functions tied to the same action for a total of four actions associated with the Home button, none of which is "go directly to the Homescreen". What you present here is "Go to last page used in the launcher, then go to the default homescreen."
Click to expand...
Click to collapse
Yeah, sorry, i realize i didn't answer your question. I hope you find the low level solution you're searching for, and that my tip helps you in the short term.
rougegoat said:
So I have a general disdain for capacative buttons. I had planned to go into build.prop and add
as well as go into /system/usr/keylayout/Generic.kl and comment out keys 158 and 172 (Back and Home respectively). This would disable the hardware buttons and enable software buttons. The problem is that every time I reboot, the system automatically restores the original versions of both files. Does anyone know how I could prevent this apparent safety function? It's proving far more of an annoyance than a benefit.
Click to expand...
Click to collapse
try flashing viper's zip here is the link
http://forum.xda-developers.com/showthread.php?t=2236849
HTC ONE
luisrod03 said:
try flashing viper's zip here is the link
http://forum.xda-developers.com/showthread.php?t=2236849
HTC ONE
Click to expand...
Click to collapse
No dice. The files are editable but have no impact.
Is there now any way to disable the hardware keys? I only want to have software keys (paranoid android 4.4 rc1)
Gesendet von meinem Nokia 3310 LTE

[Q] how to re-route Recent Apps hardkey to become the 'Search' hardkey

Hey all,
I'm coming from 2 previous Androids that had the 'Search' hardkey on the phone. I really liked it, esp when used in context in certain apps like Spotify (to filter in Spotify, seems like I have to scroll up 700 songs in my Playlist until the Filter area shows up instead of just pressing the Search key like how i did be4).
Is there any way that I can get rid of the 'Recent Apps' hardkey, and reroute it to 'Search'/Filter.
I see Turbo isn't rooted yet, so guessing I'd need a non-root app solution?
I think I tried one app 'All in One Gestures', and tried to re-route single or long tap on the 'Recent Apps' key to instead 'Search', but that didn't work way I expected it to (it only goes to the Google Now Search webpage, and not the context of pressing Search within an app [and not leaving the app]).
Any ideas?,
Arian
Thanks in advance
Almost positive this cant be done without root.
Darn, I'd also settle for an app that does gestures... so a gesture that triggers what the non-existent Search hardkey would have done. Not sure if thats possible without root.
I miss the search button too
I used to have the Evo 4G and loved the search button too. I was disappointed when (I believe) ICS phased it out and switched to the three button approach. While it won't search within apps, you can launch Google Now from anywhere by swiping up from the home button. In my experience, it's pretty finicky with the Turbo's capacitive buttons though.
Swipe Home Button
There's an app Called Swipe Home Button. It lets you do gestures to activate certain features. OP should look into it, it may be what you're looking for.
If you long press the home button, you'll get the Google search swiping up... Or what I use is nova launcher and a double tap gesture to search.
Hope this helps.

Categories

Resources