Search button? - Windows Phone 7 Software Development

Guys
Has anyone found a way to intercept the search button in thier app so that we can bring our own search up
I'm writing an panoramic app and would love for the user to be able to hit the seach button, like we can in market place to being up a context sensitive search!!
It seems madness that we are not allowed to use this button
Thanks in Advance

cameronm said:
Guys
Has anyone found a way to intercept the search button in thier app so that we can bring our own search up
I'm writing an panoramic app and would love for the user to be able to hit the seach button, like we can in market place to being up a context sensitive search!!
It seems madness that we are not allowed to use this button
Thanks in Advance
Click to expand...
Click to collapse
Doesn't look like it's possible (which kinda sucks).
http://stackoverflow.com/questions/2796304/windows-phone-7-search-button

Related

[Q] How to change the search key's long press functionality?

Soo, I've searched and searched and I can't seem to find the answer to this, or the keywords i'm using are too generic, anyway..
What I'd like to know is it possible to change the functionality of the EVO's search button?
When I long press the search button i'd like to have Bing's voice search app to come up... I have the Bing app already installed on the phone....
thanks..
What ever is being used now... Go to manage applications.. Find tyre search app that opens now and clear defaults. Then press the search button and you should be able to change it.
Sent from my PC36100 using XDA App

[Q] Mapping Voice Input to a Quick Key?

Hello everyone , got a question for you that I can't find an answer to.
I'm trying to map the Voice Input to one of the Quick Keys but I cant seam to be able to find a way to do this, The way I have around it atm is to have installed UberKeyboard which puts a button on the screen that I can press but i would love to be able to use one of the hardware quick keys to do this (Might as well use them for something!)
So my question is, is there a way to map the Voice Input to a Quick Key?
Thanks in advance
KarlosTheJackal said:
Hello everyone , Is there a way to map the Voice Input to a Quick Key?
Click to expand...
Click to collapse
I don't know if it's possible, but you could take a look at Tasker.
see: http://tasker.dinglisch.net/index.html
It's capable of remapping buttons to other applications.
HLeenders said:
I don't know if it's possible, but you could take a look at Tasker.
see: http://tasker.dinglisch.net/index.html
It's capable of remapping buttons to other applications.
Click to expand...
Click to collapse
I have tried Tasker & its just complicated! Goes straight over my head haha
have you tried mapping the voice search app to one of your quick keys?
also i believe if you longpress the search button it will bring up the voice input.
droidsmith said:
have you tried mapping the voice search app to one of your quick keys?
also i believe if you longpress the search button it will bring up the voice input.
Click to expand...
Click to collapse
Tried that & all it does is just use Voice Search. Thanks for the idea though

Where's 'Menu'?

Looking at the softkeys, where is the Menu key? I see Home, Back, and the new Multitasking key, but no Menu. How can this be? The iOS method of integrating all menu options into the application UI is terrible, and what about apps made before ICS? Lack of a Menu key would make them unusable. I must be missing something here, but I can't see what it might be.
A virtual menu button appears in the form of 3 dots. It can be seen in this photo.
Tung_meister said:
A virtual menu button appears in the form of 3 dots. It can be seen in this photo.
Click to expand...
Click to collapse
Nice catch. Was wondering about that.
Menu items are represented by the 3 vertical dots at the top right corner of apps.
The indication is that new apps should no longer hide their menus, but rather make them intuitive to access in the app's UI.
For legacy apps, we'll probably see a menu button of some type appear along with the 3 softkeys at the bottom.
On my Honeycomb tablet either a button is in the top right corner or another is added to the bottom when menu is needed... I'm guessing HC is a good example of what we'll be getting, and if so I look forward to it
Thanks so much for a useful thread. I was actually wondering about that myself. Glad to know its non-obtrusive and clean
Sent from my GT-I9100 using xda premium
You have lost the search button though. Not all apps will handle this well... I had to tweak an app I was writing because of this (luckily found fairly early during testing on Honeycomb).
Of course for most apps search isn't useful - probably why they removed the dedicated key.
TonyHoyle said:
You have lost the search button though. Not all apps will handle this well... I had to tweak an app I was writing because of this (luckily found fairly early during testing on Honeycomb).
Of course for most apps search isn't useful - probably why they removed the dedicated key.
Click to expand...
Click to collapse
The idea is if the app needs search in order to function properly, you just put the search button up in the menu bar, just like they're doing with settings buttons.
Otherwise, the google search button is at the top of every homescreen now.
martonikaj said:
The idea is if the app needs search in order to function properly, you just put the search button up in the menu bar, just like they're doing with settings buttons.
Otherwise, the google search button is at the top of every homescreen now.
Click to expand...
Click to collapse
The menu button happens automatically (technically, since 2.3 android has called onCreateOptionsMenu at activity startup so it knows you need it already).
There simply is no search button in Honeycomb/ICS - you have to stick it on the options menu, the action bar*.. somewhere the user can reach it. That needs code (not much.. respond to 'search' in the options menu by calling onSearchRequested()).. existing apps will simply lose that function if they run on ICS assuming a button exists.
We're not talking about a lot of apps here.. Not much point in a search function in 'Angry Birds' for example. Just something to bear in mind when developing a new app or trying to work out if your favourite app will work without issue on ICS.
Home screen search is totally different.. that searches the global search (emails, contacts, etc.). Different class of app entirely.
* The honeycomb search widgets are really flexible, but of course not available unless you break compatibility with <3.0.
TonyHoyle said:
You have lost the search button though. Not all apps will handle this well... I had to tweak an app I was writing because of this (luckily found fairly early during testing on Honeycomb).
Of course for most apps search isn't useful - probably why they removed the dedicated key.
Click to expand...
Click to collapse
There are already quite a few phones out there without a search button. My almost 2 years old X10 doesn't have a dedicated search button and i never missed it. The search function is bound to long-press menu at the x10. Given the fact that ICS has a dedicated task switcher button, they could bind the search to long-press home for example. Just an idea though
Sent from my X10i using XDA App
qwer23 said:
There are already quite a few phones out there without a search button. My almost 2 years old X10 doesn't have a dedicated search button and i never missed it. The search function is bound to long-press menu at the x10. Given the fact that ICS has a dedicated task switcher button, they could bind the search to long-press home for example.
Click to expand...
Click to collapse
Hmm.. news to me - I've never seen an android phone without one. Lucky I was doing tablet compatibility testing then
There will probably also be custom roms that put it back (since a custom rom can do anything it likes with the buttons.. change their apparence, colour, hide them completely, make them dance up and down..).
TonyHoyle said:
Hmm.. news to me - I've never seen an android phone without one. Lucky I was doing tablet compatibility testing then
There will probably also be custom roms that put it back (since a custom rom can do anything it likes with the buttons.. change their apparence, colour, hide them completely, make them dance up and down..).
Click to expand...
Click to collapse
The Galaxy series in general (SGS1, SGS2) do not have a dedicated search button. They have just the menu, home and back buttons. However search is bound as a long press to the menu button which I guess won't be possible anymore. Haven't really found search to be that vital (maybe because I don't want to long press the menu button just to bring it up when I can search in other ways)
Since it's purely software, I know for a fact someone will mod in a search key.
Sent from my Samsung Galaxy S3 using XDA Ultimate App
That would be pointless. When search is available, the search box will appear in the menu bar of the app.
Sent from my Nexus S using XDA App

PRO DEV? can you make search button as power button?

DEVELOPERS OUT THERE i hope someone will make our xperia play search button as power button and power button as search button..
i think its a nice idea..
Why?
Jordanooo said:
Why?
Click to expand...
Click to collapse
much easier to use power button if they change it to search button
I actually agree on this, my power button is quite fiddly to press, and having it at the front would solve that. But there is also the matter of accedently pressing it.
for you
Why would you need that may I ask?...The search button is called search button for the function of using search. Is this your real idea/question or your power button is not functioning and you need to use an alternative?
MacromatiX said:
Why would you need that may I ask?...The search button is called search button for the function of using search. Is this your real idea/question or your power button is not functioning and you need to use an alternative?
Click to expand...
Click to collapse
ive been in LG optimus one last time..
my search button is useless and now ive got this XPERIA PLAY and AGAIN
my search button is useless and i dont need this becoz i dont use it..
thats why i ask this if someone will make it
becoz power button is far to press
Here is how you do it
Download RootExplorer or a similar app that can edit /system/
Navigate to /system/usr/keylayout/
Open keypad-zeus.kl as a text file
Near the bottom, change
Code:
key 217 SEARCH
to
Code:
key 217 POWER
Save the changes made, and reboot your phone.
Be careful, this also makes the search button the screen lock button if I'm not mistaken.
Sent from my R800i using XDA
Have you had success with this working?
Also in regards to the keymapping, don't you need to change the power button to search and the search button to power...what's the key code for the power button?
Sent from my R800x using xda app-developers app
Do you can also map the search button as recent apps button in this way?
Sent from the best gaming phone in the world.
Xcited android user said:
Do you can also map the search button as recent apps button in this way?
Sent from the best gaming phone in the world.
Click to expand...
Click to collapse
Yes. That is what I have set for mine.
Leraeniesh said:
Yes. That is what I have set for mine.
Click to expand...
Click to collapse
How?
Sorry for my bad English. It's not my native language.
Xcited android user said:
How?
Sorry for my bad English. It's not my native language.
Click to expand...
Click to collapse
The easiest way would be to flash this

[Q] Remap home soft key long-press?

Couldn't find anything about this anywhere, so I'm starting a new thread.
Is there a way to remap what application loads when long-pressing the home soft-key? I've remapped what app loads when holding the volume-up key with the screen-off, but I'm looking to have a specific application run when holding the home button soft key, instead of the default "google" option that appears when doing it on the stock ROM.
Any help would be greatly appreciated, as would the monitors moving this thread to its proper location if it should belong somewhere else :good:
We'll need root.
I wish OEMs would include this level of customization by default. I wouldn't mind having my home button long press either launch my camera or the App Swap app and have my recent button long press switch to the last app.
Sent from my LG-H811 using Tapatalk
partylikeaninjastar said:
We'll need root.
Click to expand...
Click to collapse
Thank you. I was hoping there might be a workaround (like KeyPlus) or an app like Home2Shortcut which I used on my SGS5 to accomplish that change. Oh well. Guess I'll just keep doing what I've been doing: patiently waiting for root to drop whenever the dev's involved feel it's ready! Thanks for the quick reply!

Categories

Resources