*> Does any one knows what are some of the things I could do to avoid these errors please?*
Yes... don't have duplicate case values. Your problem lies with this line: public static final int INSERT_ID = Menu.FIRST; So when you include INSERT_ID and Menu.FIRST in the same case statement they have the same value. ---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ---------------------------------------------------------------------- On Fri, Jun 25, 2010 at 4:38 PM, Varun Khanduja <varunkhand...@gmail.com>wrote: > INSERT_ID -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android 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