Meaningless Drivel is fun!
The moose likes Android and the fly likes Problem with ContextMenu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Problem with ContextMenu" Watch "Problem with ContextMenu" New topic

Problem with ContextMenu

Bilal A.Siddiqui
Ranch Hand

Joined: Feb 22, 2010
Posts: 31

Hi All

I am unable to import


my android sdk version is

SDK platform Android 2.1, API 7, revision 1

Margaret O'Sullivan

Joined: Feb 07, 2011
Posts: 1
Hi Bilal,

I have the same problem but with android 2.2.

Did you resolve this issue? If so could you please let me know, it would be much appreciated.

Peter Johnson

Joined: May 14, 2008
Posts: 5852

Is the first one a typo? Did you mean:

android.view.MenuItem (no dot between Menu and Item)

The second one is not in the Android SDK. I would also suspect a typo but I found several old tutorials that use it. Perhaps it was from an earlier version and is no longer present. I see OnCreateContextMenuListerner, but not OnPopulateContextMenuListener.

JBoss In Action
I agree. Here's the link:
subject: Problem with ContextMenu
It's not a secret anymore!