onCreateContextMenu() is being used for performing a "long- clicked" (at least 2 seconds) on the item.
-- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 18, 12:06 am, Belik77 <[email protected]> wrote: > Hi all, > > I am new to android developing. I am very pleased with the tutorials > that google add to the developer site. it is very clear and easy to > learn. > > I am now going trough the Notepad Tutorial and I have problem with the > second exercise. Notepadv2. > > after i have done all the steps, and run the application, i do not see > the "Delete Note" menu item. I have only the "Add Note" menue item. > (it does not work even in the Notepadv2Solution project!) > > Also, I do not understand why we use the method: "public boolean > onCreateContextMenu" to add the "Delete Note" menu item whereas we > used other method to add the "Add Note" menu item. > > I have tried to debug the application and noticed that basically the > application does not enter into the "public boolean > onCreateContextMenu" method and thus probably, it does not add the > "Delete Note" menu item. > > Thanks allot for your help. > Eli. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

