Dear Experts,

In one of my applications I programmatically open the context menu
when something is clicked in my MapActivity overlay. This works
perfectly under 1.x as well as on my 2.0 Milestone.  I've used
showContextMenuForChild() historically, but openContextMenu() does
that same thing.

As expected onCreateContextMenu() is called to build the menu and then
onContextItemSelected() is called when something is selected. So far
all is well.

The odd thing is that under 1.x the onContextMenuClosed() method is
called when I press the back key, but not so under 2.0. This confuses
states for my app since I need to know whether menu is shown or not - or 
maybe there is a way to know this that I have not (yet) figured out...

Is this a deliberate change or should I file it as a bug? Googling
comes up pretty dry (stuff that is over a year old).

Anyone with a 2.0.1 Droid that would care to test whether this has
already been fixed? (The ETA for Milestone 2.0.1 seems hazy still, but
it appears that at least one of my reported bugs has been fixed in 2.0.1 
event though it isn't flagged as such.)

                     Many thanks in advance / Jonas

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

Reply via email to