[email protected] wrote: > That didn't help, but i've been playing with the code and actually > found my problem. > > I have an > @Override > public boolean onKeyDown(int keyCode, KeyEvent event) { > if(keyCode == KeyEvent.KEYCODE_BACK){ > //do stuff > } > > I just commented it out and the menu displays perfectly... So I guess > that method is stopping it detecting my menu key press.
You need to return(super.onKeyDown()) if you don't handle the KeyEvent. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

