Re: [android-beginners] Duplicate case problems

2010-06-25 Thread Justin Anderson
I meant when you have them in the same switch statement... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On

Re: [android-beginners] Duplicate case problems

2010-06-25 Thread Justin Anderson
*> 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

[android-beginners] Duplicate case problems

2010-06-25 Thread Varun Khanduja
Hello All, I am trying to work on the notepad tutorial on the Android website. I tried incorporating a menu function to see how I can try to use mutiple functions. I keep getting errors of Duplicate case for the switch cases like Menu_1, insert_ID. Does any one knows what are some of the things I