Was advised to post this on the mailing list, thought this would be the most suitable one.
http://d.android.com/guide/tutorials/notepad/notepad-ex2.html Step 2 part two shows: public boolean onCreateContextMenu(Menu menu, View v ContextMenuInfo menuInfo) { super.onCreateContextMenu(menu, v, menuInfo); menu.add(0, DELETE_ID, 0, R.string.menu_delete); } The documentation ( http://developer.android.com/reference/android/app/Activity.html#onCreateContextMenu(android.view.ContextMenu,%20android.view.View,%20android.view.ContextMenu.ContextMenuInfo) ) shows this method as not having a return type (public void). Secondly, there is a comma missing after "View v" This is also duplicated in the NotepadCodeLap.zip file for the project. Apologies if I have made a mistake / misunderstood something and there is not a problem! Martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" 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-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
