Hello James, I use the method System.getProperty in my J2ME apps to switch code blocks at run-time based on the platform. I see it exists in the Android API although I haven't tested what Strings are available and if they'll provide exactly the info you need. Hope this helps.
http://developer.android.com/reference/java/lang/System.html#getProperty%28java.lang.String%29 Steven Gores-Todd On Sun, May 9, 2010 at 4:40 AM, jamesc <[email protected]> wrote: > Hi > > I've recently got my hands on an X10, and have found that the Sony > Ericsson IME handles the EditorInfo.inputType flags differently to the > default Android IME and the HTC IME (i.e. anything > 0x0 results in > the IME displaying word suggestions, which I don't want). > > Given that the behaviour varies, I wanted to add some code checking > whether that particular IME was in use and so set the flags > accordingly. However, it appears that one cannot find out which IME > is currently in use (getEnabledInputMethodList() and > getInputMethodList() both return ALL the IMEs on the phone; well, it > does in the case of the X10). > > Does anyone have any suggestions as to how to identify which IME is in > use (or programmtically set the X10s IME to not display word > suggestions)? > > Cheers > > James > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > 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 post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

