Apps automatically using different keyboards? - Android Software/Hacking General [Developers Only]

I know you can switch keyboards by tap-holding on the text field and tapping on the desired keyboard.
What I'm looking for is a way to switch the keyboards automatically based on the app being used. The only reason I want this sort of automation is because I'm using Google's ASE app, and the interpreter panel / interface doesn't allow switching keyboards. It does not pop up with the menu to do so after tap-holding.
Right now I have to switch to another app, switch keyboards, switch back to ASE, re-open the interpreter, and then start typing. In ASE I would prefer to use Android's native keyboard, while I use Swype for everything else.

Great question
I'm looking the same app too.
This why I prefer to use phone keyboard for sms' and mails but no for internet surfing, market, and other apps...
Is there any way to make app-keyboard association?

I'd really like to see this as well. I use one keyboard when writing text messages and another keyboard for all other applications, this due to no keyboard supporting all the languages I write in. An app that changes keyboard when you open/close a specific app would be great!

Related

Automatically Show Keyboard in Contacts Application

I only lookup contacts by using the keyboard in the Contacts application, and I really miss the way the Treo let me search contacts from the Today screen by using its full keyboard. I would like an application that gives me a keyboard with a lookup bar right in the Today screen, but since that's not available, can I at least get the keyboard to pop-up automatically without me having to open it up every time I open the Contacts application?
One way I see this feature implemented is by using MortScripts. Does anyone know of another/better way?
Thanks a lot,

Set different keyboard for each app

Is there a way to set a specified keyboard for each app?
For example I'd like to use phone keyboard for sms and qwerty keyboard for internet surfing and so on...
Impossible or not?
i dont think this is possible as of yet
maybe the right way is to develop an app which can dinamically set the desired keyboard each time...
any idea?

[REQUEST] features ...rom integration perhaps?

idea 1: on orientation change, set keyboard.
unfortunately, swype is unreasonable to try to use in landscape mode (for me, at least) and isn't that great as a tap-to-type keyboard. given the amount of people that love swype, would it be possible to somehow set swype to be the keyboard ONLY in portrait mode, but when switched to landscape mode, change the keyboard to another keyboard? maybe the htc ime or the droid x keyboard whenever it gets ported reliably?
idea 2: i use slidescreen (pro) and i love it. it keeps things organized and central for me so that i can easily manage everything. unfortunately i lose the benefit of the regular launcher features. how difficult is it to add a handler for a double-tap of the home button to launch [an app of your choice] adw.launcher?
ideas, comments, suggestions?
if nothing else...how can i go about figuring out how to implement it myself?
For number 2, try either quick desk, or power strip, in the market.

[IDEA] Keyboard switcher

It would be great to have a possibility to choose one keyboard for portrait mode (for example: swype) and the other for landscape one (for example: htc_ime).
Swype is great in portrait mode, but it sucks in landscape one (too large distances between the letters, swyping is slower than two hands typing, and a 'normal' typing using swype keyboard's layout is not so comfortable).
What do you think? Is it possible? The time to switch between keyboards wouldn't be too large? Memory utilization would be small enough?
Not sure if it is possible but I personally would also like the option to set the default keyboard per applications.
Why stop there? Would be great if there was a way to swipe through different keyboards in any app. Then you could just pick the best one for your current application. Of course the above feature would be great to have included with this.
Maybe some dev will pick up on this. Agree that it would be nice to have.
AverageCanadian said:
Not sure if it is possible but I personally would also like the option to set the default keyboard per applications.
Click to expand...
Click to collapse
+1. i would love to use the Graffiti keyboard for some of my medical applications as the swype keyboard is useless when it comes to hunt & peck typing of words that aren't in its dictionary.
pavulon said:
It would be great to have a possibility to choose one keyboard for portrait mode (for example: swype) and the other for landscape one (for example: htc_ime).
Click to expand...
Click to collapse
+1!! great idea dude!!
how bout swype on the stock 2.2 keyboard mixed with htc_ime compact qwerty ???? FLAWLESS . "BEST" Keyboard EVER !
but swype + stock 2.2 keyboard,, would be a great thing !
Google get ON THAT ! pls
agreed a mod would finaly help bring the greatness of swype in portrait and HTC_IME in landscape would be amazing...
only issues i see coming from this is how will the OS juggle the two keyboards ?
this makes me jealous of people that have a keyboard android phone.. they can use swype and the default keyboard and not worry about the landscape swype.
It's been asked/suggested many times but it's simply not possible.
In Android, you cannot change input method (keyboard) without user interaction for security reasons. Think about it this way; would you want a malicious app that mimics the exact look/functionality of your keyboard, except that it logs/steals your every keystroke and is automatically enabled as the input method without you knowing it?
The security is in place to prevent that exact type of situation.
Minor correction/clarification. A third party app cannot switch input method automatically. Which means, creating an app to let you customize what keyboard to use in what orientation/app/etc simply cannot happen. A keyboard can, however, programmatically switch itself to another keyboard on a given event. The only way this could ever happen would be for both keyboards you wanted to use to have this functionality built into it (ie, htc_ime keyboard knows to switch to swype when going from landscape to portrait and swype switches back to htc_ime in the opposite). Given that these are both closed source keyboards (granted, htc_ime mod rocks) this will likely never happen unless the developers themselves were to do it (especially since we can't post swype apk's anywhere).
From: http://developer.android.com/reference/android/view/inputmethod/InputMethodManager.html
A client application can ask that the system let the user pick a new IME, but can not programmatically switch to one itself. This avoids malicious applications from switching the user to their own IME, which remains running when the user navigates away to another application. An IME, on the other hand, is allowed to programmatically switch the system to another IME, since it already has full control of user input.
Click to expand...
Click to collapse
Is it impossible even on a rooted phone?
pavulon said:
Is it impossible even on a rooted phone?
Click to expand...
Click to collapse
Unless you are running a custom Rom that specifically removes or bypasses that type of security (which would be foolish IMO) then the exact same restrictions from my previous post apply. It would take some serious core changes for this to ever be possible.
I know it isn't exactly what people are requesting, but what about a shortcut it widget that brings up the manual keyboard selection dialog? You could then map that to the long press search action our something similar. Maybe have it stay resident in the notification area so you can change keyboards on the fly without having to be in a text dialog. My main use to switch is when I am in a terminal window, which requires me to close out and bring up the search dialog, long press, change input methods, go back to the terminal... Pain in the ass, since Swype can't delete in a Connectbot shell one typo means going through that process to switch to Better Keyboard so I can complete my task.
daveid said:
I know it isn't exactly what people are requesting, but what about a shortcut it widget that brings up the manual keyboard selection dialog? You could then map that to the long press search action our something similar. Maybe have it stay resident in the notification area so you can change keyboards on the fly without having to be in a text dialog. My main use to switch is when I am in a terminal window, which requires me to close out and bring up the search dialog, long press, change input methods, go back to the terminal... Pain in the ass, since Swype can't delete in a Connectbot shell one typo means going through that process to switch to Better Keyboard so I can complete my task.
Click to expand...
Click to collapse
This is possible. A third party app can trigger the choose IME dialog to pop up. I'll try to throw something together this afternoon. You could then use an app like bartender, quickdesk, etc to setup easy access to it.

Swipe not working for symbol and numeric keys

hello, how come swipe does not work for symbolic and numeric keys?
I also found that swpie does not work when running two apps side by side. Is this a bug?
Which two apps, which one is active and what style of keyboard are you using at the time?
As for symbols, I've never done swiping when using symbols so I have no idea. My first reaction to your initial question was "Is swipe using symbols even supposed to work at all? Given that swipe is a form of predictive text input how would the keyboard predict anything if you're not spelling words since it's all symbols?"
I can't use Swpie on numeric keys as well. Why swipe needs to be predictive? I use Samsung's virtual keyboard which came with the Note Pro? I don't remember the two apps. Will let you know latter.
hajime_android said:
I can't use Swpie on numeric keys as well. Why swipe needs to be predictive? I use Samsung's virtual keyboard which came with the Note Pro? I don't remember the two apps. Will let you know latter.
Click to expand...
Click to collapse
I'm going to go out on a limb here because I primarily use stock keyboards on my Nexus 4 and this tablet. It's been a few months since I've used other keyboards such as Swiftkey which also supports swipe input . . . In any event my understanding of swipe input based on the keyboards that I have used is this: the keyboard application analyzes the locations that your finger is stopping at and the directions in which your finger moves from each stopping point in order to predict the word that you are attempting to spell. The word that you are attempting to spell has to be in the dictionary of the language you have the keyboard application set to. If it isn't, the keyboard will not recognize the word and will therefore not predict it.
As an example; on both my phone and my Note Pro I have the keyboard language is set to English US. If I attempt to swipe the letters X-Y-L-E-C on the keyboard, which is just jibberish and not a real word in the english dictionary, the keyboard will not recognize this swipe pattern as a word and will attempt to predict something completely different (my tablet writes the word "clef" instead).
So what I'm saying is, how would the keyboard application know to string together a particular order of special characters?
Your answer is likely to be that it should know based upon where you pause with your fingers and you're right except that this isn't exactly how swipe was designed. Swipe is meant to allow you to minimize how long you need to pause. If you start at the letter T, swipe down rapidly to H and rapidly change direction towards E you need not stop exactly on the E key in order to have the keyboard predict the word "THE".
Thanks. I am using the stock Samsung virtual keyboard (US English) that came with the PRO 12.2. Trying to input things like muzzy996 using swipe does not work.
Yeah, it's working as intended.
What irritates me about the stock keyboard is unlike Swiftkey it does not seem to allow for addition of a word into the dictionary easily and there is no obvious way to manage the dictionary.
This is really bothersome for me because in my writing for work I often use technical terms that are not in the default dictionary and I use these terms frequently in documents or emails. The predictive nature of the keyboard does not seem to learn my frequently typed words well at all.
I've just switched back to Swiftkey and will probably try using that for a bit to see if I like it more than the stock keyboard.
Which version of SwiftKey of you use? Mine is SwiftKey Tablet 4.4.6.275. Swipe (called flow in SwiftKey) does not work. It seems that they have version 4. Worth to upgrade?
I was using version 4.4.6.275. I believe they unified versions now, I'm not using the one for tablets (which I believe is now marked as legacy in the play store). In any case I have switched back to stock. SwiftKey is buggy when multi window is used. Often times the keyboard vanishes when typing in a window. Hopefully they fix this but I'm not sure when they will, I see posts about it in their support website that are a few months old.
Sent from my SM-P900 using Tapatalk

Categories

Resources