I'll second that. Its actually easier than you think. On Tue, Jan 5, 2010 at 9:12 AM, Guna <[email protected]> wrote:
> Nithin, > > If you want to display Menu always means, just design your own layout same > like menu and use that.. > > > Guna > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Nithin > Sent: 05 January 2010 20:57 > To: Android Developers > Subject: [android-developers] Menu always Displayable > > Hi, > > I want options menu should always display, when I open my > application, for that I put openOptionsMenu(), in onCreate() of the > launcher activity. But its showing exception. > > --android.view.WindowManager$BadTokenException: Unable to add window > -- token n > ull is not valid; is your activity running? > > Then I put openOptionsMenu() in onResume(), still its throwing > exception. > > Any idea how to make menu displayable always. > > Nithin > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Writing code is one of few things that teaches me I don't know everything. Join the Closed Beta of Call Girl Manager http://www.fuligin.com/forums
-- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

