Re: [android-developers] Menu always Displayable

2010-01-05 Thread Wayne Wenthin
I'll second that.  Its actually easier than you think.

On Tue, Jan 5, 2010 at 9:12 AM, Guna  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: android-developers@googlegroups.com
> [mailto:android-develop...@googlegroups.com] 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 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
>
>
> --
> 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
>



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

RE: [android-developers] Menu always Displayable

2010-01-05 Thread Guna
Nithin,

If you want to display Menu always means, just design your own layout same
like menu and use that..


Guna

-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] 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 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

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