I am trying to understand and resolve and error I am seeing in the Eclipse workspace log while working on an Android app that implements an IME. I am new to Android and Ecli
This is a bug in android.inputmethodservice.KeyboardView
The failing code is
public KeyboardView(Context context, AttributeSet attrs, int defStyle) {
...
mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
...
}
It should be wrapped in isInEditMode()
check to skip getting audio manager during layout editing. Strange but I cannot find any issue reported in the Android bug tracker!