Every time the Optionsmenu menu opens (onCreateOptionsMenu (..) is called), I get these warnings:
"There is no keyboard for id 0"
and
"Using the default key: /system/usr/keychars/qwerty.kcm.bin"
I could not understand what they mean, does anyone know? I did not like this answer .
Here is the simple code that I use:
@Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); getMenuInflater().inflate(R.menu.optmenu_start, menu); return true; }
and optmenu_start.xml:
<menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/optmenu_prefs" android:title="@string/optmenu_prefs" android:icon="@drawable/icon_menu_prefs" /> <item android:id="@+id/optmenu_help" android:title="@string/optmenu_help" android:icon="@drawable/icon_menu_help" /> </menu>
android warnings keyboard
cody
source share