JMonkey and onCreateOptionsMenu

I want to use a standard Android options Menu with jMonkey. I am using the following code and i am just wondering why onCreateOptionsMenu never gets called if i press the options key.


public class Shield3D extends AndroidHarness {


public void onCreate(Bundle savedInstanceState) {


Log.v("asdf", "####ONCREATE");



public boolean onCreateOptionsMenu(Menu menu) {

getMenuInflater().inflate(, menu);

Log.v("asdf", "####OPTIONS");

return true;


public Shield3D() {

// Set the application class to run

appClass = "com.myclass.Shield§d";

// highest (best) egl config available on this device

eglConfigType = ConfigType.BEST;

// Exit Dialog title & message

exitDialogTitle = "Exit Shield3D App?";

[Rest of the Code snipped]