Thursday, December 9, 2010

Re: [android-developers] Detecting the result of the enter key

Your IME should put the label on its enter key that the app tells it to.  If the app doesn't tell you anything to put there, don't assume you can figure out what is going to happen.

You could also look at the platform's LatinIME implementation to see the way it decides this (which should be based all on what the app explicitly tells it).

Re:

On Thu, Dec 9, 2010 at 7:18 PM, Brill Pappin <brill@pappin.ca> wrote:
Talk about fragmentation... it will be almost impossible for us app devs to write consistent applications if the base system apps don't always work the same way!

If you were writing this on iOS, well you couldn't do it at all.  I guess that does solve the Fragmentation Issue.

I mean...  come on.  There is very deep interaction between an IME and the application it is working with.  There is a very well-defined protocol for this that the two are expected to follow, but you kind-of need to expect that some apps are not going to do quite the same things.

And you have the source code for the platform's standard IME right there available to you, if you want to see what can at most be expected of you.

--
Dianne Hackborn
Android framework engineer
hackbod@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment