BuckeyeDroid wrote: > Is it possible to populate an activity menu at startup? For example, > reading from say a feature database at startup and only display those > features that are currently active in an activity menu?
Your onCreateOptionMenu() or onPrepareOptionMenu() can tailor the menu as needed based on your "feature database". The difference between the two is that onCreateOptionMenu() is only called once per activity instance, whereas onPrepareOptionMenu() is called every time the user presses the MENU button. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en