Hi all
I am a beginner and I am trying the Notepad tutorial ( exercise 2 to
be precise).

In this onCreateContextMenu() is used to show delete menu. But when I
select a note and press "Menu" , onCreateContextMenu()  is not called;
instead onCreateOptionsMenu() is called.
The tutorial suggests calling registerForContextMenu(getListView());
in onCreate().
 But still it is not called.

I tried getListView().setOnCreateContextMenuListener(this);
still not use.

Has someone seen this issue? Any suggestion what can be wrong ?

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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