Thanks for your reply - You are able to switch the 
keyboard programmatically if you are the current IME token holder. My 
struggle is to request this change temporarily. 

On Thursday, February 14, 2013 5:45:35 PM UTC, Brill Pappin wrote:
>
> Unless things have changed recently, you can't programatically change the 
> input method because its too great a security risk.
>
> e.g. I could replace your keyboard with one that looked exactly the same 
> but captured everything you typed and sent it to my mob friends. In a day I 
> could have all your passwords, credit card numbers, security codes, love 
> letters, etc.
>
> By forcing you to ask the user to change it, it gives the user the 
> opportunity to decide if they trust the alternate input method.
> Of course, I'm not as up to speed on the most recent android versions, so 
> if things have changed, someone will point it out I'm sure.
>
>
>
> On Thursday, 14 February 2013 08:44:54 UTC-5, brandall wrote:
>>
>> My application has an inbuilt IME which the user has set to their 
>> default. In certain situations within my app (I won't bore you with which), 
>> I need to automatically switch to an alternative keyboard, but just for 
>> that one view - as soon as the user clicks on another view (or exits the 
>> application), it will return to my default IME.
>>
>> I've tried so many options to accomplish this, but enabling another IME 
>> in any way is making it the users default IME from then on.
>>
>> I have the imeToken, so switching to another IME is not a problem, but 
>> making this temporary is proving impossible.... Displaying the input method 
>> picker is a cumbersome method.
>>
>> Is this by design and am I therefore drawing a blank?
>>
>>
>>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to