Ok, that is a little more clear... Neither you nor your links mentioned
anything about displaying a menu programmatically.  To answer your question
I would refer you to the activity class, as there is a method on there that
does just what you want:

http://developer.android.com/reference/android/app/Activity.html#openOptionsMenu%28%29

In the future, I would recommend taking a look at the docs to see if there
is a method that does what you want...  If you did and just missed this
method then you can disregard this last comment. :-)

Hope that helps,
Justin

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Wed, Jul 21, 2010 at 2:31 AM, Emmen Farooq <farooq.em...@gmail.com>wrote:

> Oh no not all  that wasnt the intention , I aplogiase if Any thing was
> akward . actually i m making an application in which I want to make an
> " Options Menu " show as soon as the app loads with out clickign the
> menu button in emaultor , so any help woud lbe appreciated , sorry for
> the previous imcomplete email ,
>
> many thnaks indeed
>
> On Wed, Jul 21, 2010 at 1:26 PM, Justin Anderson
> <janderson....@gmail.com> wrote:
> > You're going tohave to give us more info if you are expecting some kind
> of
> > help...
> >
> > If you are just wanting to tell us of your experience with android so
> far,
> > then thanks for the status update... :-)
> >
> > On Jul 20, 2010 9:49 PM, "Emmen Farooq" <farooq.em...@gmail.com> wrote:
> >
> > Hi , I tried the tutorials at
> > http://www.droidnova.com/how-to-create-an-option-menu,427.html
> > and
> > http://developer.android.com/guide/topics/ui/menus.html
> >
> > but in both cases the menu just doesn't appear , the app doesn't crash
> > though
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Beginners" group.
> >
> > NEW! Try asking and tagging your question on Stack Overflow at
> > http://stackoverflow.com/questions/tagged/android
> >
> > To unsubscribe from this group, send email to
> > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> > http://groups.google.com/group/android-beginners?hl=en
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Beginners" group.
> >
> > NEW! Try asking and tagging your question on Stack Overflow at
> > http://stackoverflow.com/questions/tagged/android
> >
> > To unsubscribe from this group, send email to
> > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> > http://groups.google.com/group/android-beginners?hl=en
> >
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to