As my phone ( motorola droid/milestone ) has a hardware keyboard,
I want to use (input method) IME A when the phone is in portrait
( keyboard closed) mode,
and use IME B hen the phone is in landscape( keyboard opened ) mode.

However, this function is not provided by android system itself, so I
want to write a program to solve this problem.
Here are two methods that I think can help to solve this problem, but
I don't know what functions/API that I should use to do this.

1). Write a program as a background service, detect the orientation
change, and switch the default/current IME
( but i don't know how to switch the IME )

2). Write a new IME, that can import/use IME A when the phone is in
portrait , and import/use IME B when the phone is in landscape.
( but i don't know how to import the old IME as my IME )

Thanks
-- 
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

Reply via email to