[Q]Remap Search Button to Open App Drawer? - Android Software Development

Ive tried using both LaunchKey and ButtonRemapper but none seems to have an option to remap the search button open the APP DRAWER. Personally, i think theres no use for the search button when u have widgets and search apps. Its redundant.
Does anyone know of another app to do this? Or if this is even possible?

Bump. I would also like to see if this is possible.
Maybe somethis like this (bottom of first post under: Custom app launching)
I haven't tried it yet. But the idea seems simple.
Edit ramdisk to support custom script (some roms already have a blank script for this purpose)
Add an 'am start' command to the script. not sure what it should be.
I can launch home with 'am start -a android.intent.action.MAIN -n org.adwfreak/launcher/.Launcher' but im not sure how to tell adw to open the app drawer.
Then find a way to map the search key to that script.

Cm7 does this out of the box. Not sure if it needs to be an os level feature or if an app could pull it off.
Err nvm it does custom app launching but i don't see an option for app drawer
From something awesome

Ah. yes i see that now under cmsettings -> input settings
although im not sure if that makes it easier or not. it seems we would just need to add an option to the custom application menu to open the app drawer.

After looking at ADW source i don't think it is possible to open app drawer externally. It seems the showDrawer function is private and not listed in the manifest as an activity. So Unless there is an activity i don't know about: It's looking like this won't work.

bumping this to see if anyone else figured anything out

This can be done, but you need to be running CM7 and get an app called alt drawer. Set the search key to open the app and you get your app drawer. Also, on Moto phones there is an app called home smack that lets you remap long search press to an app. Also, there is an app called launchkey that lets you set long search to different things. Another option is an app called button remapper that lets you remap a key to something else. Most of these options require the alt drawer app or another app that opens the app drawer.

mjones1052 said:
This can be done, but you need to be running CM7 and get an app called alt drawer. Set the search key to open the app and you get your app drawer. Also, on Moto phones there is an app called home smack that lets you remap long search press to an app. Also, there is an app called launchkey that lets you set long search to different things. Another option is an app called button remapper that lets you remap a key to something else. Most of these options require the alt drawer app or another app that opens the app drawer.
Click to expand...
Click to collapse
great idea, on this right now...

Related

{REQ} Hold Search Opens Camera {REQ}

With all the made skillz here at XDA.
Do you think someone can whip up an app that when you hold the Search button, instead of picking voice search, it can open up the Camera app?
gracias
Krad said:
With all the made skillz here at XDA.
Do you think someone can whip up an app that when you hold the Search button, instead of picking voice search, it can open up the Camera app?
gracias
Click to expand...
Click to collapse
I believe long presses are handled by the kernal so it should be possible but I am not sure how.
Currently, long press on the search opens google talk...maybe long press on the menu or something?
Good idea though
Sent from my SAMSUNG-SGH-I897 using XDA App
You get the option for powerstrip or chompsms to take over that button.
I would love an app to launch whatever you want, like the camera or the phone app.
Surely this should be super easy to make
Sent from my SAMSUNG-SGH-I897 using XDA App
I would like it to be used for voice input in emails/texts. The tiny mic button is hard to hit on the Android keyboard.
I use LaunchPro and setup the app drawer swipe up gesture to open camera, works well for me.
great suggestion.. using that now
Use the android market app called 'Button Shortcut' i made the long-press search open camera instead of google search.
saint168 said:
I use LaunchPro and setup the app drawer swipe up gesture to open camera, works well for me.
Click to expand...
Click to collapse
Not seeing how to get to the swipe features. How can I do that?
Sent from my SAMSUNG-SGH-I897 using XDA App
I don't know about launcher pro but I do exactly the same in ADW. I took LP off after I discovered this in ADW, I never saw this in LP, did I miss it?
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Press and hold one of the apps in the app drawer until the menu pops up. Select 'Swipe Gesture Action'
justflorin said:
Use the android market app called 'Button Shortcut' i made the long-press search open camera instead of google search.
Click to expand...
Click to collapse
I took the advice. Since I already had handcent SMS assigned to the button and voice search had been assigned before that I got a nice little menu out of it. I think its more useful w/o selecting a default
Sent from my SAMSUNG-SGH-I897 using XDA App
justflorin said:
Use the android market app called 'Button Shortcut' i made the long-press search open camera instead of google search.
Click to expand...
Click to collapse
Thanks! That application did the trick 8)
xfosx said:
Thanks! That application did the trick 8)
Click to expand...
Click to collapse
button shortcut worked once for me and then did nothing. uninstalled. Anyone got anything better?

[Q] Does anyone know the search button long press intent?

does anyone know which intent gets broadcast when the search button is long pressed on the Droid X? It isn't the standard android.intent.action.SEARCH_LONG_PRESS that gets sent on most phones...
I believe HomeSmack catches this.. might be worth contacting the dev through the market and asking.
EDIT:
Just noticed dev has a thread for the app here:
http://forum.xda-developers.com/showthread.php?t=827288
Excerpt:
[email protected] said:
HomeSmack allows you to change your default Home or default Long-search app. It's similar to Home Switcher or Home Manager, but uses a method of selecting the default that works well with Android 2.2.
HomeSmack also has some special Motoblur features (that need more testing, hence posting to the Droid X subforum)! On rooted phones it lets you change the double-tap app to any app on your phone (QuickDesk or Powerstrip!) and it lets you install a patched VoiceSearch APK that:
1) Sends the standard android SEARCH_LONG_PRESS intent letting you select any normal long-search app.
2) Still lets you select VoiceSearch as the long_search app or use it normally from Launcher
3) Patches the security flaw noted here (http://www.androidcentral.com/droid-2-bug-allows-anyone-make-calls-passcode-screen)
Click to expand...
Click to collapse

[Q] True silence widget in launch menu?

Is there any way to get a widget to show up in launch menu?
Or maby how to make a "shortcut" to the widget to make it show up in the program menu as a regular program. I guess i would be able to "select" it in the long press search button launch menu.
Maby someone know of an application that does the same as the "total silence" widget. That will say, turn off ALL sound when executed without asking any questions and then set all soundsettings back to previous setting when run again?
Widgets arent meant to be launched like apps..
Sent from my HTC Desire
That helped alot. :-;-)
Sent from my GT-P1000 using XDA App

Recent Apps List - Question

Press the home button brings up a list of recent apps... simple and straightforward. However I would like to know if there is a way to disable that function or prevent specific apps from appearing in the list.
Any ideas??
It's a built in feature into Android, not (Im)possible. However you'd probably have to dog thru the code and edit it heavily.. If it'd even work that is.
Sent from my HTC One_M8 using XDA Premium 4 mobile app
Notrega said:
Press the home button brings up a list of recent apps... simple and straightforward. However I would like to know if there is a way to disable that function or prevent specific apps from appearing in the list.
Any ideas??
Click to expand...
Click to collapse
Xposed Installer + App Settings module
-> find the app you want to mask in the recent apps
-> Enable modification to the app
-> Show in recents -> Disable
You can do a lot of stuff with Xposed :good:

Is there a way to see recent apps and switch between them?

Is there a way to see recently launched apps and switch between them?
This function should be definitely included in default system. So useful!
Can't test it now but try it with long pressing the home button
Huberer said:
Can't test it now but try it with long pressing the home button
Click to expand...
Click to collapse
that goes to the twitch thingy unfortunately.
xd4d3v said:
that goes to the twitch thingy unfortunately.
Click to expand...
Click to collapse
Ok, didn't know. Thank you
I had the same idea but did not work lol.
I am not sure what you are looking for exactly, but the list of apps on the original launcher is always reorganized to show the most recently used apps first. Or are you using a different launcher?
Sent from my SM-N900V using XDA Free mobile app
The best way of doing this is with LMT Launcher using it's Pie feature. Install it, and set up an item as Activity -> System UI -> com.android.systemui.recent.RecentsActivity. This gives you the recent apps, which is normally non-accessible on the shield. You can then add a few others as you see fit. I've added the power menu for example, which gives you the full power off, reboot and sleep options. Not found that anywhere else. All works best with a mouse, so you're best using an alternative launcher like HALauncher. But I suspect most people are doing that anyway given how restricted and awful Leanback is.
It can be downloaded here.
this is like the third or fourth thread about this

Categories

Resources