[Q] Simple: Search Button for SearchableDictionary sample - General Questions and Answers

Hey guys, got a question,
I am working on my first app, a dictionary app, using the sample code for SearchableDictionary v2. I wanted to create a "SEARCH" button on the main screen instead of using the MENU button all the time.
QUESTION: How do I point the new search "button" I created to activate the "search" activity? I have tried placing onClick="something" using all kinds of strings but I just get a Force Close.
thanks in advanced!

Related

Keyboard shortcuts for OK n Start ???

hi guys,
Hope some one can tell me , how to create shorcuts like "Ok" and "StartMenu" on the keyboard.I think this feature would be very useful ,,, I am sure some body might be thinking about this already ?
And one more thing I heard is the American model touch pro At& T model has "ok" and startmenu keys on the keyboard, so if upgrade the uk model htc touch pro rom with AT & T rom , then will I be able to use the keyboard shortcuts ?
Expecting some answers from our pro colleagues....
vj
For me can be better to unbind the home/back buttons from their default functionalities and handle them with AEBPlus. So I can have 4 functions on each button without their preinstalled functionalities.
I am not sure you can unbound home. Anybody tried?
NLS said:
I am not sure you can unbound home. Anybody tried?
Click to expand...
Click to collapse
I am sure,that someone will hack it. It is just a software. Earlier or later...
Yes Home will be really important so yuo have a better use of the phone with a single-hand. Hope someone will fix this topic!
any more suggestions here with regards to home and OK buttons on KEyboard ?
Thought I will bump this , so that some one can answer to this really!
I'm using PQzII to map Ctrl+Enter → OK. You can also setup keyboard shortcuts for Start, Today, Alt+Tab, etc.
http://www.nicque.com/PQz/PQzII.htm
This remap the keyboard AND buttons or only the keyboard?
fhsieh said:
I'm using PQzII to map Ctrl+Enter → OK. You can also setup keyboard shortcuts for Start, Today, Alt+Tab, etc.
http://www.nicque.com/PQz/PQzII.htm
Click to expand...
Click to collapse
Thank you for the tip , I will try this and then I will report back.
PQzII it's a wonderful app, works nicely!
Thanks!
nice app, i will try this out as well
I realize that configuring PQzII might not be very obvious, so here's some hints on how I've set it up for myself:
Run PQzII_Setup.exe to open the options.
Set CTRL as CTRL. I want to use my FN key as ALT, so enter the key code 0xEC for ALT since there is no actual choice for FN (more info below):
Now I can use FN+[key] mappings to simulate a regular PC.
FN+S → Start menu
FN+D → Desktop/Today screen
FN+Tab → Alt+Tab to switch programs
PQzII doesn't list all available keys (such as FN) but you can use PQz_CHECK to figure out the keycode and then manually enter it into PQzII if it isn't listed. For example, the SYM key is 0xE6. Just be sure to exit PQzII before you run PQz_CHECK:
http://www.nicque.com/PQz/PQz_CHECK.htm
Note: there's some inconsistency in how the TPro and PQzII handle sticky keys differently, so you might have to press some keys twice. Also, it goes without saying that you might get problems if you map shortcuts that already have functions, like FN+W → £.
Hope that helps
Edit--
After some testing, it might not be such a good idea to use the FN key for mapping because the Raphael uses it as a double-sticky key (ie: press FN once for one symbol, press FN twice for FN-lock). Since PQzII treats function keys as single-sticky keys, it gets pretty buggy.
Thank you & one more request
I have also tried this software and I must say , this is a must app for every Touch Pro Users , you can literally run anything with this software.
Only one more hurdle left for me with htc touch pro, when I am using any 3rd party RDP clients like citrix ica client, input is not taking from the keyboard, its only accepting it from virtual keyboard, there is one more thread already opened for this. Hope someone can crack this one fianl issue for touch pro.
Thanks to all the users who suggested this app.
Crosslinkage
Although the current result of my little research project is limited to being able to define a different keycode for the back button for _every window class_, perhaps with some more work it could lead to actually being able to remap the back button properly.
The home button can be (slightly) tweaked using post messages as well, but more work is required.
See my post here:
http://forum.xda-developers.com/showthread.php?p=2644888#post2644888
remap "back" button in IE?
It's not perfectly matching the topic but I don't want to start a new thread since it also somehow matches the topic:
Does anyone know if it's possible to map the "back" hardware-key in PocketIE as "history back"? In Pocket Outlook for example you can use the back-button to return from an email to the folder list but in PIE if you hit the back-button you just minimize PIE.
Problem with install.
When i install the app to my Touch pro, i can see the icon, but when i launch the app, all it does is show a small white square next to the "START" (top left)
I have uninstalled itn and re-installed but with no success.
Any ideas guys
Regards
Rich
Jimllfixit said:
Problem with install.
When i install the app to my Touch pro, i can see the icon, but when i launch the app, all it does is show a small white square next to the "START" (top left)
I have uninstalled itn and re-installed but with no success.
Any ideas guys
Regards
Rich
Click to expand...
Click to collapse
tap on the small white square, select "Setup" in Kontext.
Or run the setup application located in Mein Gerät (my device) - Programme (programs) - PQzII - PQzII_Setup
How can i make PQzII launch 2nd today?
I can't seem to make it find the program.
EDIT:
Copy the .ink to somewhere within my documents (I used templates nice and out of the way)
Then add a shortcut to a program select view all files and find the shortcut.
Installed and couldn't get the app started. In fact it kinda hanged my Touch Pro.
So it would be better if it works with Fn , cuz we all use it more than any key ...
nobody suggest it to the programmer ?

Voice Application Widget That Can Open Shortcuts

This problem has been bugging me for quite a while and I would be tremendously happy if someone could help me with it.
I have script shortcuts on my phone (using GScripts) that do a variety of things, varying from opening my garage to turning off my computer. I also have Widget Locker installed so that the first screen I see is the widgets/shortcuts placed on the page.
What I want is a way to simply press a button and have it search and open up the desired shortcut. I've tried things like AppVoiceLauncher and Voice App Launcher (free), and they work perfectly with my device, but the problem is that they don't open shortcuts, only programs.
So does anyone know of a way to be able to long-press the search button or press a widget that would search and run my GScript scripts? I want to be able to drive and press a button on my phone and simple say "open garage" ("garage" being the name of the shortcut script) and work without any other gestures with the phone.
Does anyone know of an app that I may have overlooked that does this? Or possibly a workaround?
Thanks for any and all help.

[Q] Can you remove the soft /virtual buttons on ICS?

Hi All,
Long time lurker, first time poster. I have had a search around for the correct forum to post this in - sorry if it is the wrong one...
I have recently bought a Zenithink ZT-280 c91 for my Nan to get her on the internet, I am trying to simplify it as much as possible and have come across a problem that no amount of googling has seemed to clear up.
The pad has 4 hardware buttons (Options, Home, Back and Search), however as it has ICS on it, it also have the ICS virtual buttons.
I want to remove these virtual buttons but keep the task bar if possible, having 2 sets of buttons is likely to confuse the old dear.
All threads ive seen so far relate to disabling the hardware buttons but keeping the on screen ones? The task bar is useful and id like to keep it (or if there is an alternative option then that would be great if i can just scrap the buttons!).
I have tried replacing the home launcher - this hasnt done anything so far!
Any help would be greatly appreciated
goto settings >> launcher>>home screen>>there will be settings for that
else use other launcher such as adw,ss,360 launcher..
There are no settings for disabling the buttons, adding a new launcher doesnt make a difference, the buttons remain?
I found instructions on how to enable the virtual buttons on any ROM. From what I can see it should just be a case of using the word "false" instead of "true".
http://goo.gl/VAKqU
Good luck
I did see that one but was hoping there was something even simpler - guess ill have to bite the bullet and give it a shot if not - thanks
there is a youtube vid for this.. haven't tried it yet though
link since I can't get the YT link to work
I would like to thank you guys..
I was going to ask this question but found fortunately it already asked and answered..
Found another solution
I've came across this too tryin' to remove the Virtual button at the bottom of my Android device. I'm using Xperia Arc, with Viper Xperia v4.5 ROM, after that the Virtual Button appear and I kept accidentally hittin' on it.
I have found a tweak that worked for me, try at your own risk.
1. File Explorer with root access (I'm using ES File Manager)
2. Locate build.prop located at system/ (system/build.prop)
3. It is recommended you make a backup copy of build.prop to your SD card (long press options>copy)
4. Long press build.prop and choose to open with a Text Editor or Note Editor (for me it was File Editor)
5. Scroll all the way down and enter this line at the bottom - qemu.hw.mainkeys=1
6. Save and reboot
Hope this helps some of you

[App Request] Pick up with button

Hi @all,
I'm searching for a "simple" App, but can't find one.
Maybe a XDA Dev can create one!?!
In the winter it is sometimes tricky to pick up a call with swipingfrom left to right.
It would be great if there would be an app where it is possible to configure a button (e.g. 2 times Vol+) to pick up a Call.
Would be great if someone with Dev-Skills could make such an App.
Thank you in advance.
Greetings
UserX10

How to disable all Keyboard Shortcuts?

Hello World,
I have a SG Note, with Lineage 7.1 and a bluetooth keyboard attached to it.
It is *highly* unnerving, when I am in the middle of some other task and the browser pops uo, because I touched the wrong key combination by accident.
Yet even so I found the button in "Settings" where it lists the pre-defined app shortcuts, I can not find the option to change/disable the same.
I'd be grateful for any help here.
Masinissa said:
Hello World,
I have a SG Note, with Lineage 7.1 and a bluetooth keyboard attached to it.
It is *highly* unnerving, when I am in the middle of some other task and the browser pops uo, because I touched the wrong key combination by accident.
Yet even so I found the button in "Settings" where it lists the pre-defined app shortcuts, I can not find the option to change/disable the same.
I'd be grateful for any help here.
Click to expand...
Click to collapse
You've already created a thread on this topic here:
https://forum.xda-developers.com/android/help/how-to-disable-keyboard-shortcuts-t3967752
Do not create duplicate threads please.
Thread closed.

Categories

Resources