The return type should be void, not boolean. See: http://developer.android.com/reference/android/app/Activity.html
On Sat, Apr 11, 2009 at 8:06 AM, streetdestroy...@gmail.com <streetdestroy...@gmail.com> wrote: > > > public boolean onCreateContextMenu(Menu menu, View > v,ContextMenuInfo menuInfo) { > super.onCreateContextMenu(menu, v, menuInfo); > menu.add(0,DELETE_ID, 0, R.string.menu_delete); > > > } > > hi i did the notepadv2-tutorial and at this method eclipse shows me an > error: that this method in the type Activity is not applicable for the > arguments(menu, v, menuinfo). what's here the problem? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---