Hi,

I'm having some difficulty with my menus. It works fine on my main
activity and i can select all the options etc etc. one of these
options is to start a subactivity (File browser). This works fine, the
sub activity loads and i can select the file i want etc.

Now though I want to be able to add a new menu to this subactivity
with totally different options. So I used basically the exact same
code as my start activity.

when i test the app however, no menu appears when i hit the menu
button in the subactivity... very frustrating as I can't see any
reason why not. in fact when i press the menu button nothing even
happens in log cat, so i'm assuming that it's not receiving the
instruction for some reason?

the subactivity extends listactivty and I'm using onCreateOptionsMenu
() and onOptionsItemSelected() to try and bring up the new menu.

does anyone have any thoughts as to why this isn't working, or
suggestions for workarounds?

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

Reply via email to